Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

SQL Query behind report !

Hi   I have a report which is based on 4 tables/views which are linked in a model relationship.   The report was written by someone else who has left.   I am a SQL guy and I cant work out how t...
  • PhilipTreacy's avatar
    PhilipTreacy
    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