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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.