For most relational data sources you can connect to a
specific query rather then the entire data source. Often this can be
useful when you know exactly the information you need and you understand
how to write SQL queries.
- Select Custom SQL in the connection dialog box.
- Type or paste the query into the text box. The button in the upper right corner of the text box opens a larger editing window for more complex queries.
When you finish the connection, only the relevant fields display in the Tableau Data window.
If your SQL query references duplicate columns, you may get
errors when trying to use one of the columns in Tableau. This will
happen even if the query is valid. For example, consider the following
query:
SELECT * from authors, titleauthor where authors.au_id = titleauthor.au_id
The query is valid, but the au_id
field is ambiguous because it exists in both the “authors” table and
the “titleauthor” table. Tableau will connect to the query but you will
get an error anytime you try to use the au_id field. That’s because Tableau doesn’t know which table you are referring to.
Nice Short information is excellent
ReplyDeleteTableau online training
This comment has been removed by the author.
ReplyDeleteHi, I would like to check if it is possible to restrict users' access to the original data sources e.g. two tables. Instead I will write a custom SQL that reads data from these two base tables to restrict the columns and also add some calculated fields. Is this possible?
ReplyDeletei.e. allow access to custom sql but not base tables in Tableau. Appreciate your sharing and advice. Thank you.
This comment has been removed by the author.
ReplyDeleteWow,I think this is a very good and informative post about Tableau.
ReplyDeleteTableau Rest Api Connection
Hey there, thanks for sharing this informational article. If you are looking for ways to learn tableau then click here to find out how.
ReplyDeleteExcellent and informative article as usual. I shall try to follow your valuable tips, mostly l like the content harmony. This article helps me to be an established blogger. Keep going.
ReplyDeleteData Science Training in Hyderabad
Hadoop Training in Hyderabad
Java Training in Hyderabad
Python online Training in Hyderabad
Tableau online Training in Hyderabad
Blockchain online Training in Hyderabad
informatica online Training in Hyderabad
devops online Training
Really thanks for posting such an useful and informative stuff..
ReplyDeleteSalesforce Training Online
Thanks for your valuable information. Its very good article.
ReplyDeleteservicenow training
servicenow certification
Nice Information, Thanks for sharing such great information.
ReplyDeletePython Online Training
Python Online Training in Chennai
Python Online Course in Chennai
Python Online Course
Thanks for Sharing.
ReplyDeleteData Science Online Training
python Online Training
SAP Basis online training
ReplyDeleteSAP mm online training
oracle adf training course
oracle rac online training
office 365 online training
business analyst online training
business analyst online training
sql azure online training
hyperion online training
This comment has been removed by the author.
ReplyDeleteThank you for sharing wonderful information with us to get some idea about it.
ReplyDeletetableau online training
I really enjoy the blog article.Much thanks again.
ReplyDelete. net online training
dot net online training hydarabad
Hi, I read your whole blog. This is very nice. Good to know about the career in. Python Training & Certification , anyone interested can Python Training for making their career in this field.
ReplyDelete