Forum Discussion
How to display Base 64 PNG images from a database
- 6 years ago
I have double check with my data. Actually you don't need to convert it. What I realized is this portion "data:image/png;base64," or similar definition is not exist in my data. May be removing this part from data will solve your problem.
=Replace(First(Fields!Delivery_Signature.Value, "DataSet"),"data:image/png;base64,","")
Hi, hoping this thread is till active.
I'm trying to do this exact issue.
That being: Trying to load an image into power bi report builder.
In my datasouce the image is in base64 format.
In my report I have an image box with 'image source' set to 'database', expression: =First(Fields!binaryImage.Value, "DataSet1")
I removed the 'data:image/png;base64,' prefix from the base64 string before it entered my datasource.
However the image still does not appear.
Is there anything I'm missing here?