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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Saniat
Helper V
Helper V

Search for user selected "multiple" value in dataset

Hi,

I am using the following method to create a filter in my dataset which filters my dataset for user selected value.

Is there any way to accept multiple user inputs ?

The sample dat a structure attached below.

45a5b700-f3e0-4291-b9bd-be322c85dc9a.png



Many thanks.

Measure = 
Var _N1=SEARCH(SELECTEDVALUE('Item'[ItemID]),SELECTEDVALUE('Product'[Items]),1,0)
Return
IF(_N1>0,1,0)

Put measure in the filter of this view and set it equal to 1.

Saniat_0-1688876956023.png

 

Saniat_1-1688876955856.png

 

 

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Saniat 
You can use concatenatex function, please follow my example:

Ritaf1983_0-1688879767044.png

Link to the sample file: Here 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Saniat 
You can use concatenatex function, please follow my example:

Ritaf1983_0-1688879767044.png

Link to the sample file: Here 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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