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 together!
I took over an PowerBI report, where I now want to change the map-chart.
There are different cities, and based on the value of the city, the city-dot gets green, yellow or red.
Currently defined green >80%, yellow >60%, red <60%. But I can't see where this has been set. In the normal formatting overview it's not visible.
I want to change that, so that each city has it's own individual target when it gets which color (green, yellow or red color).
For example city1, if >50% = green. <30% = red. And so on.
How can I do that?
Thanks in advance! 🙂
Solved! Go to Solution.
Hi @Fbnt ,
In your formula, as the value of City "X" is 37.5% and it meet the standard of yellow, which is less than 0.55, so it shows yellow, you can modify it like this:
Measure =
SWITCH (
TRUE (),
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( 'all_mes_join'[OEE] ) >= 0.55, "Green",
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( all_mes_join[OEE] ) >= 0.4
&& MAX ( all_mes_join[OEE] ) < 0.55, "Yellow",
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( all_mes_join[OEE] ) < 0.40, "Red",
"Purple"
)
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Fbnt ,
In your formula, as the value of City "X" is 37.5% and it meet the standard of yellow, which is less than 0.55, so it shows yellow, you can modify it like this:
Measure =
SWITCH (
TRUE (),
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( 'all_mes_join'[OEE] ) >= 0.55, "Green",
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( all_mes_join[OEE] ) >= 0.4
&& MAX ( all_mes_join[OEE] ) < 0.55, "Yellow",
MAX ( all_mes_join[Site / Center] ) = "X"
&& MAX ( all_mes_join[OEE] ) < 0.40, "Red",
"Purple"
)
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I have it now almost in place. There is one last error + I have 1 question:
My measure:
@Fbnt , You need to create a color measure and use that is conditional formatting and with field value option
Switch( True() ,
max(Table[City]) ="City1" && [Measure] >.5 , "Green",
max(Table[City]) ="City1" && [Measure] <.3 , "Red",
max(Table[City]) ="City2" && [Measure] >.6 , "Green",
/// add other
"Red"
)
conditional formatting by measure and apply it on pie?: https://youtu.be/RqBb5eBf_I4
This one worked for me to get the coloring right:
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 |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |