Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
mohammadyousaf
Resolver II
Resolver II

Binary to Image - Size Limit

Hi everyone, 

These are Binary to Image data but unfotunately I am unable to show full pictures unless I resize the source Binary Image to 25kb which is very low resolution for my requirement.


Is this a limit in PowerBI? Is there any workaround other than the URLs?

Thank you. 


mohammadyousaf_1-1710931872344.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mohammadyousaf ,

Regarding your question, the maximum length of a text value that the Power Query engine can load into a single cell in a table in a dataset is 32766 characters. This may be the reason why your image does not display fully when it exceeds 32kb. You can do this by encoding the binary using Base64, then splitting the textual representation of the image into multiple smaller text values stored in multiple rows, each smaller than the 32766 character limit, and then reassembling them into the dax metric after loading the data.
Details can be found in the following:

How to load large images in PowerBi - Stack Overflow

blog.crossjoin.co.uk

 

Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mohammadyousaf
Resolver II
Resolver II

Thank you, I manage to do it but there is a catch, dax can't be put on simple image sampling and I am unable to achieve images via tooltip even using Cloudscope visuals.

mohammadyousaf_0-1711091201368.png

 

Anonymous
Not applicable

Hi @mohammadyousaf ,

Regarding your question, the maximum length of a text value that the Power Query engine can load into a single cell in a table in a dataset is 32766 characters. This may be the reason why your image does not display fully when it exceeds 32kb. You can do this by encoding the binary using Base64, then splitting the textual representation of the image into multiple smaller text values stored in multiple rows, each smaller than the 32766 character limit, and then reassembling them into the dax metric after loading the data.
Details can be found in the following:

How to load large images in PowerBi - Stack Overflow

blog.crossjoin.co.uk

 

Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors