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

Is there any MDX alternative for the depreciated calculationpassvalue?

$
0
0

Hi,

As I saw in this page, the calculationpassvalue will be gone:

https://msdn.microsoft.com/en-us/library/ms143346.aspx

But, how can I sum a measure which will get other cellcalculation / SCOPE calculations on later stage?

How can I make "Update Cube" statement without calculationpassvalue on measures which have writeback, but they get calculation?

I do not think that FREEZE is an option...

I would be very glad for new solution - even if the calculationpassvalue would be part of the MDX funcions!

Br,

Peter



mdx bottomcount function : The argument value passed for Count was negative. Negative values are not supported for Count.

$
0
0

Hi

 applying multiple Bottomcounts for multiple mesures ,  passing the count for bottomcount is below shown method 

select {mesure1,mesure2} on columns ,

topcount(topcount(nonempty({dim1},{mesure1,mesure2}),

nonempty({dim2},{mesure1,mesure2})

----check this place i am not passing count for first mesure1

,mesure1),10,mesure2)  

on rows from cube1

why because i need the all the records from first mesure ,so  not passing any value to mesure1 then i am getting below error

is there any solution is there to full the requirement 

and purpose bottom count is to replace the order function,

thanks 

prashanth k

DAX - how to simulate MDX SCOPE forcing YEAR level

$
0
0

Hi,

In my fact table (month granularity), I've got a calculation defined: Margin%=DIVIDE(SUM(Margin);SUM(SalesAmount))

How should I define a calculation based on "Margin%", so that if I browse the Pivot Table by months it would always show the year levelresult instead? My date dimension is also with Month granularity and it has a Year column in it. 

Thanks,

Kaarel.

Security implementation failure, missing feature or a bug

$
0
0

HI,

I have to implement a complex dynamic security. For demonstration i can simplify this to show u my issue based on the AW cube

Lets say I have users which are secured on Country Level of the Customer Geography Hierarchy of the Customer Dimension. This users should not be allowed to see the levels below City. => works just select the member on Country level for the allowed set and set {} in the allowed set on POstal Code level.

A second user group are secured on City Level and are also not allowed to see the levels below City. If I browse this user I will see every node above POstalCode, which means that the allowed set for my city attribute is not working????

Thanx for your help


I think I found a solution: for the users which are secured on Country level I have to use {} on PostalCodeLevel. For the users secured on City Level  I have to use

[Customer].[Postal Code].[All Customers] on Postal Code Level

Can someone explain why??

how to define MDX script to import partial PowerPivot model

$
0
0

Hello,

I am studying for the 70-466 exam and one of the listed skills measured is the ability to "define MDX script to import partial PowerPivot model."  How is this done?  I can't find anything on the web, and there isn't an exam guide for this exam, unfortunately.

Thanks,
Eric B.

SSAS Tabular Model in DirectQuery Mode Clients

$
0
0

Hello,

I'm working on a Tabular model at my job since the users have a requirement to query against a live data source. I've been looking online for clients that issue DAX as opposed to MDX to the model, but besides SSRS and Power View, I could not find anything else. Do you know of any other client side interfaces to a DirectQuery Tabular model? Thanks for the help. 

GUID data type attribute contain addational square brackets

$
0
0

Hi All,

i have a attribute empid in dimension, this attribute data type in physical table is GUID, but when i browse in cube it's adding additional  square brackets

Regards,

Manish

Regarding the SSAS ROLAP Cube Data Impersonation settings.

$
0
0

Hello,<o:p></o:p>

In our application cube, We are having the Dimensions in MOLAP mode and the measure groups are in ROLAP mode.  

<o:p>By Default, The Cube is having the IMPERSONATION SETTINGS for Data Source as INHERIT. With this, the dimension processing has been completed properly. But, the measure processing is getting failed with the ERROR as 'LOGIN failed for user NTAUTHORITY\ANONYMOUS LOGIN'.</o:p>

<o:p>To have a resolution for this, have changed the Data source Impersonation settings to Credentials (specified domainname\username & password) and It is working properly.</o:p>

Is there any specific reason why this issue got occurred?.  What exactly the INHERIT Impersonation settings meant for? Why It doest work with ROLAP cube settings?

Please help me to sort out the reason for having this issue.

Thank you.

~Pradeep


SSAS ROLAP Aggregation Processing Issue.

$
0
0

As we planned to create an existing cube (which is with MOLAP storage mode), we have started converting the existing measure group & partition properties to ROLAP storage mode.

On an initial note, The Cube does have the MOLAP measure groups & aggregations. To convert the measure groups to ROLAP mode, have changed the measure group & partition storage mode to ROLAP.

After deploying & Processing the cube, have come across an issue with the processing by mentioning that Aggregation schema binding was not done.

By only deleting the aggregations, Could be able to process the respective measure groups.

Is there any chance to have the measure groups in ROLAP & the existing aggregations are also can be used?

SSAS ROLAP Aggregation

 

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

Urgent! Issue with primary key duplicate value while not existing

$
0
0

Hi all,

I have an error in production saying "Cannot insert duplicate key in object xxx". The duplicate value is 287490.

This is the exact last ID but the data behind it is not duplicate, I verified. We have this issue every so many months in SSMS where the auto incremental gets stuck and needs to be adjusted. 

