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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

line chart visual level filters

Hi All, I have created a line chat and want to create a visual level filter for a column that contains Y/N values only. In the filer when I try to show items where the value is Y it will not let me apply the filter. For the field in the values placeholder I have select count of the values so not sure if this is affecting it. Can sombody help here with a suggested new measure of way to add the required filter. Thanks,

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

First way,you may drag the Y/N column to the visual level filter and set it is Y.

1.png

Second way,you may create a measure and drag it to visual level filter to set it is 1.

Measure = IF(MAX(Table1[Y/N])="Y",1)

 

1.png

Regards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

First way,you may drag the Y/N column to the visual level filter and set it is Y.

1.png

Second way,you may create a measure and drag it to visual level filter to set it is 1.

Measure = IF(MAX(Table1[Y/N])="Y",1)

 

1.png

Regards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors