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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

Interactive Image

Hello Community,

 

I'm willing to create a measure that returns an image that changes depending on another measure.

Here is my DAX formula

This formula is working perfectly , but my problem is that if the user have no internet he cannot see the pictures since Power BI import it from internet everytime.
I want to download the pictures once on my computer and link it with the measure without having access too internet
 
I wish i was clear and thank you in advance
1 ACCEPTED SOLUTION

@Anonymous Yes, why can't you have an another field call it as Flag. Then flag with "Y" for one image and another one with "N". Use the Flag filter in to get the appropriate image and use that in your IF statement.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




View solution in original post

5 REPLIES 5
PattemManohar
Community Champion
Community Champion

@Anonymous Just wandering, if there is no internet how can the user can access the Power BI Service to access the reports and dashboards ? 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

PowerBI spends too much time downloading the pictures everytime i run the project because i have more than 40 measure. I want to improve that point

@Anonymous  Ok ! Thanks for confirming that.. In that case, store the images in a database table and use the image field (binary format) in Power BI. Here is the useful thread about storing the images in SQL Server table and accessing in Power BI.

 

https://community.powerbi.com/t5/Desktop/How-to-use-Images-Stored-in-a-SQL-Server-Table-with-Power-B...





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Anonymous
Not applicable

Thank you for your answer , i did try that., I created a query with the pirctures in binary format : It works when you want to simply display the images.

In my case i want to link it with a measure , when it's zero it shows a picture , when it's not it shows another

@Anonymous Yes, why can't you have an another field call it as Flag. Then flag with "Y" for one image and another one with "N". Use the Flag filter in to get the appropriate image and use that in your IF statement.

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a PBI Community Champion




Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.