Forum Discussion
Download/Export all queries [SQL statements] from Power BI Desktop
- 7 years ago
Hi elementaryraja ,
Please follow the steps below.
1. Extract the pbix file and then find the Datamashup
2. Extract the DataMashup
3.Find the Formula folder and find the Section1 file and open it with Notepad.
Best Regards,
Cherry
One way:
1. Make a copy of the PBIX.
2. Change the extension to zip
3. open the DataMashup file with notepad.
4. search for: Query=
It will not be formatted nicely, though.
- elementaryraja7 years agoRegular Visitor
I renamed as zip file and opened it up with notepad, but still couldn't find query
- v-piga-msft7 years ago
Resident Rockstar
Hi elementaryraja ,
Please follow the steps below.
1. Extract the pbix file and then find the Datamashup
2. Extract the DataMashup
3.Find the Formula folder and find the Section1 file and open it with Notepad.
Best Regards,
Cherry
- Bal_Singh1 year ago
Helper I
Hi v-piga-msft ,
I followed your steps but in my case I don't see the folder 'DataMashup' unfortunately. Any thoughts please? Thanks.