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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
AksPRAKSH
New Member

Power BI Filter a Table Visual

Hello everyone,

 

Hope you are doing good.

 

I need help with filtering on a table visual. 

 

The sample data would be like this-

Order No.Condition1Condition2Condition3Customer No.AmountLocation
1231AXA11000Houston
2340AYA11000Houston
3451BZA23000California
4560CZA22000California

 

I need multiple filters which filter the table visual based on multiple conditions.

For eg- 

Filter1 should return the Order No. with Condition1=1 AND Condition2=A AND Condition3=X. 

Filter2 returns the Order No. with Condition1=0 AND Condition2=A AND Condition3=X. 

Filter3 returns orders with the Order No. with Condition3=Z. 

 

Similarly I need 10 filters that would filter a table visual with order details like-

Order No.Customer No. AmountLocation
123A11000Houston
234A11000Houston
456A22000California

 

 

When I select Filter1, the table should show only order details for Order No.=123.

When I select Filter2, the table shows no values.

When I select Filter3, the table should show orders with Order No. =345,456

When I select Filter1 and Filter3, the table shows orders with Order No. = 123,345,456

 

What would be the best approach to solve this? 

 

Thanks in advance

 

Akshay

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@AksPRAKSH 

you can create a column 

Column =
switch(TRUE(),'Table'[Condition1]=1 && 'Table'[Condition2]="A" && 'Table'[Condition3]="X","filter1",'Table'[Condition1]=0&&'Table'[Condition2]="A" &&'Table'[Condition3]="X","filter2",'Table'[Condition3]="Z", "filter3")
 
and create a filter table for selection.
11.PNG
 
pls see the attachment below
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Anonymous
Not applicable

Hi @AksPRAKSH 

 

Thanks to ryan_mayu for the quick reply!

In addition to ryan_mayu's method, you can also create hierarchical slicers that put multiple filter criteria into one slicer.

Right-click on “Condition1” and select “Create hierarchy”, then add “Condition2” and “Condition3” to this hierarchy.

vxianjtanmsft_0-1725585721189.pngvxianjtanmsft_1-1725585898578.png

Create a slicer with the hierarchy and use “CTRL” + click for multi-criteria filtering.

vxianjtanmsft_2-1725586232310.png

 

Best Regards,
Jarvis Tang
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

2 REPLIES 2
Anonymous
Not applicable

Hi @AksPRAKSH 

 

Thanks to ryan_mayu for the quick reply!

In addition to ryan_mayu's method, you can also create hierarchical slicers that put multiple filter criteria into one slicer.

Right-click on “Condition1” and select “Create hierarchy”, then add “Condition2” and “Condition3” to this hierarchy.

vxianjtanmsft_0-1725585721189.pngvxianjtanmsft_1-1725585898578.png

Create a slicer with the hierarchy and use “CTRL” + click for multi-criteria filtering.

vxianjtanmsft_2-1725586232310.png

 

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

 

ryan_mayu
Super User
Super User

@AksPRAKSH 

you can create a column 

Column =
switch(TRUE(),'Table'[Condition1]=1 && 'Table'[Condition2]="A" && 'Table'[Condition3]="X","filter1",'Table'[Condition1]=0&&'Table'[Condition2]="A" &&'Table'[Condition3]="X","filter2",'Table'[Condition3]="Z", "filter3")
 
and create a filter table for selection.
11.PNG
 
pls see the attachment below
 




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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