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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.