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! Request now

Reply
triseid
Frequent Visitor

Filtering a column for a slicer

I have two tables that look like this:

 

Table 1   | Table 1                      Table 2   |   Table 2  

Names        IDs            1-->*         IDs      |   Unique transactions

 

The 'Names' column contains every single name in the organization. I want to create a slicer using the 'Names' column but limit it to only the 'Names' that have IDs appearing in the 'IDs' column on Table 2. (this is a 1 to * relationship).

 

I feel like this is very basic, but can anyone please help me figure this out? 

 

Thank you! Will be sure to mark the solution. 

1 ACCEPTED SOLUTION

Okay ^^ it was very simple and I figured it out. 

 

=if(count(TransactionID)>0,1,0))

 

Then set that as a filter on the slicer with 'Names'. Only show values where the measure = 1. 

 

Thanks you!

View solution in original post

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

Use the Filters pane to filter out values based upon the column you want to filter.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Care to be more specific? 

 

I tried "Transaction ID" IS NOT BLANK but that didn't work. I assume I have to create a new table with only names with transactions, but I'm unsure how to go about doing that. 

Okay ^^ it was very simple and I figured it out. 

 

=if(count(TransactionID)>0,1,0))

 

Then set that as a filter on the slicer with 'Names'. Only show values where the measure = 1. 

 

Thanks you!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors