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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
aasamassa
Frequent Visitor

Slicer not applying to all visuals

I have made a dashboard for operational KPI's with a slicer for the different production lines but it applies only to one of the visuals (quality).  You can see in this snapshot, I have selected the line PL2 but for the safety visuals for example, it is displaying 34 incidents, which is the sum for all the lines and not only Line2.

aasamassa_0-1701966854225.png

I have added the table view which shopws what the visual is supposed to display and also the model view.  I wanted to add a separate table for the lines and then link it to the other tables but it gives an error as the calendar is the central table. Linking the existing tables through the column 'Line' also doesn't work.

aasamassa_3-1701967117212.png

 

aasamassa_2-1701967106531.png

 

 

 

 

1 ACCEPTED SOLUTION

Thanks, I checked it and it was already set to interact with the visual.

 

I think the issue was with the data model. The slicer was using the column 'line' from the table 'quality' and as the cross-filtering was set to 'both' for the all the tables in the model view, I thought that it would've affected the other visuals. 

 

I modified the model and added a table 'Lines' that i linked to the other tables with the cross-filtering direction set to 'single' and now it seems like it is working.

aasamassa_0-1701977496094.png

 

Apart from adding an extra table, is there any other way to make the slicer affect all the visuals?

Here is a sample of the data I am using

 

Safety:

DateLineNear MissIncidentsSafety Habits
2023-12-04PL2032
2023-12-04PL3040
2023-12-04PL4102
2023-12-04PL5145
2023-12-04PL6404
2023-12-04PL7432

 

Quality:

 

DateLineNumber of defectsNumber of rework
2023-12-04PL241
2023-12-04PL350
2023-12-04PL453
2023-12-04PL502

 

View solution in original post

4 REPLIES 4
AlexisOlson
Super User
Super User

The first thing I'd check is that the slicer is set to interact with the Safety visual. Make sure the cross-filtering hasn't been disabled via Format > Edit Interactions.
https://learn.microsoft.com/en-us/power-bi/create-reports/service-reports-visual-interactions

Thanks, I checked it and it was already set to interact with the visual.

 

I think the issue was with the data model. The slicer was using the column 'line' from the table 'quality' and as the cross-filtering was set to 'both' for the all the tables in the model view, I thought that it would've affected the other visuals. 

 

I modified the model and added a table 'Lines' that i linked to the other tables with the cross-filtering direction set to 'single' and now it seems like it is working.

aasamassa_0-1701977496094.png

 

Apart from adding an extra table, is there any other way to make the slicer affect all the visuals?

Here is a sample of the data I am using

 

Safety:

DateLineNear MissIncidentsSafety Habits
2023-12-04PL2032
2023-12-04PL3040
2023-12-04PL4102
2023-12-04PL5145
2023-12-04PL6404
2023-12-04PL7432

 

Quality:

 

DateLineNumber of defectsNumber of rework
2023-12-04PL241
2023-12-04PL350
2023-12-04PL453
2023-12-04PL502

 

If you want to have Line as a slicer that automatically filters each of the tables People, Safety, Quality, and Inventory, then creating these relationships is likely the best solution. Other methods are possible but more work and less computationally efficient.

Perfect thanks!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.