# Integrating Athen with Quicksight

**URL:** <https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034>\
**Category:** Q&A\
**Tags:** admin, quick-sight\
**Created:** [June 6, 2024, 10:30pm UTC](https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034 "2024-06-06T22:30:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsurolia](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@hsurolia](https://community.amazonquick.com/u/hsurolia)\
**Post date:** [June 6, 2024, 10:30pm UTC](https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034/1 "2024-06-06T22:30:01Z")

</div>

I’m fairly new to Athena and Quicksight, I’m trying to connect Athena to Quicksight and while creating the dataset I would like to perform a join operation. Can join operation be performed on Athena using Quicksight ? And if not what will be the best way to join the data.

---

<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:** [June 7, 2024, 2:28am UTC](https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034/2 "2024-06-07T02:28:08Z")

</div>

Hi @hsurolia - Welcome to AWS Quick Sight community and thanks for posting the question. Yes, you can bring the data sets from Athena and do the join operation in Quick Sight. If all data sets are from Athena, you can also write a custom sql and run the custom sql by connecting athena from quicksight.

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![hsurolia](https://avatars.discourse-cdn.com/v4/letter/h/ba9def/32.png) [@hsurolia](https://community.amazonquick.com/u/hsurolia)\
**Post date:** [June 7, 2024, 7:22am UTC](https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034/3 "2024-06-07T07:22:42Z")

</div>

Hello @Sanjeeb2022 Thanks for the reply. One question about the custom sql, if I write a custom sql then a) will the sql run on the source and data will be pulled into quicksight or b) The data will be pulled into quicksight and then the custom sql will run on quicksight.

Thanks - Harshvardhan

---

<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:** [June 7, 2024, 12:03pm UTC](https://community.amazonquick.com/t/integrating-athen-with-quicksight/31034/4 "2024-06-07T12:03:55Z")

</div>

Hi @hsurolia - The custom sql will execute in source and the result set will be pulled to Quick Sight.

Regards - Sanjeeb
