Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
What I am trying to do here is when user select/click A from the right table, left table "A" will be highlighted.
Both tables are joined.
i tried if (selectedvalue(righttable[column A] = selectedvalue(lefttable[column A],"red","Green")
turns out the whole column is hightlighted.
Thank in advance!!!!
Solved! Go to Solution.
Hi @NeoChau
To achieve the behavior you want, you need to create a disconnected table for selection, for example:
And then you can use a measure for condutuional formatinh like
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @NeoChau
To achieve the behavior you want, you need to create a disconnected table for selection, for example:
And then you can use a measure for condutuional formatinh like
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Thanks! It works! but that will be a bit tricky to disconnect the table.
Think this might do it
Measure =
Var Vals=
Calculate(
Countrows( lefttable ),
Keepfilters(
Treatas(
values( righttable[column a]),
Lefttable[column a]
)
)
)
Return
If(
Vals > 0
"Green",
"Red"
)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
37 | |
31 | |
26 |
User | Count |
---|---|
96 | |
84 | |
43 | |
40 | |
35 |