Forum Discussion
Edwin5454
2 years agoRegular Visitor
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
- amitchandakSuper User
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
)
- Edwin5454Regular Visitor
Thanks amitchandak
It was helpful.