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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
poweruser55
Helper IV
Helper IV

Filter a graph line to invisible

I am trying to create a measure that makes the solid purple line invisible when "POC" is selected in the filter. The line is called Project and POC is the filter selection that should cause the solid purple line to go invisible. Can this be done?

Test = IF(ISFILTERED(Products[Category] = "POC"),Blank(Project)"")

Screenshot 2022-02-16 113209.jpg

3 REPLIES 3
Anonymous
Not applicable

Hi @poweruser55 ,

 

Could you tell me if my reply helps you? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @poweruser55 ,

 

To my knowledge, there is no option to hide/not hide a line in Line Chart.

 

Basiclly , we use conditional formatting(set line color to white) or Bookmarks(save a status) to get such the ouput.

But based on my test,both of the two are not available for Line Chart. we could only select a color.

Eyelyn9_1-1645410695630.png

 

So I your requirement could not be realized currently. An idea similar with what you expect has been submitted in the following link, please vote it up and you can add comments.Hopes Power Bi will implement this in nearby future.

Conditional Formatting Line Chart

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

How would I set the color to white for POC for the solid purple line only? @Anonymous 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors