Reply
Frequent Visitor
Posts: 9
Registered: ‎12-04-2018

Re: How to group fields

Hi Affan, 

 

If you look at the fields these are:

- accessibility

- booking

- experience

 

I want to show these in the dashboard, so people can select whether to see comment for each of the topics. So, I'd like to have a slicer with the following:

- accessibility

      - Positive

      - Negative

- booking

      - Positive

      - Negative

- experience

      - Positive

      - Negative

 

Does that make sense?

Community Support Team
Posts: 1,169
Registered: ‎07-30-2018

Re: How to group fields

hi, @sarav

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:

1.JPG

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

2.JPG

3.JPG

then drag field Attribute and Values into slicer like this 

4.JPG

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

 

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Attachment
Highlighted
Frequent Visitor
Posts: 9
Registered: ‎12-04-2018

Re: How to group fields

Thank you Lin!
I'll try it tomorrow when I get back to work and share results Smiley Happy

Regards
Sara
Community Support Team
Posts: 1,169
Registered: ‎07-30-2018

Re: How to group fields

hi, @sarav

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Frequent Visitor
Posts: 9
Registered: ‎12-04-2018

Re: How to group fields

Hi there, 

 

It is definitely a good way around it, although I don't think it's gonna work for me as I have 20 different attributes with multiple entries for each, so I feel the data set gets simply too long. 

 

But I'll marke the solution as such

 

Thanks, 

Sara