Forum Discussion
andy_scott42
7 years agoHelper II
Base64 images not displaying correctly
I have images stored as binary in a database field. I am converting these to base 64 and using a Dax expression to create the following dataset column : ="data:image/jpeg;base64, " & [ImageBase...
andy_scott42
7 years agoHelper II
I've discovered it is because the length of the base64 string is greater than the max accepted string length in Power BI (32766 characters).
Is there a way to reduce the size of an image in the data model or can I do it via SQL server/ another package?
- v-yuta-msft7 years agoCommunity Support
Hi andy_scott42,
I'm afraid you should compress the image string data size in database because power bi doesn't support such feature. You can submit your idea here: https://ideas.powerbi.com.
Regards,
Jimmy Tao