Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
aoliver
Helper III
Helper III

All queries in 1 file

It is possible to export all the queries of a .pbix in a txt or other format?

Thanks in advance

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @aoliver 

After my research, I'm afraid it couldn't achieve in Power BI for now.

You could open the pbix file and in Eidt queries, then select each query Click->Home->

Advanced Editor, then copy the query code and paste it in a text or other format.

12.JPG

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-lili6-msft
Community Support
Community Support

hi, @aoliver 

After my research, I'm afraid it couldn't achieve in Power BI for now.

You could open the pbix file and in Eidt queries, then select each query Click->Home->

Advanced Editor, then copy the query code and paste it in a text or other format.

12.JPG

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thanks for the answer

It's a pity that it must be done "manually"

 

Best regards

hi, @aoliver 

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

oh, sorry for not mark your answer, 

thanks

tex628
Community Champion
Community Champion

I would also like to know if this is possible! 🙂


Connect on LinkedIn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.