Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
HI
I have a table:
I have a measure that links to a slicer based on the users selection
Solved! Go to Solution.
Hi @Anonymous
Based on your discription, you want to highlight a differenct row when you select a value in slicer. and I've created a sample for you,
-
Steps:
Create another table for slicer, in this table you need to add a column, when you select column label in slicer, then it will change the format of the row according to the relationship between column label and HightLightAnotherRow.
Then, create the measure:
conditional format =
var _sel=SELECTEDVALUE('Table (2)'[HighlightAnotherRow])
return
IF(MIN('Table'[label])=_sel,"Yellow")
Put the measure into the Background color of Values you want,
Result:
If you want the whole row highlighted, then change the Background color of “value” also.
Result:
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.
Hi @Anonymous
Based on your discription, you want to highlight a differenct row when you select a value in slicer. and I've created a sample for you,
-
Steps:
Create another table for slicer, in this table you need to add a column, when you select column label in slicer, then it will change the format of the row according to the relationship between column label and HightLightAnotherRow.
Then, create the measure:
conditional format =
var _sel=SELECTEDVALUE('Table (2)'[HighlightAnotherRow])
return
IF(MIN('Table'[label])=_sel,"Yellow")
Put the measure into the Background color of Values you want,
Result:
If you want the whole row highlighted, then change the Background color of “value” also.
Result:
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.
If you want the visual to maintain rows but highlight based on the selection in the slicer, you need to create an unrelated table to use as the slicer and the use a measure using SELECTEDVALUE or TREATAS to use in the conditional formatting interface.
Proud to be a Super User!
Paul on Linkedin.
Hey @Anonymous ,
in general you can change the color with a measure and conditional formatting:
I don't know your scenario well. But if you use SELECTEDVALUE, this means that a slicer is involved. Then the other values wouldn't show up. So I'm not sure if that makes sense.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
78 | |
52 | |
49 | |
47 |