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.
Hello folks,
For a worldoverview I´m using the Global Launch Estimates map.
I needed an overview of the countries by color.
However, I want to add a column with the code of a specific color based on a value, see my example below:
Name Value Color
New York 1.001 Dax formula with Hex # codes from red to green based on value
Paris 900 Dax formula with Hex # codes from red to green based on value
Dublin 665 Dax formula with Hex # codes from red to green based on value
London 1.178 Dax formula with Hex # codes from red to green based on value
Barcelona 1.980 Dax formula with Hex # codes from red to green based on value
Madrid 2.095 Dax formula with Hex # codes from red to green based on value
Amsterdam 300 Dax formula with Hex # codes from red to green based on value
The codes needs to be based on the value and not on the name of the city.
Cheers!
Solved! Go to Solution.
Create measure for the color like below and use this measure in your value
Color = IF(
value>0,
Hi @Pbra,
You can use a column to store the color code, then you need to enable condition formatting on your value field to use the 'color code' field values as formatting conditions.
Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
Create measure for the color like below and use this measure in your value
Color = IF(
value>0,
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
78 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |