cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
umanbr Frequent Visitor
Frequent Visitor

Representing Multiple measures in sunburst chart

Hello all,
I need help in representing multiple measures in sunburst chart to show the hierarchy. I have a table with category and subcategories. But the values are calculated using measures , not in calculated column,as I have to use what if parameter inputs for calculation.Each measure is calculated using different formula. Now I’m not able to bring those values in visual . Is there any way I can represent these values in a sunburst or any similar visual?
Is it possible to manually assign values to category?
Any help will be appreciated! Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Representing Multiple measures in sunburst chart

HI @umanbr ,

Hierarchy field not support to create based on measures. BTW, measure also not able to use as category.

If you mean use one measure to display multiple measure result, this is possible. You can use switch function to check current category, then use category value to return correspond measure surely.

DAX – Making the “Case” for SWITCH()

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Representing Multiple measures in sunburst chart

HI @umanbr ,

Hierarchy field not support to create based on measures. BTW, measure also not able to use as category.

If you mean use one measure to display multiple measure result, this is possible. You can use switch function to check current category, then use category value to return correspond measure surely.

DAX – Making the “Case” for SWITCH()

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

View solution in original post

umanbr Frequent Visitor
Frequent Visitor

Re: Representing Multiple measures in sunburst chart

Thanks!I could do it by creating an index column in the table and then created a measure using switch function which uses selected value of index and display the corresponding measure.
Visual value=switch(true(), selectedvalue(table(index))=1,measure1...)
Community Support Team
Community Support Team

Re: Representing Multiple measures in sunburst chart

HI @umanbr ,

You can try to create a what if parameter table, then you can use selected value and current category to choose which measure to displayed:

Create and use a What if parameter to visualize variables in Power BI Desktop

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, please consider Accept it as the solution to help the other members find it more quickly
Learning resources: Power BI

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors