Forum Discussion

SukTech's avatar
SukTech
Frequent Visitor
1 year ago
Solved

Power Bi dashboard export to pdf

Hi @

Is it possible to export the power Bi dashboard to pdf in power bi report server i am getting error 

 

  • The full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath)

13 Replies

  • Hello SukTech,

     

    To resolve this, can you please review the folder hierarchy on your Report Server and shorten folder or report names to ensure the total path stays within the allowed limit.

     

    I would also recommend to make sure the path starts with a / if you're referencing it in a script, URL, or subscription.

     

    P.S. If you're exporting via automation tools like PowerShell or using the Report Server UI, confirm that the export path and report path are both compliant with the character limit.

     

    Hope this helps!

    • SukTech's avatar
      SukTech
      Frequent Visitor

      Hi Sahir_Maharaj  . Thank you for the reply . we dont have option in Power Bi report server to export the dashboard as PDF from Report server UI .I tried shortening the path and / before the path still same error .

      As in the front end there is not option just wonderting of its possible through powershell or any other tools ?

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech ,

    You might want to check out these links
    https://community.fabric.microsoft.com/t5/Report-Server/Export-a-report-from-PBI-Server/m-p/1272907
    https://community.fabric.microsoft.com/t5/Report-Server/Power-BI-Report-Server-Export-Power-BI-Reports-PBIX-as-PDF/m-p/2458908

    while additionally making sure,

    1.Your report name is too long or contains invalid characters. Try shortening the name and avoiding special characters like /, \, *, or ?.

    2.When exporting to PDF, make sure the configuration settings in Power BI Report Server are correct.
    You might want to clear any custom export settings or reset them to default to see if that resolves the issue.

    Hope this helps!

    • SukTech's avatar
      SukTech
      Frequent Visitor

      Hi SH 

      i tried reducing the path like below 

      http://ServerName/PBIReports/powerbi/C?rs:Format=PDF

      which again shows the same error . my report is Power Bi dashboard pbix extension and from UI manager i am getting only print oprion 

       

      i am  using report server jan 2025 version . Appreciate you reply on this . 

      Just want to know whether its possible to export PDF for pbix file 

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech ,
    If you are still unable to export your Pbix through the URL you can try the print option and  configure the printer as PDF. 
    Hope this helps!
    If his response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you.

    • SukTech's avatar
      SukTech
      Frequent Visitor

      Hi v-sdhruv  . I need to generate pdf automatically . i am getting the same error again and again .

      he full path must be less than 260 characters long; other restrictions apply. If the report server is in native mode, the path must start with slash. (rsInvalidItemPath)

      is there anything needs to be change in report configuration

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech ,

    Sorry you are still facing the issue.

    Make sure

    1. The path to the report should be just the folders, not the url.
    e.g. /Folder1/Folder2/ReportName
    you should use the http://server or the querystring

    From the error message, the path of your report item might be invalid.
    Please check the report path you specified in code.
    Please try to add a slash as the start of report path and don't end the path with /

    Refer this thread.

    Hope this helps!

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech 
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi @SukTech 
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi @SukTech 
    Just wanted to check if you had the opportunity to review the suggestions provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank you

    • SukTech's avatar
      SukTech
      Frequent Visitor

      Hi Still facing the same issue .

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech ,
    Please consider raising a support ticket.To raise a suppot for Fabric and Power BI, kindly follow the steps outlined in the following guide:

    How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

    If this post helps, please give us Kudos and consider marking it Accept as solution to assist other members in finding it more easily.
    Thank you for being a part of Microsoft Fabric Community Forum!
    Hope this helps!

  • v-sdhruv's avatar
    v-sdhruv
    Community Support

    Hi SukTech ,
    Since we didnt hear from you. I hope you were successfully able to create the support ticket.
    If you need any assistance in raising the ticket let us know.
    Thank you for reaching out.