# Data Explorer + Tableau

**URL:** https://meta.discourse.org/t/data-explorer-tableau/160010
**Category:** Data & reporting
**Tags:** sql-query
**Created:** [August 6, 2020, 10:17am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010 "2020-08-06T10:17:44Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 10:17am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/1 "2020-08-06T10:17:44Z")

</div>

Hey there Community!

Pretty much as in the title. We want to get some data from our [Data Explorer](https://meta.discourse.org/t/32566?silent=true) queries to Tableau report. Is there any guide / community thread that will guide us how to connect Tableau to our Discourse Data Source (which is PostgreSQL I guess).

Thanks a lot for the help!

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [August 6, 2020, 10:21am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/2 "2020-08-06T10:21:29Z")

</div>

The following article should give you some guidelines as Power BI & Tableau is almost the same 🙂

> [@Discourse Data Explorer Power BI integration](https://meta.discourse.org/t/tutorial-discourse-data-explorer-power-bi-integration/159577):
>
> Discourse [Data Explorer](https://meta.discourse.org/t/32566?silent=true) Power BI integration I recently made a cool Power BI function which fetches [Data Explorer](https://meta.discourse.org/t/32566?silent=true) data directly to Power BI with minimal overhead. Thus, if you are like me, and you wanted to have the data being automatically pulled and refreshed via the Power BI app, here’s the code of the function you should put in the Advanced Editor in Power BI: (queryID) =\> let resultCount = 1000, otherNameForPage = 0, GetPage = (otherNameForPage) =\> let…

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 10:39am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/3 "2020-08-06T10:39:48Z")

</div>

Thanks! Is there a way to simply configure it manually so I can connect the PostgreSQL database that [Data Explorer](https://meta.discourse.org/t/32566?silent=true) is running upon directly?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [August 6, 2020, 10:47am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/4 "2020-08-06T10:47:53Z")

</div>

the PostgreSQL DB is inside the discourse container.

I found this article. I hope this helps

> <https://stackoverflow.com/questions/37694987/connecting-to-postgresql-in-a-docker-container-from-outside>

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 11:49am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/5 "2020-08-06T11:49:05Z")

</div>

We’ll try that and eventually circle back to you!

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 11:51am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/6 "2020-08-06T11:51:32Z")

</div>

The problem is that there is no way to connect to PostgreSQL through docker when it comes to data sources in Tableau

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 11:56am UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/7 "2020-08-06T11:56:34Z")

</div>

I need to provide following details:

 ![Screenshot 2020-08-06 at 13.56.06](https://global.discourse-cdn.com/meta/original/3X/e/6/e6f99b55e6c0607e160eb805ee8a5e66eb4c852f.png)

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 12:14pm UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/8 "2020-08-06T12:14:09Z")

</div>

Can you provide me @IAmGav with further guidance on that?

---

<div class="post-metadata">

### Author: ![IAmGav](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamgav/32/235598_2.png) [@IAmGav](https://meta.discourse.org/u/IAmGav)
#### Post date: [August 6, 2020, 12:17pm UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/9 "2020-08-06T12:17:08Z")

</div>

Address would be discord IP

Username: root

Password: would be root password

Db name: note sure would need to go check it

Disclaimer: I have not done this myself yet

---

<div class="post-metadata">

### Author: ![Konrad\_Sopala](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/konrad_sopala/32/167014_2.png) [@Konrad\_Sopala](https://meta.discourse.org/u/Konrad_Sopala)
#### Post date: [August 6, 2020, 12:50pm UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/10 "2020-08-06T12:50:56Z")

</div>

Address would be Discord IP?

---

<div class="post-metadata">

### Author: ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)
#### Post date: [August 6, 2020, 1:00pm UTC](https://meta.discourse.org/t/data-explorer-tableau/160010/11 "2020-08-06T13:00:00Z")

</div>

Dear @Konrad_Sopala

The easiest way to accomplish what you want is to run Tableau in a Docker container.

That way, you can take advantage of the core Docker networking capablities between containers.

However, if you run Tableau outside Docker, you are going to have “a bear of a time” trying to get this to work smoothly.

Hope this helps.

Reference:

[https://databoss.starschema.net/tableau-server-linux-docker-container/](https://databoss.starschema.net/tableau-server-linux-docker-container/)

See also:

[https://github.com/tfoldi/tableau-server-docker](https://github.com/tfoldi/tableau-server-docker)

Note: This docker image might help things along (not tested or checked out):

> **[pvtmert/tableau - Docker Image](https://hub.docker.com/r/pvtmert/tableau)**
