# SQL Exception

**URL:** <https://community.amazonquick.com/t/sql-exception/15752>\
**Category:** Q&A\
**Tags:** SQL, error, quick-sight\
**Created:** [July 14, 2023, 11:36pm UTC](https://community.amazonquick.com/t/sql-exception/15752 "2023-07-14T23:36:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpanati](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tpanati](https://community.amazonquick.com/u/tpanati)\
**Post date:** [July 14, 2023, 11:36pm UTC](https://community.amazonquick.com/t/sql-exception/15752/1 "2023-07-14T23:36:15Z")

</div>

Hello,

When I apply a filter on the dataset along with the filter on the analysis sheet , the visuals throw this error. Is there any limit on the filters we apply? I have applied only 10-11 filters. When I disable the filter on the dataset it works fine. How do I rectify this?

 ![image](https://d1wl4jav5dp96l.cloudfront.net/original/2X/0/03f7bc109b62ca731ab809be5b1f159520751c2e.png)

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [July 15, 2023, 4:01am UTC](https://community.amazonquick.com/t/sql-exception/15752/2 "2023-07-15T04:01:59Z")

</div>

Hi @tpanati - From error, it looks like there is an error with filter. Can you please verify with each filter to track the error.

Regards- Sanjeeb

---

<div class="post-metadata">

**Author:** ![tpanati](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@tpanati](https://community.amazonquick.com/u/tpanati)\
**Post date:** [July 15, 2023, 5:09am UTC](https://community.amazonquick.com/t/sql-exception/15752/3 "2023-07-15T05:09:25Z")

</div>

Hi @Sanjeeb2022 ,

Does this error occur if the filter computation is messed up or the filter logic is right but the number of filter applied is the problem?

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [July 15, 2023, 8:11am UTC](https://community.amazonquick.com/t/sql-exception/15752/4 "2023-07-15T08:11:21Z")

</div>

Hi @tpanati - It depends, since you already tested without filter and the result is coming, so there is a problem with filter configuration. You have to perform a detail analysis for the same by selecting one filter one by one.

Regards - Sanjeeb
