Forum Discussion

bukhari1979's avatar
bukhari1979
Frequent Visitor
8 years ago
Solved

Import Data With UNION Join in SQL

Hi n Hello

 

I am trying to Import Data into PBI using an SQL with UNION join  (sample below)

 

Select col1, Col2, sum(Col3) from table1 group bt col1, col2
UNION
Select col1, Col2, sum(Col3) from table2 group bt col1, col2

 

However I am having this error

 

UNABLE TO CONNECT

Details: "Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)"

 

Please take note that I am connect to the same database and running the same SQL in the SQL Server Management Studio