Skip to main content
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

New Member

Import folder with long name



i'm trying to import from folder but i have the error :


DataFormat.Error : Le nom de fichier « \\XXX\blablabla\blablabla\blablabla\* » est plus long que la limite maximale définie par le système.
Détails :


i have alredy done      Source = Folder.Files(""&Parameter1),

XXX as parameter1 but it still doesn't work


can ignore the error ?


here is the editor :


Source = Folder.Files(""&Parameter1),
#"Attributes développé" = Table.ExpandRecordColumn(Source, "Attributes", {"Size"}, {"Attributes.Size"}),
#"Colonnes supprimées" = Table.RemoveColumns(#"Attributes développé",{"Content", "Extension", "Date accessed", "Date modified", "Date created"}),
#"Colonnes renommées" = Table.RenameColumns(#"Colonnes supprimées",{{"Attributes.Size", "Taille"}, {"Folder Path", "Chemin"}, {"Name", "Nom"}}),
#"Valeur remplacée" = Table.ReplaceValue(#"Colonnes renommées",Parameter2,"",Replacer.ReplaceText,{"Chemin"}),
#"Erreurs supprimées" = Table.RemoveRowsWithErrors(#"Valeur remplacée", {"Chemin"}),
#"Lignes triées" = Table.Sort(#"Erreurs supprimées",{{"Chemin", Order.Descending}})
#"Lignes triées"

New Member

Thank you for your reply,


If I can't rename or move the file, isn't there a way to ignore it. So that I can process the others that are OK ?


Best regards,


Community Support
Community Support

Hi @Arno4444 ,

1. If possible:
Rename the file so that it has a shorter name.
Rename one or more folders that contain the file so that they have shorter names.
Move the file to a folder with a shorter path name.

2. The error you’re encountering is due to the filename being longer than the system-defined maximum limit. This is a common issue in Windows systems where the maximum path length is 260 characters by default. Starting from Windows 10 version 1607, MAX_PATH limitations have been removed from common Win32 file and directory functions. However, you must opt-in to the new behavior.

Best Regards,

Community Support Team


If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.