# Rules error

**URL:** <https://community.amazonquick.com/t/rules-error/23763>\
**Category:** Q&A\
**Tags:** analysis, Business-Intelligence-Engineer, quick-sight\
**Created:** [January 17, 2024, 5:12am UTC](https://community.amazonquick.com/t/rules-error/23763 "2024-01-17T05:12:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vysh27](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@Vysh27](https://community.amazonquick.com/u/Vysh27)\
**Post date:** [January 17, 2024, 5:12am UTC](https://community.amazonquick.com/t/rules-error/23763/1 "2024-01-17T05:12:55Z")

</div>

Hi Community , I’ve given certain rules for stat time so that it’s visible only when stat test time is equal to selected ttm vs other ttm  
But everytime even when one condition gets true it’s not hidden  
Is there anyway that I can get this hidden only for that condition?  
 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/4/d/4df34775c6967f4157adda41c33bf4e0476d7c7b.png)  
 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/3X/f/d/fd33349a8052a55702339e5657e3b403dff0881a.png)

---

<div class="post-metadata">

**Author:** ![peteve](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@peteve](https://community.amazonquick.com/u/peteve)\
**Post date:** [January 17, 2024, 12:02pm UTC](https://community.amazonquick.com/t/rules-error/23763/2 "2024-01-17T12:02:43Z")

</div>

Are you using a Filter with the filter Control pinned to the sheet to do this?

> **[Adding filter controls to analysis sheets - Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html)**
>
> Use a filter control with a visual in Amazon QuickSight.

---

<div class="post-metadata">

**Author:** ![Vysh27](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@Vysh27](https://community.amazonquick.com/u/Vysh27)\
**Post date:** [January 17, 2024, 12:32pm UTC](https://community.amazonquick.com/t/rules-error/23763/3 "2024-01-17T12:32:20Z")

</div>

Hi @peteve , I’m using a parameter and i’ve given rules to those parameters

---

<div class="post-metadata">

**Author:** ![peteve](https://avatars.discourse-cdn.com/v4/letter/p/2acd7d/32.png) [@peteve](https://community.amazonquick.com/u/peteve)\
**Post date:** [January 17, 2024, 4:03pm UTC](https://community.amazonquick.com/t/rules-error/23763/4 "2024-01-17T16:03:29Z")

</div>

Do you see the same behaviour when you publish the analysis as a dashboard? In an Analysis, the visual will always remain, but should display the text “hidden based on rule” rather than actually hide the visual.

---

<div class="post-metadata">

**Author:** ![Vysh27](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@Vysh27](https://community.amazonquick.com/u/Vysh27)\
**Post date:** [January 23, 2024, 6:01am UTC](https://community.amazonquick.com/t/rules-error/23763/5 "2024-01-23T06:01:40Z")

</div>

Yes @peteve ,I can see the same behaviour after publishing it

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [January 23, 2024, 7:00am UTC](https://community.amazonquick.com/t/rules-error/23763/6 "2024-01-23T07:00:15Z")

</div>

Hi @Vysh27  
can you plse share the rule definition?  
BR

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [February 5, 2024, 2:50pm UTC](https://community.amazonquick.com/t/rules-error/23763/7 "2024-02-05T14:50:02Z")

</div>

Hi @Vysh27  
any updates?  
BR

---

<div class="post-metadata">

**Author:** ![Vysh27](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@Vysh27](https://community.amazonquick.com/u/Vysh27)\
**Post date:** [February 12, 2024, 12:27pm UTC](https://community.amazonquick.com/t/rules-error/23763/8 "2024-02-12T12:27:59Z")

</div>

Hi @ErikG , I’ve created different controls for each now so it’s fine

---

<div class="post-metadata">

**Author:** ![ErikG](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/erikg/32/14524_2.png) [@ErikG](https://community.amazonquick.com/u/ErikG)\
**Post date:** [February 12, 2024, 1:28pm UTC](https://community.amazonquick.com/t/rules-error/23763/9 "2024-02-12T13:28:06Z")

</div>

perfect. could you please solve the topic?
