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

Slice the slicers

The system of the database I'm working on, is a SaaS which is being used from many companies. The different companies are listed in the 'Companies' table!

 

I have a fact Sales table, and 3 dimension tables: Companies, Customers and Article Categories, which can be connected to the fact table. The 'Companies' table can also be connected to Customers and Article Categories dimensions (and create a snowflake schema). Due to ambiguity, Power BI allows me to activate a relationship between Companies and only one of the three tables. 

I want to have Companies, Customers and Article Categories as slicers. I also want that the 'Companies' slicers, to slice the other 2 slicers when selected, and all visuals change accordingly. The point here is that when I select a company 'X', I want only the Customers and Article Categories of that company 'X' to be shown. Can anyone help?

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Create a measure to use as a filter inthe filter pane for each slicer:

Filter = COUNTROWS (RELATEDTABLE (Sales Table))

add this measure to the filter pane for each slicer and set the value to greater or equal to 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

Create a measure to use as a filter inthe filter pane for each slicer:

Filter = COUNTROWS (RELATEDTABLE (Sales Table))

add this measure to the filter pane for each slicer and set the value to greater or equal to 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Pragati11
Super User
Super User

Hi @Anonymous ,

 

Can you share a screenshot of your data model for all the above tables? What relationships have you got, etc.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi Pragati11,  this is the model which contains a fact table and 3 dimensions table. I want to use Companies table as a slicer which slices other dimensions: Article Categories and CustomersHi Pragati11, this is the model which contains a fact table and 3 dimensions table. I want to use Companies table as a slicer which slices other dimensions: Article Categories and Customers

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.