sql server - How can I merge output of two queries on two different databases in one single view on Tableau -
i working 2 ms-sql databases , using query on each database, able data in format common both databases (i.e same column names , datatypes of field values). brief overview of data is:
output 1 :
col1 col2 col3 1 1 2 1 1 2
output 2:
col1 col2 col3 b 2 1 c 3 1 d 1 3
and want below data in single view on tableau:
col1 col2 col3 1 1 2 1 1 2 b 2 1 c 3 1 d 1 3
i have tried creating clipboard data source, issue came when tried creating calculated fields based on previous 2 data sources. permits have calculated field value aggregate value. want original value , not aggregate. needed here!
if 2 databases accessible common database user, use union all
merge 2 queries 1 data set. you'll need write sql , create custom sql database table.
if aren't accessible common database user, possibility of doing linked databases db user can see both tables , union.
Comments
Post a Comment