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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

File metadata/how to hook into get data

Hello,

 

I am building a set of tools that should allow users to import their own data. 

Is it possible to get meta data about a source file used for data imports?

For instance, a user loads "User/Documents/Report March.xlsx". 

Does anyone know of a way to the get the path, size, type, name and put them in a card in the dashboard?

 

Thanks, Ruben

5 REPLIES 5
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

You can do it using the query editor.

the below article will guide you how

https://www.myonlinetraininghub.com/power-query-get-files-from-a-folder

 

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
Mariusz Repczynski


 

 

Anonymous
Not applicable

Thank you @Mariusz,

 

I'm afraid the example I gave was misleading as I mentioned a month, sorry. The data won't necessarily come from the same folder each time, or even be the next month. 

Can I get Information about any source file in general into a visualization?

 

Kindest regards,

Ruben

Hi @Anonymous 

 

How will it be obtained?

 

Best Regards,
Mariusz

Please feel free to connect with me.
Mariusz Repczynski

 

Anonymous
Not applicable

@Mariusz 

 

it will come from Get Data -> EXCEL or CSV/TEXT.

Any ideas? 🙂

 

Thanks, 

Ruben

 

Hi @Anonymous ,

 

I do not think is can be completed with Power Query Editor, because that the query based on another query name (or the name of table imported), but the table name user imported cannot be constant.

 

Best regards,

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

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.