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
danielmorais
Frequent Visitor

Dynamic legend based on measure

Hello everyone!

 

I need some help here:

 

I have a measure and I need create dynamic ranges to use as legend based on this measure.

 

For example:

danielmorais_0-1664912777498.png

 

But in other context I can apply a filter that modify the measure value to the Units and the range legend need to assume other category

danielmorais_1-1664912918810.png

 

The problem is I can't create other measure to use as a legend, this is not possible in visuals, so I need to find other way to do this.

2 REPLIES 2
jgeddes
Super User
Super User

You might want to use a calculated column for your Range Legend.
The calculated column can be used in slicers and visuals.




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





@jgeddes,

I tried this way, but using a calculated column, when the measure value change, the legend will remain the same.

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.

Top Solution Authors