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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Puja_Kumari25
Helper III
Helper III

Display Highest and Lowest Value in Field Map visual.

Hi All,

Can we display the highest and lowest values in the field map?

Puja_Kumari25_0-1709120702545.png

Thank you.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Puja_Kumari25 

You can custom the fill color by using conditional formatting to display the highest value and the lowest value.

e.g I have the following state table, i need to display the highest count to green , the lowest count to red, others to yellow.

vxinruzhumsft_0-1709190310643.png

Create a measure

MEASURE =
VAR A =
    SUMMARIZE ( ALLSELECTED ( 'Table' ), [State], "Count", COUNTROWS ( 'Table' ) )
VAR b =
    SUMMARIZE ( FILTER ( A, [Count] = MAXX ( A, [Count] ) ), [State] )
VAR c =
    SUMMARIZE ( FILTER ( A, [Count] = MINX ( a, [Count] ) ), [State] )
RETURN
    SWITCH (
        TRUE (),
        SELECTEDVALUE ( 'Table'[State] ) IN B, "green",
        SELECTEDVALUE ( 'Table'[State] ) IN C, "red",
        "yellow"
    )

Then put the measure to the conditional formatting of the fill color

vxinruzhumsft_1-1709190386636.png

 

vxinruzhumsft_2-1709190395014.png

 

Output

vxinruzhumsft_3-1709190418623.png

And you can refer to the following link.

https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-filled-maps-choropleths?ta...

Best Regards!

Yolo Zhu

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

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Puja_Kumari25 

You can custom the fill color by using conditional formatting to display the highest value and the lowest value.

e.g I have the following state table, i need to display the highest count to green , the lowest count to red, others to yellow.

vxinruzhumsft_0-1709190310643.png

Create a measure

MEASURE =
VAR A =
    SUMMARIZE ( ALLSELECTED ( 'Table' ), [State], "Count", COUNTROWS ( 'Table' ) )
VAR b =
    SUMMARIZE ( FILTER ( A, [Count] = MAXX ( A, [Count] ) ), [State] )
VAR c =
    SUMMARIZE ( FILTER ( A, [Count] = MINX ( a, [Count] ) ), [State] )
RETURN
    SWITCH (
        TRUE (),
        SELECTEDVALUE ( 'Table'[State] ) IN B, "green",
        SELECTEDVALUE ( 'Table'[State] ) IN C, "red",
        "yellow"
    )

Then put the measure to the conditional formatting of the fill color

vxinruzhumsft_1-1709190386636.png

 

vxinruzhumsft_2-1709190395014.png

 

Output

vxinruzhumsft_3-1709190418623.png

And you can refer to the following link.

https://learn.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-filled-maps-choropleths?ta...

Best Regards!

Yolo Zhu

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

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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