Quantcast
Channel: SQL Server Analysis Services forum
Viewing all 14337 articles
Browse latest View live

Error when adding new fields to the SSAS tabular model

$
0
0

Hi guys,

After creating new database columns I'm having this error when I try to add them into my SSAS model:

I can see the field in the table preview and when I press Ok after checking the new column, it fails after a minute or so:

OLE DB or ODBC error: Login timeout expired; HYT00; A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Named Pipes Provider: Could not open a connection to SQL Server [5]. ; 08001.A connection could not be made to the data source with the DataSourceID of '7eabfe4f-0213-41a0-9b74-4edc962d7514', Name of 'DataWarehouse'.An error occurred while processing the partition 'Ramo_b51dd40e-8330-4d9a-b52f-ded310e50ccb' in table 'Ramo_b51dd40e-8330-4d9a-b52f-ded310e50ccb'.The current operation was cancelled because another operation in the transaction failed.

Any ideas of what might be causing this and how to overcome it?

Thank you



Well thats nice! 'column' argument cannot be null parameter name:column

$
0
0

All I did was change the names on two measures in a measure group, tried to refresh the DSV and ka-blooey!

PERFORMANCEPOINT KPI WEIGHT FROM DATA

$
0
0

hi to all,

i have a fact table that includes TARGET , ACTUAL and WEIGHT values. when creating scorecard at dashboard designer, weight values of KPIs must be given manually. there is a weight textbox on KPI settings and we're writing the value of it manually.

is there another way to give KPI weight dynamically (eg. from data) ?

Any comment will be helpful for me.

How to set Attributes in sort order for a dimension in SSAS cube?

$
0
0

Hi,

I have a dimension like Districts, Under that 2 Attributes are there i.e,District ID and Districts. When i drag Dimension "Districts", in OLAP grid it come District ID first. But i want Districts to drag first. Can you please tell to me how can we sort Attributes(District ID and Districts) for a dimension.

Thanks in advance.

Naga Raju Gs


Nagaraj

Custom Grand Total in SSAS

$
0
0

Hi All,

I have a requirement where I need to show the maximum value in grand totals but for the dimension members the same measure has to sum.

For ex: lets say I have a measure called Test and this is a base measure. The aggregation type set  to this is SUM.

For this same measure the grand totals should not show the sum instead it should show the maximum value of the dimension members which is being analyzed across.

Please let me know if this can be achieved.

Thanks and regards,

Ram


Please vote as helpful or mark as answer, if it helps

The specified query is too complex to be evaluated as a single statement.-Cubes

$
0
0

Hello All,

In our current system we have 100 Mllion in out-standings and about 2500 dealers which we are working on cubes using which we have generated a mdx query which has a length of (29000) lines...When we are trying to execute it it is throwing the following exception below :

Executing the query ...
The specified query is too complex to be evaluated as a single statement.
Execution complete

So can you please let us know what needs to be done in here...If required i can provide you the mdx query generated.

In future we are trying to expand our business where we would be planning to have 2-20 Billion in outstandings and 30-50 thousand dealers which would increase the mdx nearly 60 times what it is currently.

So can you please let us know how do you want us to proceed reg this..is cubes the only solution or is there any other ways where we can handle such huge data.Please suggest.

Regards,

Vamsi.


kamesh

Export Flat Excel from SSAS cube connected with PPS Dashboard

$
0
0

Hi

I have a PPS dashboard with charts on it, connected to an SSAS cube (Tabular). I have a Download link on the dashboard, which should download the underlying data set of the charts to excel file. This excel file should not contain any pivot data, it should be disconnected from the cube.

The objective is end customer should be able to perform Pivot on this data set. Could you please suggest any good solution towards the same.

Your suggestion is highly appreciated.

Regards

Preetam


Preetam

SQL Standard Version, Delta Values, Cube - Dimension or Measure

$
0
0

This one is a bit difficult to explain...

I have a cube the reports business by the date the business was first entered. 

The business comes in from different organizations and those organizations are tracked in the fact table.

There is also a Date Dimension table and a Dimension Table for the organization.

Related to the organization, is a status that is calculated daily and which reflects the level of organization they are.  This results in a table that stores level changes (delta) by organization

For Example:

Org A,  Level A, 01/01/2012

Org A, Level B, 03/14/2012

Org A, Level A, 10/20/2012

We want to track the level, as it relates to the date, month, quarter, and year of the business on that fact table.

This delta table can tie to both the Date Dimension and the Organization Dimension.  It could also tie to the Organization ID on the fact table.

I tend to think it should be a fact table, but on SQL Standard I've had trouble implementing it.  I'm not sure where to go from here...

Thanks,

- Nick


How to get customer buy apple also by what

