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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Getting the name of the report into a measure

Is there any way to include the name of the report into a measure, like name of the report "Report_1.pbix" and then the measure will return that?

3 REPLIES 3
v-chenwuz-msft
Community Support
Community Support

Hi @Anonymous ,

 

No, there in no such a dax can reach that. But you can use get data from folder where the pbix file saved. Then there will be a table contains all the files in the folder and try to slice the row which is about your pbix. At last, use max('table'[file name]) to get it.

 

Best Regards

Community Support Team _ chenwu zhu

 

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

Anonymous
Not applicable

Hi @v-chenwuz-msft

Thanks for the feedback, the problem is that the directory is changing and we would like to have an universal solution, is there any way to retrieve that kind of information right from the PBI report, from the metadatas or anywhere else? 

Greg_Deckler
Community Champion
Community Champion

@Anonymous Not dynamically but you can create a measure Measure = "Report_1.pbix" and display it in a Card visualization for example.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors