Forum Discussion
bobli
5 years agoFrequent Visitor
Query result to embed table
Hello, Is there a way to embed the query result directly to powerbi report so that I can remove the dependence on the external file? The ideal case would be the "Enter Data" but the data is a litt...
- Anonymous5 years ago
Hi bobli ,
You could use Import mode to load data first, then copy the table and paste the table in enter data feature.
Best Regards,
Jay
PhilipTreacy
5 years agoSuper User
Hi bobli
You could use DAX to create the table directly in the Data Model.
Creating a Table in Power BI Using DAX Table Constructor - RADACAD
Create Static Tables in DAX Using the DATATABLE Function - SQLBI
Using DataTable DAX Function for Creating Structured Table in Power BI - RADACAD
regards
Phil
- bobli5 years agoFrequent Visitor
Thanks for the advice. Is there any reference to pass the query result into the Table or DataTable function?
- PhilipTreacy5 years agoSuper User
Hi bobli
Sorry I don't know any way to explicitly do that. Once the data is loaded into PQ it is automatically loaded into the Data Model on Close & Apply.
Regards
Phil