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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Ethanhunt123
Helper IV
Helper IV

Power Bi slicer with AND condition

I have two tables Table1, Table 2

Table1 contains Name,  Transaction, Date, Unique ID for Each Row

Table 2 contains data from Table1  and an additional column "Test Bucket" 

 

Table1 

ABC 1000 1
ABC 200 2
DEF&* 300 3
ASD 100 4

 

Table2

ABC 1 Bucket above 1000
ABC 2 Bucket bwteen200 and 300
DEF&* 3 Bucket bwteen200 and 300
DEF&* 3 Bucket name contains symbols

 

 

I made a slicer from the standard bucket. Slicer shows me value  Bucket bwteen200 and 300, Bucket name contains symbols, Bucket above 1000

 

I have a table visual created from table1, If I select Bucket between 200 and Bucket name contains symbols, from slicer table visual will give me 2 rows ABC and DEF&* details ( basically OR condition )

 

But what I need to do is a condition of AND in slicer so my output would be 0 rows 

 

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @Ethanhunt123 ,

 

>>But what I need to do is a condition of AND in slicer so my output would be 0 rows 

 

According to your logic, when you select the option "Bucket bwteen200 and 300" and "Bucket name contains symbols" in the slicer, the result will be 1, right?

 

I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis?  Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@Ethanhunt123 , what is the logic behind this need. when will system return an answer ?

 

Something like

if(distinctcount(Table[ Unique ID])>1,0,1)

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

I want to detect fraud entries. 

The slicer is multi-select. I need details of the person whose name contains symbols and the amount is between 200 and 300 etc. So selection in slicer would work with AND condition,.

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.