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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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