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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
sbott
Regular Visitor

Slicer issue

Hi all, I have a bit of an issue with two slicers and can't figure out what the issue is. One slicer is for customer, and if I select a customer it then shows their project codes in another slicer. I can then just select the project codes I require to drive the charts. However, when I select the customer it doesn't just show the associated project codes, it leaves those showing from the previous customer selected. Any ideas?

1 ACCEPTED SOLUTION
djurecicK2
Super User
Super User

Hi @sbott ,

 What you are seeing is the default slicer behavior. This video has some options for you:

https://www.youtube.com/watch?v=1yv5srlqgmI

 

View solution in original post

3 REPLIES 3
sbott
Regular Visitor

Many thanks all, the visual level slicer worked using "is not blank" as in the video.

v-linhuizh-msft
Community Support
Community Support

Thank you for the very useful information from djurecicK2.


Hi @sbott ,

As djurecicK2 said, the problem you describe is the default behavior of the slicer. In the sample data I created, since the customer and item tables are filtered in a single cross-filter direction, when you select the customer id again, there will still be the project code for the previous customer. In this case, the slicer retains the last selections unless you manually clear or reset them.

 

vlinhuizhmsft_5-1723181704035.png

vlinhuizhmsft_6-1723181724330.png

vlinhuizhmsft_0-1723171370836.png

Here's an easy way to do it, by changing from a single cross-filter direction to both cross-filter direction:

vlinhuizhmsft_1-1723171935511.png

Then, this is the behaviour of the slicer you were originally confused about :

vlinhuizhmsft_4-1723181366974.png

When filtering in both cross-filter direction, the final result is as follows: when you select a customer in the Customer slicer, the Project slicer automatically updates to show only the projects associated with that customer. Similarly, when you select a project in the Project slicer, the Customer slicer automatically updates to show only the customers associated with that project:

vlinhuizhmsft_2-1723172127054.pngvlinhuizhmsft_3-1723172143664.png

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

djurecicK2
Super User
Super User

Hi @sbott ,

 What you are seeing is the default slicer behavior. This video has some options for you:

https://www.youtube.com/watch?v=1yv5srlqgmI

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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