Forum Discussion
Coloring different regions on the same chart
Hi PBI users,
I have a question
These are three different regions I used to show on the same chart is there a way I can show the regions with different colors. I tried in the default settings sections nothing worked so I would like to know can I use any DAX formula ?
Thanks for the help in advance
Anonymous , Edited..
Just noticed. Anonymous Already replied. Please refer to this only if his reply does not solve the issue.
Make sure you are not using legend . Region should be on axis, and expanded
Then you can have measure like
Switch( True(),
Max(Table[Region]) = "Region1" , "Green",
Max(Table[Region]) = "Region2" , "Blue",
// Add others
"Red" //default
)
use in conditional formatting using field value option
refer
Concatenate Label off : https://youtu.be/QgI0vIGIOOk
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/1682539
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3
2 Replies
- AnonymousNot applicable
Hi,
I think this thread can help you: https://community.powerbi.com/t5/Desktop/Changing-Color-s-of-Bar-charts/m-p/2508734 - amitchandakSuper User
Anonymous , Edited..
Just noticed. Anonymous Already replied. Please refer to this only if his reply does not solve the issue.
Make sure you are not using legend . Region should be on axis, and expanded
Then you can have measure like
Switch( True(),
Max(Table[Region]) = "Region1" , "Green",
Max(Table[Region]) = "Region2" , "Blue",
// Add others
"Red" //default
)
use in conditional formatting using field value option
refer
Concatenate Label off : https://youtu.be/QgI0vIGIOOk
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/1682539
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pane-66e0afcb15f3