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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.