cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MartinM
New Member

Calculate different figures in Matrix based on displayed hierarchy level using DAX

Hi guys,

 

Have someone of You realized issue how to calculate different figures for each level of hierarchy? I dont know how to show one figures (I have already calculated) for the lowest level of hierarchy and another for higher level while number of levels are not fix. I have database like this

Capture1.PNG

And I need to show for users only one value in Matrix and should looks like this:

Capture2.PNG

But I am not able to show / calculate different figures for each levels => in case for example A2.1.1 or B1.1 is last level in hierarchy should include only values for posting items 1 and in case its not last lavel in hierarchy should include all values with all posting levels.

 

Thanks

2 REPLIES 2
Super User IV
Super User IV

Re: Calculate different figures in Matrix based on displayed hierarchy level using DAX

Check out Matrix Measure Total Triple Threat Rock & Roll.

 

https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...


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

Not the Power BI thought police...

I have NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

MartinM
New Member

Re: Calculate different figures in Matrix based on displayed hierarchy level using DAX

Hi,

This is working only if You have fix hierarchy and each level are fulfilled but I dont have fix hierarchy and some companies going up to level 6 and some only to level 4.

Think I find solution but I need to test it and I will let know the result soon.

 

Thanks a lot

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors