Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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?
Thanks a lot!
Solved! Go to Solution.
Please use the following measure:
CF =
IF (
NOT CONTAINSROW (
VALUES ( table2[version number] ),
SELECTEDVALUE ( table1[version number] )
),
"red"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@stefan321
Suppose you have your Version numbers from Table one on a table visual, Create the following measure, add conditional formatting > choose background, pick Field value as the Format Style and pick this measure.
CF = IF( NOT CONTAINSROW( values(table2[version number] ), selectedvalue( table2[version number] ) , "red" )
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi
Thanks for your quick feedback!
unfortunately i get an error:
"Too few arguments were passed to the IF function. The minimum argument count for the function is 2"
Could you please check your code? think something is missing but i am not able to find it.
Please use the following measure:
CF =
IF (
NOT CONTAINSROW (
VALUES ( table2[version number] ),
SELECTEDVALUE ( table1[version number] )
),
"red"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |