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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DC7
Frequent Visitor

Why do images need to be converted to base64 in Power BI

Hi

I am very new to Power Bi and i am doing a small test project which includes displaying images depending on what is selected in a filter.

I know this can be done and have found several ways to do this from small logo images to ones with high res which require some coding.

All of them note that they need to be converted into base64, why?

 

1 ACCEPTED SOLUTION
Migasuke
Super User
Super User

Hi @DC ,

Power BI can't store format in table like PNG or JPEG, so base64 gives you chance to store your images as a text (code), which you can later transform to image.

If you planning to use pictures, maybe instead of base64, try to use web url, or sharepoint. It is quite easy to use and does not require much of space in your tables. Some reading can be found here:
https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-images-tables



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

View solution in original post

2 REPLIES 2
Migasuke
Super User
Super User

Hi @DC ,

Power BI can't store format in table like PNG or JPEG, so base64 gives you chance to store your images as a text (code), which you can later transform to image.

If you planning to use pictures, maybe instead of base64, try to use web url, or sharepoint. It is quite easy to use and does not require much of space in your tables. Some reading can be found here:
https://docs.microsoft.com/en-us/power-bi/create-reports/power-bi-images-tables



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

DC7
Frequent Visitor

Thank you very much

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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