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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
lcs211
New Member

Use Measure as Legend in Pie Chart or Column in Matrix

Hi All,

 

I am working with the below table that contains data from three offices:

lcs211_0-1704835487795.png

 

I am trying to create a total risk score for each office by adding up all three criteria (Geographic Score, Customer Count, Employee Count), but also apply a parameter weight between 0 and 5 to each to give users the flexibility to adjust the weight of each criteria to dynamically calculate the final risk score

Geographic: 

lcs211_1-1704835542020.png

 

Customer Count:

lcs211_2-1704835563061.png

 

Employee Count:

lcs211_3-1704835587921.png

 

Here's my measure calculation for the Total Score:

lcs211_4-1704835669833.png

 

I then tried to create a Risk Level (Column) that categorizes the offices based the total risk score into High (> 200), Medium (< 200 and > 150), or Low (< 150) as follows:

lcs211_8-1704836152015.png

 

However, once I have completed the above steps, I wanted to create a pie chart to show the number of offices in each Risk Level, but I noticed that the risk levels are not dynamic, as the pie chart will not update as I adjusted the weights:

lcs211_9-1704836252039.png

 

I then tried to replicate the Risk Level but in a measure format as follows:

lcs211_10-1704836473965.png

 

However, it seems like the Risk Level Measure cannot be added to the Legend field, as it could only be added to the Tooltips:

lcs211_11-1704836494836.png

 

Is there a way to resolve this issue and add a dynmaic risk level measure to the pie chart as legend?

 

Thanks in advance

1 REPLY 1
v-xiandat-msft
Community Support
Community Support

Hi @lcs211 ,

Sorry, add a dynmaic risk level measure to the pie chart as legend doesn't seem to be available on Power BI at the moment.Or you can try to calculate the columns, then change the weights and then refresh all the visuals.

Best Regards,

Xianda Tang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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