$
0
0

Hi there , 

I have a cube for retail sales.

I want to know, simply , some customer have brought apple , what are the other thing in their invoices.

I can get the invoice number easily by dragging a product dimension to filter , and filter apple.

As the measure has been filtered by apple , it cannot show other products.

Then , how can I show the detail of those invoices ?


Please kindly help !

Thank you very much !!



Turbosolo

The specified query is too complex to be evaluated as a single statement.-Cubes

$
0
0

Hello All,

In our current system we have 100 Mllion in out-standings and about 2500 dealers which we are working on cubes using which we have generated a mdx query which has a length of (29000) lines...When we are trying to execute it it is throwing the following exception below :

Executing the query ...
The specified query is too complex to be evaluated as a single statement.
Execution complete

So can you please let us know what needs to be done in here...If required i can provide you the mdx query generated.

In future we are trying to expand our business where we would be planning to have 2-20 Billion in outstandings and 30-50 thousand dealers which would increase the mdx nearly 60 times what it is currently.

So can you please let us know how do you want us to proceed reg this..is cubes the only solution or is there any other ways where we can handle such huge data.Please suggest.

Regards,

Vamsi.


kamesh

Masking the dimension data in ssas based on role

$
0
0

Hi..

The requirement is to mask dimension data to “N/A” from certain users in SSAS Cube based on role. For example I have my Employee data with Employeedateofbirth, EmployeeName, EmployeeLocation in the Employee Dimension..

For Normal user should see like below:

Employeedateofbirth     EmployeeName              EmployeeLocation

01/01/2015                        Employee1                        UK                     

02/02/2015                        Employee2                        USA                      

 

For a restricted user, should see results in cube, excel and SSRS like below as per role..

Employeedateofbirth     EmployeeName              EmployeeLocation

01/01/2015                        N/A                                       N/A

02/02/2015                        N/A                                      N/A

This we have to Achieve in Cube, Excel and SSSR reports. Please kindly help on this..

Thank you..

Conditional Sum based on latest Survey Answer

$
0
0

Hi All

I'm quite new to the whole SSAS & Cube Topic and would appreciate your help to solve the following problem.

Basicly our cube contains two different Facts:

- Sales Volume: Information about sold articles to a customer incl. Selling date

- Survey: irregular answered survey questions about customers incl. date of answer

and three Dimensions:

- Customer

- Date

- Survey Answer: Information about possible Answer values (e.g. Yes / No)

Relations:

Fact: Sales Volume  ------>  Dim: Customer  <------  Fact: Survey   ------>  Dim: Survey Answer

                    '-------------->      Dim: Date       <----------------'

We would like to be able to determine the aggregated sales volume (sum) of a customer for a specific period depending on the latest survey answer within this period.

For example:

Selected Time period: Jan - Jul 2015

Sales Volume Customer X - Jan - Jul 2015: 1000 Litres

Sales Volume Customer Y - Jan - Jul 2015: 500 Litres

Surveys answered:

15th Jan 15: Customer X, Survey Question A: Yes

2nd Mar 15: Customer X, Survey Question A: No

20th Apr 15: Customer X, Survey Question A: Yes

10th Feb 15: Customer Y, Survey Question A: Yes

20th Jul 15: Customer Y, Survey Question A: No

Latest survey answer (Jan-Jul) Customer X, Question A: Yes

Latest survey answer (Jan-Jul) Customer Y, Question A: No

Excel Pivot should show something like this

Question       |      Lates Answer:     Yes                |       No            |

------------------------------------------------------------------------------------

A                    |                                1000 Litres     |    500 Litres    |

Can somebody explain if and how this is possible and has to be implemented?

Thanks already in advance.

BR Pascal

Create a webservice for consuming from SSAS Tabular Project

$
0
0

Hi guys, I have been finding information or references related with the construction of webservices for connecting to SSAS Tabular Project solution, but I can not found any information about this type of situation.  Someone have any idea or reference for starting about this solution, I need to use Visual Studio 2013 and ASP.Net Web Api.  

Many thanks.


"How many years can some people exist before they're allowed to be free" Bob Dylan Email: info@geohernandez.com Blog: geeks.ms/blogs/ghernandez

Dimension attribute disappears when AttributeHierarchyEnabled set to False

$
0
0

Hi,

When I set to False Dimension's property "AttributeHierarchyEnabled», I can't see anymore the attribute in excel

Thanks in advance



MDX Question ? Handle YTD with a per-month fraction? Weighted YTD ?

$
0
0

I want to calculate values for one of the measures on a YTD basis, but for each month there is a "factor" that varies between 0 and 1, varies throughout the year (value for each month) and the total for the 12 months will always add up to 1.  In other words, the standard YTD isnt enough.  The factor or weighting rises and falls throughout the year, so this has to be taken into account.

