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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
KarlCullimore
Advocate II
Advocate II

Gateway will not connect to an Excel File due to naming convention

Has anyone else had the same issue , I had an error connecting to an Excel sheet on a local drive. So I checked it was not pointing a a hard coded drive C;\ but at the actual link \\ .  I managed to fix it by amending from '20170101 – ABC.xlsx' to 20170101_ABC.xlsx has anyone else come across any naming conventions that caused an issue ?

1 ACCEPTED SOLUTION

@KarlCullimore,

What error message do you get? I have no issues connecting to the Excel file which has spaces in file name under gateway, please review the following screenshot.

1.JPG

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

4 REPLIES 4
Bordalos
Helper I
Helper I

@KarlCullimore do you have spaces before and after the dash? 

 

Data Management Best Practices for file naming  recommends to:

  • Avoid Special characters such as  ~ ! @ # $ % ^ & * ( ) ` ; < > ? , [ ] { } ' " and |
  • Do not use spaces. Some software will not recognize file names with spaces, and file names with spaces must be enclosed in quotes when using the command line. Other options include:
    • Underscores, e.g. file_name.xxx
    • Dashes, e.g. file-name.xxx
    • No separation, e.g. filename.xxx
    • Camel case, where the first letter of each section of text is capitalized, e.g. FileName.xxx

Thats why when you changed it to a 20170101_ABC.xlsx it worked.

 

BR

BR

Thanks @Bordalos it did indeed have spaces before and after.  As I need to update my company docs for our self service contingent, I could do with knowing whihc microsoft site this comes from so that I can add it to company documentation on the Power BI gateway. If you have a link that would be very much appreciated.

@KarlCullimore,

What error message do you get? I have no issues connecting to the Excel file which has spaces in file name under gateway, please review the following screenshot.

1.JPG

Regards,
Lydia

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

Hi Lydia,

 

I cannot reproduce , the error message was an unable to connect issue. But it currently reading as connection succesful. Im blaming the hidden character issue. 

 

Thanks

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors
Top Kudoed Authors