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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DerecG
Frequent Visitor

Simple table filtering with a number string

Hello!

First off, I wanted to say that this community forum has been an invaluable resource for me the last few months workiing with PowerBI. Thank you to all the contributors!

 

I need to do a very simple advanced filter on a visual that returns the specified values from a column. The colum contains thousands of unique ID's. I simply need to filter for a string of these unique numbers. There are around 400 of them, so the slicer or basic filter / selection boxes method would be undesirable, and the advanced filter "and" "or" does not allow for strings.  It seems simple enough, but I can't seem to figure out a solution. It would take me hours to select every box, and the risk of error is incredibly high. Any suggestions?

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

Import your list into another table and form a relationship between the tables? Then, when you use the list of id's from this new table, you should automatically filter out everything you want.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

Import your list into another table and form a relationship between the tables? Then, when you use the list of id's from this new table, you should automatically filter out everything you want.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

That worked well. I connected the two tables and used a hidden slicer with seclect all button. Thank you for the quick response. I've read about a hundered of your other solutions previously. You've been a huge help to me in many areas while figuring out PowerBI. Thanks!

Awesome! Glad to help!


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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