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

Ignoring a particular item in slicer on a table visual

I have a slicer with 4 items. Eg: x,y,z,and o.

Requirements:

  1. If I select O ,the table visual should display everything as if x,y and z  selected.If any item other than O is selected, visual should display only values correspondng to single selection.Is it possible to ignore only one selection? x->x,y->y,z->z,O->x+y+z
  2. The slicer should behave normally for all other visuals in the same page.

       How can I accomplish this?

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You can use visual level filter:

 

Measure = IF(ISFILTERED(Table2[category]),IF(MAX(Table2[category])="o",1,IF(MAX(Table2[category])= MAX(Table1[Category]),1,0)),1)

 

Capture58.PNG

 

test4.gif

 

Please refer to the pbix file.

 

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

 

Best Regards,

Dedmon Dai

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

I can't use another table as slicer in this case. The slicer should behave normally with all other visuals except the table.

Hi @Anonymous ,

 

The normal solution for your case is creating a disconnected table with these slicer value as mentioned by amitchandak.

 

The detailed solution depends on your data model. Would you please show us sample pbix file, Then there may be a solution to your case.

 

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

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

sitn_sample1 - Power BI Desktop.pngsitn_sample2 - Power BI Desktop.png

Hi @Anonymous ,

 

You can use visual level filter:

 

Measure = IF(ISFILTERED(Table2[category]),IF(MAX(Table2[category])="o",1,IF(MAX(Table2[category])= MAX(Table1[Category]),1,0)),1)

 

Capture58.PNG

 

test4.gif

 

Please refer to the pbix file.

 

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

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

Thanks.. It worked

amitchandak
Super User
Super User

@Anonymous , prefer an independent table for these values. Then you can have a measure like 

 

measure =

var _val = selectedvalue(Dim[Col])

return

if(_val = "o", calculate(sum(Table[Value]), filter(Table, Table[Col] <> _val)) , calculate(sum(Table[Value]), filter(Table, Table[Col] = _val)))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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