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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Decomposition tree :: custom value

Untitled.png

How to get conformed total in category group ?

3 REPLIES 3
amitchandak
Super User
Super User

Not sure I got it but you have to get a new table like this in Dax

union

(

Summarize(Table,table[Country],"Category","Confirmed","Cases",[Confirmed Cases]),

Summarize(Table,table[Country],"Category","Recoveded","Cases",[Recovered Cases])

/// Add more

)

 

But you should have this a category already

 

Or do the data level unpivot of measure

https://radacad.com/pivot-and-unpivot-with-power-bi

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

Not understanding what you mean. Can you explain in more detail?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

data source : https://en.wikipedia.org/wiki/2019%E2%80%9320_coronavirus_pandemic#covid19-container

sample data:

LocationsCasesDeathsRecov.
United States14241025054767
Italy976891077913030
China81470330475770
Spain85195734016780

By using this data i want to create a decomposition tree similar to the above screenshot. 

level 1 for decomposition tree : total cases( sum of cases for all location)

Level 2 for decomposition tree:  location-wise split of total cases.

Level 3 for decomposition tree:  for each location i want to split into no of deaths, no of recover and total cases for each location (same from level2 similar to the screenshot above.

 

please suggest if this makes sense.

 

 

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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