Forum Discussion

barathirajavi55's avatar
barathirajavi55
Regular Visitor
4 years ago
Solved

Sharepoint Images not rendered in Paginated report (RDL)

Hi,   I need to show the SharePoint images in Power BI paginated report(RDL). Authentication is required to access my SharePoint images. I am not able to show the SharePoint images in the Paginated...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi barathirajavi55,

    I suppose report server reports may use different authorizations that were different from the common power bi service reports.
    In my opinion, I'd like to suggest you use the root link of images(not include additional authorizations or redirection) to help render these images.

    In addition, you can also try to use the power bi service dataset of the report you mentioned as the source or paginated report, then it should not require the additional authorizations.
    Regards,

    Xiaoxin Sheng

  • barathirajavi55's avatar
    barathirajavi55
    4 years ago

    Hi,

     

    To show the images in paginated report, you need to convert the sharepoint images in base64 format. 

     

    Steps:

      1.     get the images (Binary format) from sharepoint in power bi

      2.     Then convert this to base64 (by changing the datatype to text)

      3.     if the image is big, you need to splite this base64 column by 32766 char as power bi has the limitation to read characters in a single cell.

    4. This splitted columns need to be combined in Pagined report using below script

       =System.Convert.FromBase64String(Splitted column1 + Splitted column 2)