Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Janaya1
Frequent Visitor

Change selected line to color and grey out others

I am looking for a way to color a specific line based on selecting it and changing all other lines to gray. I've done this pretty easily in Tableau by creating a Set for the categorical 'Lot' which basically creates a group for selected ('IN') vs un-selected ('OUT') and then I can just drag that to the Color Card and when I select a line, it makes that selection a specific color, and the others gray. 

Edit: here is an example of what I am talking about: https://www.youtube.com/watch?v=3m-taRT1Pko

 

Is this possible in Power BI? See below for some example data and image (remade in Excel) of what I'm looking for:

 

Screenshot 2024-04-24 092311.png

 

BatchThaw PercentageIntermediate PercentageCulture PercentageDay 3 PercentageDay 6 PercentageDay 9 PercentageDay 13 PercentagePre-Formulation PercentagePost-Formulation Percentage
A001939592828289777266
A002937882707283856362
A003929880727977846867
A004988673897690847468
A0051009272777482736887
A006997679997884838381
A007917673829779796289
A008857999937670837380
A009877270989478896086
A010998075919390938977
A0118590728578921006076
A012968685859981789086
A013998683969481866587
A014968894847888868980
A015917080889974818076
A016998470767177968880
A017909670887883756168
A018989676727678738787
A019959983938379768377
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Janaya1 
Unfortunately, there is no generic way to achieve this , because we don't have an option of conditional formatting of a line color.
There is an idea about this issue, please vote for it :

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=bf62a5fa-d376-ed11-a76e-281878bd0909

But there is a few workarounds to achieve the desired effect in other ways.
Please refer to the attached links:

https://www.youtube.com/watch?v=_GOIflxSlYI

https://www.youtube.com/watch?v=rldduQrW83Q

https://www.youtube.com/watch?v=8RzZppthNPk

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @Janaya1 
Unfortunately, there is no generic way to achieve this , because we don't have an option of conditional formatting of a line color.
There is an idea about this issue, please vote for it :

https://ideas.fabric.microsoft.com/ideas/idea/?ideaid=bf62a5fa-d376-ed11-a76e-281878bd0909

But there is a few workarounds to achieve the desired effect in other ways.
Please refer to the attached links:

https://www.youtube.com/watch?v=_GOIflxSlYI

https://www.youtube.com/watch?v=rldduQrW83Q

https://www.youtube.com/watch?v=8RzZppthNPk

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

thank you!

Happy to help 🙂

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.