However, with a sequence I managed to do this, but how do I do this with a primary key?

Thanks in advance!

Same user to multiple Roles in Multidimensional Model Role Security

$
0
0

Hi,

I want to apply dynamic dimension level security on my cube. I created two roles and assigned users to them. Everything worked fine till the time users did not overlap between roles. But as  soon as I added the same user in both the roles ,all security was nullified and the user was able to see the entire data.

I read that SSAS has additive role security. Both the roles are based on Different Dimensions. I am trying to find a workaround so that I can maintain the security even if the same user is assigned to two different roles. Any suggestions as to how this could be achieved would be highly appreciated.

SSAS Tabular stand alone table in Excel - Performance Issue

$
0
0

Hi,

I am working with SSAS Tabular. I have a stand alone table with 60 columns and contains 120K records. Table size is 250MB. And trying to build a tabular report out of it and it is taking longer and throwing exception, screenshot attached.

It might be cross-join issues, as workaround created a dummy measure and using in report. But it working for 10-20 k records and beyond throwing same exception. I have 8 GB RAM and 100 GB free disk space.

Customer wanted it in SSAS Tabular

Please let me know if any solution.

Thanks,

Venkat

 

MDX LastPeriods not working when creating new member

$
0
0

Hi all,

I have an issue which I cannot seem to resolve, what I need to do is to create a new member in an existing dimension which lets me filter the results of the last two weeks (this should start from last week, so ignoring the current week).  I've tried a few approaches which seemed to have worked when browsing via excel, but when I tried using this in PowerView things were not right.  I need a graph which shows the day on the Axis and then a single measure, with the filter being set to the last two weeks.

In management studio I got the following to work and show me the week, date and the measure:

select
(
LastPeriods(2,[Date].[Week Calendar].[Year].&[2015].&[30]&[2015].lag(1))
,[Date].[Calendar].[Date].allmembers
) on rows,
[Measures].[On Schedule %] on columns
from [Flight Movement]
where {([Flight Leg].[Direction].&[Arrival]),([Flight Leg].[Direction].&[Departure])}

This filters the results and only shows the relevant weeks and dates.  When I try to put the LastPeriods logic into a new member, it returns all the dates in the dimension.  This is what I am trying:

with member [Date Calculations].[Date Calculations].[Test]
AS
(LastPeriods(2,[Date].[Week Calendar].[Year].&[2015].&[30]&[2015].lag(1)))

select
(
[Date Calculations].[Date Calculations].[Test],
[Date].[Calendar].[Date].allmembers
) on rows,
[Measures].[On Schedule %] on columns
from [Flight Movement]
where {([Flight Leg].[Direction].&[Arrival]),([Flight Leg].[Direction].&[Departure])}

Any help would be gratefully appreciated!

Thanks.

Where can I find SSDT-BI for VS2015 ?

$
0
0

I have installed VS2015 and I cannot find the SSDT-BI tools.

Do You have an idea, when it is available?

Thank in advance

Lothar


how to update linked Measure groups in SSAS

$
0
0

Hi All,

we are having an existing cube in that we need to update with new measures . The Measure groups are added to the cube as linked object. so when we are updating the measure group it is throwing the exceptions as follows..

“Errors in the OLAP storage engine: The metadata for the statically linked measure group, with the name of 'SalesActual', cannot be verified against the source object.”

Regards,

kamesh

dimension to measure problem

$
0
0

 I have a dimension table that has ship-dates and I'm trying to tie that to my Fact table that uses a Plan date. The issue
is the Plan date is carried for for all months for current year. The dimension table which has ship dates only has records for shipments which includes current year and current month plus previous months. When I rebuild I get missing date for 2015-08 which I expect, but how can I get around this error. They want to see Plan data for Current year and all month, but I don't
have that corresponding data in dimension table. 

 Thanks.

Cube Reporting Requirement

$
0
0

Hi All,

This is regarding a reporting requirement i have.

I have two sales cubes in one of which all the data is aligned to the latest master data available (As-Is) and other the data is As-Was, this includes Product Master data including Price which changes much often.

The requirement i have is to get the Price (As-was ) but all other master data As-Is.

I would like to know can this be achived without a code change using some reporting tools or excel to merge data between two available cubes ??


Vinish Viswanathan

Common attribute in two many-to-many dimensions

$
0
0
Current design is as follows: we have a Sales fact table, and the two dimensions relevant to the question are Product and Address. We have a many-to-many relationship between Products and Product Groups, no problems here. Another many-to-many relationship is between Addresses and Sales Teams, straightforward as well. However, each Sales Team works with only one Product Group (an N:1), and what we're struggling to achieve is to calculate for each Sales Team the amount of sales of products from its product group to addresses it's responsible for. Unfortunately Carthesian product of Products and Addresses would be way too many millions of records, so we're primarily looking for a calculated measure, but are willing to consider design improvements.

How implementing the Effective User Name authentication for ssas

$
0
0

Hi,

i have saml token which contains user name and password.

i have to use this token to authunacate the ssas cube date base to open the report.


can any one tell me the How implementing the Effective User Name authentication for ssas.

Thanks

Shivaprasad Pola


Thanks & Regards ShivaPrasad Pola SharePoint Developer/Administrator E-mail:polashivaprasad@hotmail.com

Viewing all 14337 articles
Browse latest View live


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