Forum Discussion
SQL Query behind report !
- 5 years ago
Hi Anonymous
There is no single query that represents the model. The data you see presented in the visuals is a mix of the tables in Power Query and the Columns and Measures created in Power Pivot (Data View).
You are asking to see a combined SQL query - even if all the data is loaded from a SQL database there are still transformations made in Power Query and other modelling happening in Power Pivot/DAX that are not part of any SQL command.
Regards
Phil
Thanks but I dont think I am explaining myself correctly. Yes if I go into power query I can see the 4 tables and views but I cant see the full query that represents the model when all the tables/views are joined together. If I try to simulate the sql query for the model using 3 joins the data does not match what powerbi shows so I just want to see what the combined sql query is that gives me the result in a visual bases of course whatever filters have been applied..
does that make sense.. thanks
- PhilipTreacy5 years agoSuper User
Hi Anonymous
There is no single query that represents the model. The data you see presented in the visuals is a mix of the tables in Power Query and the Columns and Measures created in Power Pivot (Data View).
You are asking to see a combined SQL query - even if all the data is loaded from a SQL database there are still transformations made in Power Query and other modelling happening in Power Pivot/DAX that are not part of any SQL command.
Regards
Phil