Forum Discussion
Get the SQL query for a dashboard
I built a specific dashboard with data coming in from CSVs. Now I have to build that same dashboard in SSRS
and so I was wondering if there was any way I could either:
1. Get all the data from that dashboard : I know the limit of exporting data in Power BI
2. Get the SQL query that the dashboard may have produced: I am not sure if Power BI does this
3. Any other suggestion you can have rather than having to recreate everything in SQL again
About #1 (Exporting the data), this might be a good idea if it's a one-time effort and if your data < 1 million rows. To do this, I'd create a table visual in Power BI, and include all the fields that you want to export.
About #2, in Power BI, if your data is being imported from CSV files, then there is no SQL query behind the scenes, only M code which combines/transforms your data. (You can see the M code from the Query Editor --> Advanced Editor).
About #3, Nothing new comes to mind.
1 Reply
- jshuttersResolver I
About #1 (Exporting the data), this might be a good idea if it's a one-time effort and if your data < 1 million rows. To do this, I'd create a table visual in Power BI, and include all the fields that you want to export.
About #2, in Power BI, if your data is being imported from CSV files, then there is no SQL query behind the scenes, only M code which combines/transforms your data. (You can see the M code from the Query Editor --> Advanced Editor).
About #3, Nothing new comes to mind.