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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors
Top Kudoed Authors