Forum Discussion
rnola16
Advocate II
1 year agoNATURALINNERJOIN - Large Tables
Hi, I got two large tables in our database (Teradata) each having 300 cols and 3 billion records. In PBI, using direct query I brought in 3 fields from each of the tables and created a relatio...
rnola16
Advocate II
1 year agoWas trying to establish a join relationship between two tables without needing to do a customized SQL in direct query. The tables does have parameters on date and other cols. I do not need the million data points into my result but to query against the two tables.
sample query :
SELECT A.EMP_ID, B.NAME
FROM
A LEFT OUTER JOIN B ON A.ID = B.ID
WHERE
A.EMP_ID = 'Pamater1' and B.NAME = 'Parameter2' and B.Date >= 'Parameter3'
Deku
Super User
1 year agoIt's still not clear why you are manually creating a query with a inner join. With a tabular model if you have a relationship defined you don't need to mention it in the DAX query, it's inherent