Forum Discussion
Create Connection: This query contains transformations that cannot be used for live connection
- 9 years ago
Hi arobin,
Could you please test using a simple SQL statement? You can create a simple table named TableA in your database, then type the basic query statement using like: select * from TableA in Direct Query model, check if it works. Some function is not used in Direct Query model. If it works fine, it will document the function is unable. You'd better test step by step.
If the function is not used, please create a new result table, then import them to Power BI. If you have any issue, please let me know.
Best Regards,
Angelia
Hi,
Did you check the query in SSMS?
Hi Thiyagu,
I don't have SSMS installed yet. Trying to get the installer. I am using Oracle SQL Developer to test the query and that test query runs fine there. I wonder if that kind of query runs fine in SSMS. Thank a lot for your response Thiyagu. It helped me a lot as a newbie here.
- v-huizhn-msft9 years agoMicrosoft Employee
Hi arobin,
If the solution help your resolve your problem, please mark the corresponding reply as answer, so that other people can find solution easily.
Best Regards,
Angelia- arobin9 years agoFrequent Visitor
Hi Angelia,
Sorry for this late response.
I changed the code but still got the same error.
Select VENDOR.MDM_PAYMENT_TYPE, count(VENDOR.MDM_PAYMENT_TYPE)
FROM MDM_TRANSACTIONAL_VENDOR_ACCOUNTS_27 VENDOR
LEFT OUTER JOIN
(Select * from MDM_TRANSACTIONAL_VENDOR_ACCOUNTS_27_Keys where RemoteSystem='SAP_ECC_VENDOR') VENDOR_KEY
on(VENDOR.MDMInternalId=VENDOR_KEY.MDMInternalId)
Group by VENDOR.MDM_PAYMENT_TYPE
Order by VENDOR.MDM_PAYMENT_TYPE- v-huizhn-msft9 years agoMicrosoft Employee
Hi arobin,
First, you should debug your SQL statement to work fine in SSMS. The code run correctly in SSMS? Then you type it in Power BI. If you have any issue about T-SQL, please post your issue to Transact SQL forum to get professinal support.
Best Regards,
Angelia