How can I set up cascading slicers in Power BI where one slicer s options depend on the selection of another

0 votes
How can I set up cascading slicers in Power BI, where one slicer’s options depend on the selection of another?

In my Power BI report, I’d like to create cascading slicers, where the options in one slicer adjust dynamically based on the selection in another slicer. I’m seeking guidance on setting up these interconnected slicers to refine data filtering, including the steps required to configure slicers for seamless interactivity between related data fields.
Nov 14, 2024 in Power BI by Evanjalin
• 19,330 points
141 views

2 answers to this question.

0 votes

In Power BI, cascading slicers are slicers that filter the selection available in the second slicer, making it dependent on what has been selected in the first. To do this, steps must be followed to create and manage the related filtering functions.

  • Define Relationships Between Tables: First of all, make sure that the data model created has correct relationships between the corresponding fields that will be used as cascading slicers. For instance, in the case of a slicer, such as “Country” and “City,” make sure that the two slicer fields are related tables (ex Country > City) so that the cascading effect can take place. This is important because, without this relationship, Power BI cannot cascade the slicers, as it uses relationships to cross-filter the data from different tables.
  • Create Slicers Individually: Create slicers for the fields that you need. For this, place the respective field, e.g., country and city, in the report canvas, and from the visualization pane, choose slicer visual. Order the slicers according to the sequence of meaning, i.e., the first parent slicer country will be placed above the second child city slicer.
  • Enable Cross-Filtering: By default, slider options should affect other slab options if any relationship is created in the data model. Check its suitability through the Edit Interactions feature under the Format tab in Power BI. For instance, click on the upper-class slicer country and ensure that it is ticked in the dependent class city slicer. This will prevent the slicer of the city from being active and showing all the options except for that pertaining to the country that has been selected.
  • Evaluation and Improvement of User Experience: Once setup has been completed, run some tests on your cascading slicers to check whether they work as intended. For instance, choose an item from the parent slicer (say, a specific country) and check that the child slicer (for example, cities) updates to display only the relevant selections. One may also wish to refine some of the proposed formatting options in order to improve the ease of use for the end user, such as providing appropriate titles or instructions to accompany the cascading selections.

Based on the aforementioned guidance, you should have achieved the ability to add cascading slicers into your Power BI report that automatically refresh when a user makes a selection. This will aid users in filtering information easily.

answered Nov 14, 2024 by pooja
• 16,840 points
0 votes
Use the dependent slicers by making a relationship between tables and applying filter context. Activate the feature of sync on the slicer that facilitates cross-filtering of a linked visual by updating based on selection in the slicer.
answered Jan 23 by anonymous
• 16,840 points

Related Questions In Power BI

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How can I reduce the dataset size of a Power BI model that keeps hitting memory limits on Power BI Service?

In order to shrink the Power BI ...READ MORE

answered 2 days ago in Power BI by anonymous
• 19,330 points
20 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,523 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,130 points
2,870 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,652 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited Mar 5 1,797 views
0 votes
0 answers

How can I automate data refreshes in Power BI, and what are the scripting options available?

How can I automate data refreshes in ...READ MORE

Oct 21, 2024 in Power BI by Evanjalin
• 19,330 points
243 views
+1 vote
2 answers

How can I automate data refreshes in Power BI, and what are the scripting options available?

You can use the Scheduled Refresh option ...READ MORE

answered Nov 20, 2024 in Power BI by Anu
• 2,840 points
226 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP