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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors