Forum Discussion
Slicer
You could change your table into a 3 column table as one option
Col1 = StaffID
Col2 = Leave Type
Col3 = Leave Value
You can then easily create a slicer over Col2.
You can do this in your Query Editor using Append, or in DAX using the UNION.
Let us know which you prefer and we can give more detailed instructions.
First of all thank you for your reply previous. This is my example of table, I want to make the header (AL, EL, ML, LC, UL, MIA) as slicer instead of the staff ID
- Sean9 years ago
Community Champion
In the Query Editor => select both Staff ID and Staff Name columns => Transform tab => Unpivot Other Columns
Rename the new Attribute and Value columns with appropriate names
(double clck on the column names or right-click and select rename)
the Home tab => Close & Apply
now you can use the Attribute (or whatever new name you have given this column) as your Slicer
Good Luck!:smileyhappy: