Forum Discussion
Dave805533
3 years agoNew Member
Adding slicer for multiple columns in Power BI
Hello Everyone, I am new to Power BI. I am trying to add a slicer to a table visualization that I had created. What I want to achieve here is, I have a table with three columns as given below. I ...
DimaMD
Solution Sage
3 years agoDave805533
3 years agoNew Member
Hi DimaMD , Nope both are columns.
- DimaMD3 years ago
Solution Sage
Hi, Dave805533 try it Colum
Filter = IF(AND([EC] = "Yes", [BARR] = "Yes"), "EC and BARR", IF([EC] = "Yes", "EC", IF([BARR] = "Yes", "BARR", "None")))- Dave8055333 years agoNew Member
Hi DimaMD , Thank you for the response. This will have an extra option right? I am looking for a way wherein it should only show 'EC' and 'BARR' in the slicers.
- DimaMD3 years ago
Solution Sage
Yes it new colum, take it out of proportion
IF(AND([EC] = "Yes", [BARR] = "Yes"), "EC and BARR",and at the end of the parenthesis