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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
fackjox
New Member

How to do a heatmap?

Hi there, I'm looking to create a heatmap like this, where the values are a count of the number of different applications that have both the y and x value.
https://imgur.com/TzDvb5Z

I have put together a list of the values for x and y
https://imgur.com/mX6H9RE
https://imgur.com/TiIiFgA

And the actual data that I'm trying to count looks like this:
https://imgur.com/NNnS9ad
With the nested lists containing the values to be counted.
https://imgur.com/HeiHGPu

How on earth can I do this!!?? My matrix just looks like this at the moment:
https://imgur.com/72mWAkB

 

3 REPLIES 3
fackjox
New Member

Thank you so much for your help.
A follow up Q (if that's allowed!?) How do I make it so that when I click on a number, it gives me a list of the applications that are being counted??

fackjox_0-1676905813585.png

 

fackjox
New Member

That expand into rows button is extremely useful thank you

amitchandak
Super User
Super User

@fackjox , Expand the list into rows using the expand icon near to the column name.

 

Then create matrix visual.

 

You can use measure-based conditional formatting to create a heat map visual. You need use background conditional formatting using the field value option

 

example

 

Color Date = if(FIRSTNONBLANK('Date'[Date],TODAY()) < date(2022,04,10) ,
Switch(true(),
[SLA] = 1 , "Green" ,
[SLA] >= .75 , "Amber" ,
"Red "
) ,
Switch(true(),
[SLA] = 1 , "Green" ,
[SLA] >= .5 , "Amber" ,
"Red "
)
)

 

 

 

Color = Switch( True() ,
Max(Table[Status]) < 200 ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
) ,
Max(Table[Status]) < 500 ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
) ,
Switch(true(),
[ERB] = .25 , "Orange" ,
"Red "
)
)

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.