Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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"
)
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 59 | |
| 52 | |
| 41 | |
| 33 | |
| 32 |