Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello team, I need Hep with this
I have this type of visual in dashboard...I need to create a heat map for this Visual..
I kno the procedure to create a condition Formating...
Can you Suggest me the Colour Codes For this Visual
like this
Solved! Go to Solution.
Hi @Anonymous ,
As for the color codes, you can use the following DAX code to assign colors based on the values of your measure:
Measure Value Color =
SWITCH (
TRUE (),
[Measure Value] <= 1, "#000000",
[Measure Value] < 99.5, "#e60000",
[Measure Value] < 100.5, "#000000",
[Measure Value] < 999999, "#2d862d",
"#000000"
)
This code assigns colors to the measure values based on the conditions specified in the SWITCH function. You can modify the color codes and conditions as per your requirements.
If you wish to set the gradient color, you can select the format style of [Gradient]. Or you can choose to custom visual.
Please refer to the following documents for more information.
How to Create a Power BI Heatmap | DataCamp
Creating a Table Heatmap in Power BI - Power BI Docs
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
As for the color codes, you can use the following DAX code to assign colors based on the values of your measure:
Measure Value Color =
SWITCH (
TRUE (),
[Measure Value] <= 1, "#000000",
[Measure Value] < 99.5, "#e60000",
[Measure Value] < 100.5, "#000000",
[Measure Value] < 999999, "#2d862d",
"#000000"
)
This code assigns colors to the measure values based on the conditions specified in the SWITCH function. You can modify the color codes and conditions as per your requirements.
If you wish to set the gradient color, you can select the format style of [Gradient]. Or you can choose to custom visual.
Please refer to the following documents for more information.
How to Create a Power BI Heatmap | DataCamp
Creating a Table Heatmap in Power BI - Power BI Docs
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 33 | |
| 33 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 45 | |
| 30 | |
| 28 |