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

0

Power BI Desktop PBIP: "Unable to save document"

Hello,

I'm getting an "Unable to save document" error when trying to use the in preview PBIP file format.

It seems to be related to the path length but I can't quite pin it down.

I can save a file whose directory location path length is 142 characters, the report name length is 21, making a total of 169 characters.

I CANT save a file whose directory location path length is 6 characters longer than that: I end up getting the error below.

Any ideas?

ali_b_0-1693569952786.png

 

Status: Delivered
Comments
Anonymous
Not applicable

Hi @ali_b ,

When saving as a Power BI Project, the maximum length of the project files path is 260 characters.

For more details, you can read related document: Power BI Desktop projects (PBIP) - Power BI | Microsoft Learn

 

Best regards,
Community Support Team_Binbin Yu

ali_b
Advocate I

Thanks! That's unfortunate though:

 

The registered resource files (background report imagines in my case) seem to generate long paths.

 

Of the 260 character limit, it seems that ~80 I have no control over (if I use a background image at least). With the way that the files are automatically named, it ends up being ~120 characters (depending on the report name length and the background image file name).

 

At the moment that's left me with ~140 characters I can use to categorise my reports.

This is probably fine in most settings but in an enterprise environment where developers have multiple version control systems, multiple repots, multiple categorisations of reports, verbose report names, etc. I have managed to use all 140 characters on my first attempt!  I've had to put my repot at a path this short in my local file system for it to work:  C:\abc\def\<repo name>

 

Will obviously work around for now but urgh 😞

Anonymous
Not applicable

The same issue here. Some custom visuals have a long folder/file name, which makes the whole pbip file unable to save.

jessica-ko
Advocate I
Has anyone found a way to solve this ?