# Cascading filters not updating correctly

**URL:** <https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450>\
**Category:** Q&A\
**Tags:** error, feature-request, filters-controls-and-parameters, quick-sight\
**Created:** [March 24, 2023, 5:04pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450 "2023-03-24T17:04:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsquick123](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@tsquick123](https://community.amazonquick.com/u/tsquick123)\
**Post date:** [March 24, 2023, 5:04pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/1 "2023-03-24T17:04:29Z")

</div>

I have a cascading filter setup so that filter control HQID determines the content of my other controls (i.e., show relevant values).

When I change my selection in HQID, the current selection in the other controls are not relevant anymore and I have to reset it manually. The previous values remain and still affect the visuals that are tied to these controls.

The expected behaviour is the cascading filters trigger a reset or update of downstream filters when the upstream filters update.

Gif of error:

![cascadingfilter_bug](https://d1wl4jav5dp96l.cloudfront.net/original/2X/9/909671871eee8fa3f434814ff3a977b08b47ae97.gif)

This feels like a duplication of this other [other post](https://community.amazonquick.com/t/reset-filter-control-based-on-new-selection-in-cascading-filters/1210/1), but I don’t see how it has been resolved by the solution.

---

<div class="post-metadata">

**Author:** ![Kristin](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/kristin/32/2470_2.png) [@Kristin](https://community.amazonquick.com/u/Kristin)\
**Post date:** [March 24, 2023, 10:55pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/2 "2023-03-24T22:55:38Z")

</div>

@David_Wong @Kellie_Burton Any thoughts here? Looping you in since @tsquick123 is cross referencing your posts from another thread. Thx!

---

<div class="post-metadata">

**Author:** ![David\_Wong](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/david_wong/32/15630_2.png) [@David\_Wong](https://community.amazonquick.com/u/David_Wong)\
**Post date:** [March 24, 2023, 11:29pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/3 "2023-03-24T23:29:16Z")

</div>

As far as I know, this limitation still exists. Using an example that people may be more familiar with, let’s say we have 2 cascading filters - Country and City. I configure the City filter to show relevant values based on what’s selected in the Country filter.

If I select United States and Seattle, and then change the country to France, currently Seattle remains selected. Since Seattle is not relevant to France anymore, I would expect the City filter to get reset to “All”. I shouldn’t have to reset it manually.

---

<div class="post-metadata">

**Author:** ![Kristin](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/kristin/32/2470_2.png) [@Kristin](https://community.amazonquick.com/u/Kristin)\
**Post date:** [March 25, 2023, 5:50pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/4 "2023-03-25T17:50:02Z")

</div>

Thanks, @David_Wong for circling back so quickly.

---

<div class="post-metadata">

**Author:** ![tsquick123](https://avatars.discourse-cdn.com/v4/letter/t/eb9ed0/32.png) [@tsquick123](https://community.amazonquick.com/u/tsquick123)\
**Post date:** [March 27, 2023, 8:24am UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/5 "2023-03-27T08:24:37Z")

</div>

@David_Wong Thanks very much for this example, it describes the current limitation perfectly.

@Kristin Is this something that can be resolved in the future? i.e., adding in logic that when cascading filters are triggered by a change in the dominant filter (e…g, Country in David’s example), downstream filters will auto-update the selected value (City) and update the visuals tied to these filters accordingly? Presumably with the downstream filter defaulting back to the Default/Reserved value if no values in the dataset match the updated filter criteria?

---

<div class="post-metadata">

**Author:** ![Thomas](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/thomas/32/3624_2.png) [@Thomas](https://community.amazonquick.com/u/Thomas)\
**Post date:** [March 28, 2023, 7:17am UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/6 "2023-03-28T07:17:31Z")

</div>

Hi @tsquick123,  
Thanks for you feedback. The desired behavior of cascading filters strongly depends on the use case, but I understand why you’d like to see the described behavior. In case you are embedding your dashboard in your application, you can leverage parameters that you link to your controls and then use the [JS embed SDK](https://www.npmjs.com/package/amazon-quicksight-embedding-sdk/v/latest) functionality to listen to `PARAMETERS_CHANGED` events to then reset the parameters linked to the dependent controls from your application (using the `setParameters` function).

At AWS, our roadmap is primarily driven by our customers. Your feedback helps us build a better service. I have noted this in our internal feature request tracker.

---

<div class="post-metadata">

**Author:** ![Kristin](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/kristin/32/2470_2.png) [@Kristin](https://community.amazonquick.com/u/Kristin)\
**Post date:** [April 7, 2023, 5:55am UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/7 "2023-04-07T05:55:27Z")

</div>

@tsquick123 Thanks so much for your feedback. Hope Thomas’ reply was helpful. This has been tagged as a feature request.

---

<div class="post-metadata">

**Author:** ![Kristin](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/kristin/32/2470_2.png) [@Kristin](https://community.amazonquick.com/u/Kristin)\
**Post date:** [April 7, 2023, 9:33pm UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/8 "2023-04-07T21:33:39Z")

</div>

Unlisted on April 7, 2023, 9:33pm UTC



---

<div class="post-metadata">

**Author:** ![Kristin](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/kristin/32/2470_2.png) [@Kristin](https://community.amazonquick.com/u/Kristin)\
**Post date:** [April 14, 2023, 6:10am UTC](https://community.amazonquick.com/t/cascading-filters-not-updating-correctly/11450/9 "2023-04-14T06:10:52Z")

</div>

Archived on April 14, 2023, 6:10am UTC


