Forum Discussion
Dax - color highlight
- 5 years ago
Hi Anonymous ,
According to your description, you can create a measureu as the conditional formatting judgment condition, mark the designated "F" as red or any color you like. I did a test, the reference is as follows:
M = SWITCH ( TRUE (), MAX ( 'Table'[Contributor] ) = "F", "red", MAX ( 'Table'[Contributor] ) <> "F", "green" )
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.Below is the sample pbix file.
Hi Anonymous ,
According to your description, you can create a measureu as the conditional formatting judgment condition, mark the designated "F" as red or any color you like. I did a test, the reference is as follows:
M =
SWITCH (
TRUE (),
MAX ( 'Table'[Contributor] ) = "F", "red",
MAX ( 'Table'[Contributor] ) <> "F", "green"
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Below is the sample pbix file.