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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Morgan2000
Frequent Visitor

Key for Maps

I am trying to create a key for some conditional formatting I have on a map.  The conditional formatting is below.

Morgan2000_0-1694517173576.png

Is it possible to get the 'highest', 'middle' and 'lowest' values to display in a text box?

 

This is to create a key to the map that shows what the colours mean such as the below.

 

 

Morgan2000_1-1694517280590.png

 

 

1 REPLY 1
HarishKM
Super User
Super User

@Morgan2000 Hello,
You can refer below dax for your requirement.

Color option = IF(SUM(financials[Gross Sales]) >450000000,"high",IF(SUM(financials[Gross Sales])>35000000 ,"Mid" ,IF(SUM(financials[Gross Sales])<35000000,"Low")))

You can create similar dax.

or 
You can use conditional column in power query then define your requirement for conditonal formating 

HarishKM_0-1694522176581.png


then you can use this color option and use color like below.

HarishKM_1-1694522415615.png

 

Thanks

Harish M

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors