The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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)
@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)
User | Count |
---|---|
70 | |
67 | |
62 | |
48 | |
28 |
User | Count |
---|---|
113 | |
78 | |
64 | |
55 | |
44 |