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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
TheTeam35
Frequent Visitor

Filter with in operator

Hi all,

 

I want to use "in" filter such as ms SQL Where Shipment in (1234,5689,9856)

How do I do in Power BI?

 

For example; I have 50 shipments number. (They're dynamic shipments.)

I want to filter 50 shipments in all shipments.

Is it possible?

 

BTW, I use DirectQuery.

 

Thanks.

Erdem

2 ACCEPTED SOLUTIONS

Hi,

 

The report has more than 30K shipments.

I want to search sometimes 50 shipments 100 shipments.
I want to copy and paste shipments in a filter or slicer and get the report.

So, how can I do this?

 

Thanks.

View solution in original post

Hi, @TheTeam35 

You can try use  'Filter by List' Custom Visual. The 'Filter by List' visual allows you to easily copy and paste in a list of values that you wish to filter on your report.

veasonfmsft_0-1654253099506.png

 

Best Regards,
Community Support Team _ Eason

View solution in original post

5 REPLIES 5
TheTeam35
Frequent Visitor

Hi,

 

After publishing the report, the user how do they do it?
I want the users to change the shipment numbers when they get the report.

 

Thanks.

Hi @TheTeam35 ,

 

If I am taking your question correctly then you could add filter or slicer(with multi select option enable).

 

BR,

Samarth

Best Regards,
Samarth

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin

Hi,

 

The report has more than 30K shipments.

I want to search sometimes 50 shipments 100 shipments.
I want to copy and paste shipments in a filter or slicer and get the report.

So, how can I do this?

 

Thanks.

Hi, @TheTeam35 

You can try use  'Filter by List' Custom Visual. The 'Filter by List' visual allows you to easily copy and paste in a list of values that you wish to filter on your report.

veasonfmsft_0-1654253099506.png

 

Best Regards,
Community Support Team _ Eason

AlexisOlson
Super User
Super User

You can use the IN syntax in DAX as well.

 

For example, 

FILTER ( Shipments, Shipments[Number] IN {1234,5689,9856} )

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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