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
annaRu1
New Member

Connecting a network drive to Power BI

Hello,

I've been struggling with connecting a network drive from my organization to Power BI. I am using 'Folder' connector. I need to retrieve a file from this drive based on two conditions: the name beginning with 'abcd' and 'data created' the latest. When I am doing the modifications and then Applying changes, I have such an error message:

annaRu1_0-1764446285387.png

annaRu1_2-1764447425208.png

 

 

When I am only doing the filtering to get the needed file and then I click APPLY, I get no errors (like on this screen shot):

annaRu1_1-1764446850211.png

But when I try to open the file by clicking on the icon I marked in red

annaRu1_3-1764447530638.png

 


, and then I click APPLY, I constantly get the error above.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

A folder needs to be addressed by its full name, like 

 

\\server\share

 

Can you confirm that you have that? And that you can access the folder from your file explorer?

View solution in original post

6 REPLIES 6
Rufyda
Impactful Individual
Impactful Individual


I'm glad you found a solution! We're here in the community to support each other.

Regards,
Rufyda Rahma | MIE

Don't click on the "Combine Files" arrows, just click on the green word "Binary". That's your file.

 

--Nate

Hello, 

it does not work, because when I click on the word "Binary", then the chosen file gets hardcoded in the M code like here:

annaRu1_0-1764520747993.png

and I need every week to download the latest file, so the name can't be hardcoded.

Regards

lbendlin
Super User
Super User

A folder needs to be addressed by its full name, like 

 

\\server\share

 

Can you confirm that you have that? And that you can access the folder from your file explorer?

This worked, thank you. 🙂

In your Power Query code sort the files by Last Modified date descending and then grab the binary from 

[Content]{0}

 

which always gets you the newest file.

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.