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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
djkoenig
Helper II
Helper II

Dynamic Heat Map

Hello Experts,

I've come up against a weird ask and I'm not enirely sure how to execute it. The request is to create an animated heat map that plays on a loop demonstrating the amount of Sales by Country. Ideally, the density/concentration of the "sales heat" will also slowly change as the loop plays.

So far, I have the map playing on a loop, but due to the nature of construction it flits around from country to country. You'll see if you open the link. For one, I'd prefer if the zoom stayed consistent. I figured a running total measure might help this issue, but that didn't seem to do it. Maybe's it's more doable if I did it in Python or something else....But, quite honestly, I am out of my depth and would appreciate a life preserver (or maybe a resuce helicopter).

Any opinion on the best way to accomplish this (or something similar) would be appreciated 🙂 

Data, of course, is made up and does represent anything meaningful.

Link to my report: https://drive.google.com/file/d/1cW0pOqxD_eIXZgkx3W16ruOMLQSLQ0sZ/view?usp=drive_link

Thanks!



 

2 REPLIES 2
Anonymous
Not applicable

Hi @djkoenig ,

If I understand correctly, this is what happens when the zoom changes? There are multiple regions with data for that day, so the zoom is applied to show all of them.

vzhouwenmsft_0-1720769073289.png

I created two additional calculated columns, please check the attachment to see if it meets your needs.
vzhouwenmsft_0-1720771799296.png

 

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

Thanks for taking a stab at this @Anonymous! I think there might be a bit of a misunderstanding. 

 

I was trying to display the whole map, and then have the "sales heat" slowly get "hotter" as more sales are performed in the region. For example, if we had something like this (although it would be by month in my PBIX): 

YearCountryAmount

2022

CN

10M

2022

US12M
2022SG1M
2023CN8M

2023

US10M

2023

SG12M
2023JP4M

 

First, it would always show the whole map (i.e. map scale is fully zoomed out to a whole world view and never changes). Then, as the loop began to play, countries with sales in 2022 (or really respective month in 2022) would be lightly colored. In 2023 the density of the color would grow hotter/darker for the countries that already had sales, and a lightly colored sect would appear on Japan (JP). 

Hopefully that helps clarify and if not please ask me some more questions. 

1) Fully zoomed and locked axis

2) Heat change to denote increase in cumulative sales

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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