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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Lumpypillow
New Member

Calculating percentage of level above in matrix and displaying on line chart?

Hi Experts,

 

I am very new to PowerBI and am trying to basically create interactive line charts for layers of data with cellular data. This is more related to science than buiness but the concept should be the same. I have the data in a table like below: 

Lumpypillow_1-1720546709164.png

 

I created a hierarchy from this table into a matrix where I would like to display the count at each level and the percetange compared to the level above.

Lumpypillow_2-1720546721906.png

PowerBI however is calculating the % of the grand total but I would like to have it calculate values compared to just the level above, not from the total count. Finally once I have that done I would like to be able to display those percentages on a line chart that filters as I drill through levels. Any help would be greatly apprecaited!

 

1 ACCEPTED SOLUTION
NaveenGandhi
Super User
Super User

Hi @Lumpypillow 

Check the attached PBIX.

NaveenGandhi_0-1720549110853.png



Let me know if this works.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!


LinkedIn

View solution in original post

2 REPLIES 2
Lumpypillow
New Member

Works great, thanks!

NaveenGandhi
Super User
Super User

Hi @Lumpypillow 

Check the attached PBIX.

NaveenGandhi_0-1720549110853.png



Let me know if this works.

If this post helps, then please consider Accept it as the solution to help the others find it more quickly. Appreciate you kudos!!

Follow me on LinkedIn!!!


LinkedIn

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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