Forum Discussion
Pivot Live Direct Query Data
- 8 years ago
Hi Anonymous,
You use direct Query mode, the data is not imported into Power BI, and there are many limitations about direct mode. You'd better use SQL Code to get expected data as above said. Could you please mark reply as answer if you think it's helpful.
Thanks,
Angelia
Hi Anonymous,
You can use SQL functions PIVOT and UNPIVOT in SSMS and debug it to get expected result. When you type it in box highlighted in red line. You will load desired table.
Best Regards,
Angelia
- Anonymous8 years agoNot applicable
I will give this a try but not familiar with SQL code. I was hoping to be able to do it in Power BI but will look into this route. Thanks
- v-huizhn-msft8 years agoMicrosoft Employee
Hi Anonymous,
You use direct Query mode, the data is not imported into Power BI, and there are many limitations about direct mode. You'd better use SQL Code to get expected data as above said. Could you please mark reply as answer if you think it's helpful.
Thanks,
Angelia- Anonymous8 years agoNot applicable
I am still checking into this and waiting to see if there might be other ways to get this done, but am still looking into the SQL PIVOT. Thanks