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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
SanketPBIExpert
New Member

Multiple values filter in PowerBI

If you would like to filter with multiple values in PBI Desktop below is the dax function you can use it and drag that measure into the visual filter, page filter, or report filter depending on your requirement.

 

=If (selectedvalue(tablename[columnname]) in {"value1","value2"} , 1, 0) 

 

if column is measure: 

=If(measurename in {value1,value2},1,0)

1 REPLY 1
amitchandak
Super User
Super User

@SanketPBIExpert , On of the assume you wany check three values

 

Switch( True(),

'Val1' in Values(dimesion[columnname]) , 1,

'Val2' in Values(dimesion[columnname]) , 1,

'Val3' in Values(dimesion[columnname]) , 1, 0)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Top Kudoed Authors