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
Anonymous
Not applicable

Legend In Bar Chart With Dynamic measure

Hey guys,

I am having a bit of trouble in some visualisation requriement from the client.

I  have a measure :

Switch = SWITCH(MIN('Table'[Questions]),"Ques1",'Correlation Measures'[Correlation 1],
                "Ques2",'Correlation Measures'[Correlation 2,
                "Ques3",'Correlation Measures'[Correlation 3],
                "Ques4",'Correlation Measures'[Correlation 4],
              )

This has to be plotted on a bar along with a category legend according to the correlation value such as "Highly correlated " or "Low Correlation".
Please help how can i add legend to the bar graph guys?

2 REPLIES 2
amitchandak
Super User
Super User

Have you tried creating it as Column?

Anonymous
Not applicable

Hi @amitchandak Can you please explain more to where should i created the column and how?

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