Forum Discussion
Anti Filtering
- Anonymous9 years ago
Hi megskilton
Change the following
5. Create a measure called SelectedBrand = Values(BrandSelect[Brand])
as
SelectedBrand = If(HASONEFILTER((BrandSelect[Brand])), Values(Brand[Select]), Blank())
6. Create a measure called ShowYes
ShowYes = IF(Values(yourfacttable[Brand])=[SelectedBrand],"No","Yes")
as
ShowYes = IF(HASONEFILTER((BrandSelect[Brand])),
IF(Values(yourfacttable[Brand])=[SelectedBrand],"No","Yes"),"Yes")Try it out and let me know if you run into issues.
Cheers
CheenuSing
Hi megskilton
Change the following
5. Create a measure called SelectedBrand = Values(BrandSelect[Brand])
as
SelectedBrand = If(HASONEFILTER((BrandSelect[Brand])), Values(Brand[Select]), Blank())
6. Create a measure called ShowYes
ShowYes = IF(Values(yourfacttable[Brand])=[SelectedBrand],"No","Yes")
as
ShowYes = IF(HASONEFILTER((BrandSelect[Brand])),
IF(Values(yourfacttable[Brand])=[SelectedBrand],"No","Yes"),"Yes")
Try it out and let me know if you run into issues.
Cheers
CheenuSing
Thank you Anonymous,
Thats works well, Just one more question- Is there a way I am able to select two or more of the options from the slicer and these would also be excluded?
Many Thanks
- v-huizhn-msft9 years agoMicrosoft Employee
Hi megskilton,
If you select the mutiple value in slicer, it's different todetermine which will be used in if function.
Thanks,
Angelia Zhang- Keshav8 years agoRegular Visitor
Will you please let me know how to achieve anti slicer with mulltiple values selected... in direct query mode