Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
dabratt
Frequent Visitor

[Live connection on SSAS MD] Dimension calculated members issue

Hi,

 

I'm trying to display dimension calculated members created in SSAS MD.

 

As stated here:

https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-ssas-multidimensional/#capabilitie...

 

It works fine when the dimension has a single attribute.

I can't make it work when the dimension has more than one attribute.

 

For example, this member added to the AdventureWorks cube does not display in PBI:

CREATE MEMBER CURRENTCUBE.[Date].[Month of Year].[LastDate]

AS TAIL(

NONEMPTY(

[Date].[Date].[Date]

,[Measures].[Sales Amount]

)

,1

).Item(0), VISIBLE=1 ;

 

Am I missing something ?

 

Thanks.

 

 

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support

Hi @dabratt,

 

The issue in your scenario should be the [Date].[Date].[Date] is a key attribute. Please verify it on SSAS side. 

 

1(3).PNG

 

As from here:

  • Dimension Calculated Members (must be a single real member when the dimension has more than one attribute, it cannot be the key attribute of the dimension unless it is the only attribute, and it cannot be a parent-child attribute)

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-qiuyu-msft,

 

Yes,  [Date].[Date].[Date] is a key attribute.

It works fine when it is the only one attribute in the dimension.

 

If I add another attribute and attach the calculted member to it, I don't see it on the PowerBI side.

 

Regards,

Dabratt.

dabratt
Frequent Visitor

Spoiler
Hi,

I'm trying to display in Power BI a dimension calculated member created in SSAS MD.
It works fine when the dimension has a single attribute.

But it should also work if the dimension has several attributes as stated here:
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-ssas-multidimensional/#capabilitie...
=> must be a single real member when the dimension has more than one attribute

Whatever i'm trying, it is not working.
For exemple, adding this member in the AdventureWorks cube does not work on the Power BI side:

CREATE MEMBER CURRENTCUBE.[Date].[Month of Year].[LastDateDesVentes]

AS TAIL(

NONEMPTY(

[Date].[Date].[Date]

,[Measures].[Sales Amount]

)

,1

).Item(0), VISIBLE=1 ;


Am i missing something ?

Thanks.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors