Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Slicer that controls fields

Hi!

 

I have a visual that looks like this.
powerbi.PNG

 

 

 

 

 

 

 

 

 

 

Is it possible to create a Slicer, that controls which products are shown in the visual?

For example: I want to see only Product A and B in all 3 cities.

 

My fields list looks like this:

fields.PNG

 

 

 

 

 

 

 

 

 

 

 

Thanks!

1 ACCEPTED SOLUTION
Thim
Resolver V
Resolver V

I am not sure you can do it, when the products is in different coloumns. Maybe someone els can confirm this.

 

However, before you start on your report, you can do the following.

Go under Quiry Editor

Click on Transfer

Mark all Product columns.

Click on Unpivot Columns.

 

This will change the marked columns to a single columns, and you can then filter from this.

 

The result should look like this.

 

image.png

 

Hope this will help. 🙂

View solution in original post

3 REPLIES 3
Thim
Resolver V
Resolver V

I am not sure you can do it, when the products is in different coloumns. Maybe someone els can confirm this.

 

However, before you start on your report, you can do the following.

Go under Quiry Editor

Click on Transfer

Mark all Product columns.

Click on Unpivot Columns.

 

This will change the marked columns to a single columns, and you can then filter from this.

 

The result should look like this.

 

image.png

 

Hope this will help. 🙂

Anonymous
Not applicable

Hi Thim,

Thanks, that's helpful! In the future I will use your solution.

Actually the report in which I need the Slicer is much more complex, and I think this method would mess up the report. I'm sure my database is not built up the best possible way. 🙂

 

Hi @Anonymous ,

 

If your problem has been solved, you could accept an answer to help other members find it more quickly.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.