We have a "MonthFactor" table like this

FactorName
Month1
...
Month12

Where each of the MonthN fields holds the value mentioned before.  

The measure in question, each record has a reference to the MonthFactor table.  So its value is actually "weighted" according to the factor in the MonthFactor table.  Ive seen references and mention of "Time Balancing" in various blogs etc, is this what Im describing?

So, the YTD value would be a sum of each of the monthly values X the "month factor"

Any suggestions for handling this?




MDX Named set calculation

$
0
0

hi I have an mdx that has a named set called reportableperiods  and also I have a member that's summing that set which is causing it to be slow due to"block computation disabled" is there a way around that

set

[ReportablePeriods] as


Extract(

Exists(

Exists(

Order(

[Date].[GL].[GL Period]

,[Date].[GL].

CurrentMember.Member_Key


,

desc


)

,

Descendants(

STRTOSET('[Date].[GL].[GL Period].&[PD.10-14]',CONSTRAINED)

,[Date].[GL].[GL Period]

)

)

,[Date].[Reportable].&[Reportable]

)

,[Date].[GL]

)

MEMBER

[Measures].[SPLY] as

CASE

WHEN 'Gross Revenue' ='Write Up'THENsum([Measures].[WUWDADJ Last FY Period Amount],[ReportablePeriods])

WHEN 'Gross Revenue' ='Write Down'THENSUM([ReportablePeriods],[Measures].[WUWDADJ Last FY Period Amount])

WHEN 'Gross Revenue' ='Booked Labor'THENSUM([ReportablePeriods],[Measures].[Booked Labor Last FY Period Amount])

WHEN 'Gross Revenue' ='Gross Revenue'THENSUM([ReportablePeriods],[Measures].[Gross Revenue Last FY Period Amount])

END

Measure or dimension reference? Measure group includes year only not full date

$
0
0

So this measure group I have will include a year number, but should that simply be a reference over to the Date dimension via a foreign key, or just a measure itself, since its just a number (eg 2014, 2015 etc)

It really sounds like it simply another measure in the group, does it not?

Fact table or dimension - design question

$
0
0

the 3 main things I need to "measure" are
Transactions - there can be multiple records per Order, one for each type of product code or service sold
Orders - contains customer, shipping origin, destination info, dates and the order#
Goals - numeric target value for the year related to the type of product or service

So my measure groups (fact tables) so far are:
Revenue (populated from transactions)
Goals

Dimensions will include these and others:
Date
ProductType
Department
SalesPerson
etc...

What Im not sure is if I need a separate measure group for Orders.  Each Transaction will need either the related Order# or a reference to it.  Further, we want to measure the count of orders during different time frames and maybe 1 or two other things related to the Order itself, so that tells me I need a separate Fact table for Orders.

Comments?

MDX Current Date Returning Null

$
0
0

Hi all!

I need to return the current date from an MDX cube. Normally this is a pretty straight forward operation but everything I try is returning null.  There are no error messages.  

Here's my hierarchy structure with examples:

dimDate Hierarchy Structure:

BCast Year2015
  BCast QuarterQ315
    BCast Qtr Week Number4 (the week # within a quarter)
       BCast Day7/24/2015

I tried the StrToMember function and it returns null:

 with member Curr_date as
     StrToMember("[DimDate].[BCast Qtr].[BCast Qtr Week Number].[CALENDAR DAY DATE].&[" + Format(Now(),'yyyyMMdd') + "]")
 select Curr_date on 0
 from [TRACCube];

Then I dragged a member directly from the cube browser in SSMS - still null:

 with member Curr_date as 
     [DimDate].[BCast Qtr Week Number].[BCast Day].&[2015-07-25T00:00:00]
 select Curr_date on 0
 from [TRACCube]
 ;

I've tried each on different variations of the hierarchy, different hierarchies and against other cubes. All return null.  Any help is greatly appreciated!

Thanks!

Cannot import Excel work book to SSAS

$
0
0

Hi,

Im trying to pull a workbook which has a power pivot into SSAS using a remote tabular instance through visual studio 2013. However Im getting an error saying, " We cannot import the workbook XXXXX.xlsx. Try placing the work book on a server that the service account of DBNAME/Tabular has permission to read and that can be reached with a UNC path (//<server>/<shared>/<file>)". Here DBNAME is the server name and Tabular is the instance name.

I tried changing the logon name in SQL server analysis services(Tabular) in Services.msc Microsoft console.

Also tried changing the logon to local system. Still the error persists.


Can somebody tell on how to overcome this error?

Thanks In Advance.

Viewing all 14337 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>