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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
adityavighne
Continued Contributor
Continued Contributor

Get File path in Power query

Hi All,

 

i would like to get file path in colum in power query. How wold i get that?

 

my Table look like this:

Number | Name | File Path

1            | ABC    | 

2            | XYZ     | 

 

This data is appended from multiple tables so want to know file source 

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

Hi @adityavighne ,

 

According to your statement, you have a table which is appended from multiple tables. Now you want to show your table with multiple tables' ID, Name and File Path.

As far as I know, if you want to append your tables, those tables must be loaded and export instead of show file path in Source step.

Here I have two workrounds.

1. Move all data source into one folder and than import data by Folder connector. You can combine tables by your requirement.

RicoZhou_0-1668669098762.png

For reference:Combine files (binaries) in Power BI Desktop

 

2. You can see file path in Source step. So remove all steps in those tables and go back to Source Step. And append those tables.

 

Best Regards,
Rico Zhou

 

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

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @adityavighne ,

 

According to your statement, you have a table which is appended from multiple tables. Now you want to show your table with multiple tables' ID, Name and File Path.

As far as I know, if you want to append your tables, those tables must be loaded and export instead of show file path in Source step.

Here I have two workrounds.

1. Move all data source into one folder and than import data by Folder connector. You can combine tables by your requirement.

RicoZhou_0-1668669098762.png

For reference:Combine files (binaries) in Power BI Desktop

 

2. You can see file path in Source step. So remove all steps in those tables and go back to Source Step. And append those tables.

 

Best Regards,
Rico Zhou

 

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

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.