Forum Discussion

Edwin5454's avatar
Edwin5454
Regular Visitor
2 years ago
Solved

How to display Web URL , PDF Files & Image stored in SQL Server in Power BI?

Hi,

  I have a table that contains different files such as pdf, image, web URL, etc... in SQL server. I am tring to display all files as an image just like SQL image viewer. Anyone has any idea how?

  • Edwin5454 , images can shown if they are the URL.

    Or based on the type of file you can show an image

    Switch(True(),

    search("pdf", [filename],,0) >0, "url/pdficon.png",

    //add others

    )

     

2 Replies

  • Edwin5454 , images can shown if they are the URL.

    Or based on the type of file you can show an image

    Switch(True(),

    search("pdf", [filename],,0) >0, "url/pdficon.png",

    //add others

    )