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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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-BI/td-p/383111





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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.