Forum Discussion
NeoChau
1 year agoFrequent Visitor
How to highlight table base on user selection on another table visual?
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(rightta...
- 1 year ago
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
selected color =if(SELECTEDVALUE(selections[Column1])=SELECTEDVALUE('Table'[Column1]),"pink","white")Result
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
Ritaf1983
1 year agoSuper User
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
selected color =
if(SELECTEDVALUE(selections[Column1])=SELECTEDVALUE('Table'[Column1]),"pink","white")
Result
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
- NeoChau1 year agoFrequent Visitor
Thanks! It works! but that will be a bit tricky to disconnect the table.