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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Get the name of .pbix file

Hi,
How to get the filename . pbix we are working on, inside . pbix itself?
Any ideas?

Thanks
JM

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Unfortunately, this feature is currently unavailable. If your pbix file name is the same as the data source name, maybe you can try to get the data source name. 

Please refer to

Power Query: Get File Name - Microsoft Tech Community

power query add column with file name - Microsoft Tech Community

Solved: Get current file name within PowerQuery Editor - Microsoft Power BI Community

 

 

 

Best Regards,

Stephen Tao

 

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

Vijay_A_Verma
Super User
Super User

As of now, there is no way to retrieve file name either in DAX or M. This is a limitation. I would suggest that you should post this idea for Power BI engineers to consider it @ https://ideas.powerbi.com/ 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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