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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.