The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I plotted table with measure1 and measure2, I want to apply conditional formatting if my measure1 is equal to measure2 then green else red
Solved! Go to Solution.
Hi, @Anonymous
Please try to create one more measure like below.
newmeasure = if ( measure1 = measure2, 1,0)
Then, go into the conditional formatting, Format By = Field Value -> select newmeasure -> 1 = green / 0 = red
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi @Anonymous
You can create a measure and implement it with the IF function
flag color = IF('Table'[Measure 1]='Table'[Measure 2], "Green","Red")
Sample data:
Click on the field that you want to use conditional formatting, in this case the Flag Color field,
and then select the way to use the conditional formatting,
Format by>>Field value, Based on the measure you create,
Result:
Is this the result you want? Hope this is useful to you
Please feel free to let me know If you have further questions
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Please try to create one more measure like below.
newmeasure = if ( measure1 = measure2, 1,0)
Then, go into the conditional formatting, Format By = Field Value -> select newmeasure -> 1 = green / 0 = red
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@Anonymous , Create a color measure and use that in conditional formatting with "Field Value" Option
if([measure1] =[measure2] , "Green", "Red")
Refer my video for steps: https://www.youtube.com/watch?v=RqBb5eBf_I4
or
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-numbers-in-the-column
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
136 | |
103 | |
101 | |
74 | |
59 |
User | Count |
---|---|
261 | |
123 | |
114 | |
97 | |
84 |