Forum Discussion
different color based on value on other table
HI,
i have two tables, lets say TableA & TableB
TableB contains allowed Version numbers like 13.1.5
TableA contains also some different Version number, but only allowed Version numbers (check from TableB) should be highlighted in TableA in "green" color.
If Version number is not in TableB, then hightlight Version number in "red" in TableA
How to do that?
- Anonymous2 years ago
Hi stefan321 ,
Please try create a new measure like:Check version = IF(SELECTEDVALUE('TableA'[Version]) IN VALUES('TableB'[Version]),"Green","Red")And apply it to the font color format.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
2 Replies
- AnonymousNot applicable
Hi stefan321 ,
Please try create a new measure like:Check version = IF(SELECTEDVALUE('TableA'[Version]) IN VALUES('TableB'[Version]),"Green","Red")And apply it to the font color format.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!How to get your questions answered quickly -- How to provide sample data in the Power BI Forum -- China Power BI User Group
- lbendlin
Super User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523