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
lemontree
Helper I
Helper I

Conditionally Format World Map based on % changes in Stock Market Indices

I have created a query to pull data from a website (investing.com) and I am trying to find the optimal way to present the data on a map on Power BI. The data includes absolute and percentage daily change per market (country) and I want when this is plotted on the map to be conditionally formatted so that all stock indices are colored based on the % change in a similar manner i could apply this on a table where the most negative would be for example dark red and the most positve dark green. I am trying this with the available PBI map visuals  but it does not seem to be such an option on a map. 

any suggestions how to fix this?

2 REPLIES 2
v-caliao-msft
Employee
Employee

@lemontree,

 

You can create a level column based on  the % change, and then add this level column to Lenged. Then different levle will show different color on your map.

r2.PNG

 

Regards,

Charlie Liao

@v-caliao-msft thank you for the suggestion but I'd appreciate some clarifications. what do you mean to create a level column? to add a new calculated colum?

also, will this only work on Map visual or on the filled map as well. in both cases, i do not get the expected result as  when i add the existing %chg field at the legend every country has its own color but this is not what i want. What I am looking for is simpler. the country indices that are deep negative territory in terms of %chg to have dark red and then as we move towards zero and positive area to move from red to green. (pls check screenshot here: https://1drv.ms/i/s!Ag5Vx0E8pi14izQfB7DSSCB5_du1)

 

thank you in advance for your time.

 

 

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.