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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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