# Connecting to Tableau: Tableau could not generate a query to perform this operation

**URL:** <https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517>\
**Category:** Elasticsearch\
**Tags:** jdbc\
**Created:** [September 7, 2023, 10:31am UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517 "2023-09-07T10:31:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krikkits](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krikkits/32/125421_2.png) [@Krikkits](https://discuss.elastic.co/u/Krikkits)\
**Post date:** [September 7, 2023, 10:31am UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/1 "2023-09-07T10:31:28Z")

</div>

I have Elasticsearch 7.17.3 and the latest Tableau Desktop (trial version). I followed the documentation (v. 7.17.3 connectors as well) on how to connect them and it works. However, even though the tables are shown within Tableau, I get an error as soon as I click on any of them, this is shown in the logs:

"excp-error-code":"0xBAD0A3FA","excp-source":"NeedsClassification","excp-status-code":"UNKNOWN"  
"details": Tableau could not generate a query to perform this operation.

I tried reaching out to Tableau and they told me I should ask the creator of the connector instead, so here I am.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 7, 2023, 12:56pm UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/2 "2023-09-07T12:56:13Z")

</div>

Hi @Krikkits,

Welcome to the community! I assume you are using [this Tableau connector](https://www.elastic.co/downloads/tableau-connector). Which version of the connector are you using?

---

<div class="post-metadata">

**Author:** ![Krikkits](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krikkits/32/125421_2.png) [@Krikkits](https://discuss.elastic.co/u/Krikkits)\
**Post date:** [September 7, 2023, 2:27pm UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/3 "2023-09-07T14:27:55Z")

</div>

Thanks @carly.richmond! I downlaoded 7.17.3 to match my Elastic (which happens to be a docker image).

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [September 8, 2023, 9:07am UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/4 "2023-09-08T09:07:39Z")

</div>

Thanks for confirming. Is that the only error you have on the Tableau side? Do you have any errors in the Elasticsearch log at all?

---

<div class="post-metadata">

**Author:** ![Krikkits](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krikkits/32/125421_2.png) [@Krikkits](https://discuss.elastic.co/u/Krikkits)\
**Post date:** [September 8, 2023, 10:17am UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/5 "2023-09-08T10:17:06Z")

</div>

I looked in the Kibana logs and there were no error. Nothing looks out of the ordinary and this is what the logs show when I try to interact with a table:

```auto
{"type":"response","@timestamp":"2023-09-08T10:15:08+00:00","tags":[],"pid":7,"method":"head","statusCode":302,"req":{"url":"/","method":"head","headers":{"host":"localhost:5601","user-agent":"curl/7.68.0","accept":"*/*"},"remoteAddress":"127.0.0.1","userAgent":"curl/7.68.0"},"res":{"statusCode":302,"responseTime":4},"message":"HEAD / 302 4ms"}

```

Just in case I will also attach a screenshot of what my Tableau looks like with the error:

 ![tableau error](https://us1.discourse-cdn.com/elastic/original/3X/4/f/4f4b06707726fe3bde80605c7dca03c5e5b6b9b5.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 6, 2023, 10:18am UTC](https://discuss.elastic.co/t/connecting-to-tableau-tableau-could-not-generate-a-query-to-perform-this-operation/342517/6 "2023-10-06T10:18:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
