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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
debn
Advocate I
Advocate I

Is there an equivalent in DAX to creating a calculated member belonging to a hierarchy in SSAS MDX?

I come from a long history of working with MDX and SSAS multidimensional and have fully transferred to PBI and DAX this year.  I have a challenge in that I have a 7-level ragged hierarchy supporting the PnL.  I would like to create a calculated member to calculate Gross Margin that would live within one of these levels.  I can't build it out in the hierarchy itself because it conflicts with the Gross Profit calculation so needs to live outside of the natural hierarchy but I still want it displayed within it.  I was able to do this with SSAS by having a calculated member that was assigned to a level in the hierarchy.  Is there a way to do this in PBI or DAX?  We're using Zebra BI to support the PnL but it won't let me create a custom formula that crosses different levels in the hierarchy.  Thanks for any help that you can provide!

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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