Forum Discussion
Power Bi slicers
- 3 years ago
Hi Jazlynnn64 ,
Are the column names the cell numbers? If so, you need to transform your data so the cell numbers are in one column and the values in another. Your data should look something like below through Unpivot
Here's a tutorial on how to unpivot
https://databear.com/power-bi-pivot-and-unpivot-columns/
After unpivoting, you can use the attribute column in a slicer and as a category/legend.
Oops! I meant to add a picture of my data!
- danextian3 years ago
Super User
Hi Jazlynnn64 ,
Are the column names the cell numbers? If so, you need to transform your data so the cell numbers are in one column and the values in another. Your data should look something like below through Unpivot
Here's a tutorial on how to unpivot
https://databear.com/power-bi-pivot-and-unpivot-columns/
After unpivoting, you can use the attribute column in a slicer and as a category/legend.