cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)