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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
umanbr
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
v-shex-msft
Community Support
Community Support

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
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

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
If this post helps, please consider accept as solution to help other members find it more quickly.

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...)

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
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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