Forum Discussion
How to group fields
- 7 years ago
hi, Anonymous
After my research, I'm afraid it couldn't achieve that have a slicer with three columns as you want on your original data structure in Power BI for now. You may try to use three slicers like this:
Also, if you want them in one slicer, you may try to use this way:
In Edit Queries, select accessibility, booking, experience then click Transform-> Unpivot columns
then drag field Attribute and Values into slicer like this
By the way, This method will turn your this data table three times as large.
and here is demo pbix, please try it.
Best Regards,
Lin
I am not sure how simple it would seem but you can just add a slicer visual and add the code field to it
A slicer visual is only showing the option of data for each of the fields (positive / negative / neutral). However, what I need is a slicer visual that has the codes: accessibility, booking, experience.
Do you have any ideas on how that could work? Would the option of transposing the table work?
- v-lili6-msft7 years agoCommunity Support
hi, Anonymous
You may try to a custom visual "HierarchySlicer" in MarketPlace.
Then darg field by parent-child structure like below:
Best Regards,
Lin
- Anonymous7 years agoNot applicableHi Lin,
That's a good idea but I need the heading of the field to show on the drop down list. The slicer only shows the values of the fields, whereas I need the header.
Any thoughts?
Thanks
Sara- v-lili6-msft7 years agoCommunity Support
hi, Anonymous
The slicer only shows the values of the fields, whereas I need the header.
Do want to just select the header that like select "year" then show all year, but in power bi, when you don't select any value in slicer, it will like select all, show all values. It doesn't make sense.
If I get it wrong, Can you explain to me according to the sample data and expected output?
Best Regards,
Lin