Forum Discussion
Dominik82
3 years agoFrequent Visitor
Filter multiple columns with single dropdown slicer (without hierarchy)
Hi there, is there a possibility to create a single slicer with a dropdown selection, which contains values from different columns? Example table with the values In my report I want to ...
Greg_Deckler
3 years agoCommunity Champion
Dominik82 Well, one, you could unpivot those columns in Power Query. Two, you could create a disconnected table for your slicer like below and use a measure that takes it into account.
Slicer Table =
VAR __One = DISTINCT(SELECTCOLUMNS('Table'[Warranty]))
VAR __Two = DISTINCT(SELECTCOLUMNS('Table'[Data])
VAR __Three = DISTINCT(SELECTCOLUMNS('Table'[Date]))
VAR __Result = UNION( __One, __Two, __Three )
RETURN
__Result
WorkmanK
2 years agoFrequent Visitor
SELECTCOLUMNS requires 2 arguments. This does not work. =/