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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Chandrashekar
Resolver III
Resolver III

New Card Visiual : Not displaying Image

Hello,

 

am trying to display photo in new card visiual and able to get it. However when user is not available it should show blank image but it is not displaying it and it is taking last image from the list.

 

Chandrashekar_0-1778836628709.png

 

Regards,

Chandrashekar B

1 ACCEPTED SOLUTION

Hi @Chandrashekar,

Thank you for the update. Glad to know the issue has been resolved. Please feel free to reach out if you need any further assistance.

 

View solution in original post

6 REPLIES 6
Kedar_Pande
Super User
Super User

@Chandrashekar 

 

Use a blank image string, not text like Image Not Found.

Photo Display =
VAR Img = SELECTEDVALUE(Table[BinaryImg])
RETURN
IF(
ISBLANK(Img),
BLANK(),
Img
)

 

v-kpoloju-msft
Community Support
Community Support

Hi @Chandrashekar,

This behaviour occurs because the New Card visual may cache the previously rendered image when the current record contains a blank or null Base64 image value. Instead of clearing the image, the visual continues showing the last successfully loaded image.

As a workaround, you can replace blank image values with a transparent placeholder image instead of returning BLANK(). This forces the visual to refresh correctly and prevents the previous image from being reused.

Example DAX:

FixedImage =
IF(
ISBLANK([BinaryImg]) || [Engineer_Name] = "Image Not Found",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWP4////fwAJ+wP9KobjigAAAABJRU5ErkJggg==",
[BinaryImg]
)

After creating the column, set:
Column Tools → Data Category → Image URL

This should display a blank image instead of repeating the previous employee image.
Relevant documentation:
https://learn.microsoft.com/power-bi/create-reports/power-bi-images-tables 
https://learn.microsoft.com/power-bi/visuals/power-bi-visualization-card-visual-new-format-settings 

Hope this helps. If you have any questions regarding this, please feel free to reach out us. We will be happy to help.

Hello,

 

I tried below formula but still it is not working.

BinaryImg1 = if([User_Image]=blank(),min('Engineer_Not Found Image'[BinaryImg_notfound]),[User_Image])
Chandrashekar_0-1779174374986.png 
am trying to get below image if user photo not found
Chandrashekar_0-1779181072459.png

 

Regards,

Chandrashekar B

Hello,

 

Issue got resolved.

 

Regards,

Chandrashekar B

Hi @Chandrashekar,

Thank you for the update. Glad to know the issue has been resolved. Please feel free to reach out if you need any further assistance.

 

Hello,

Thank you and sorry for late reply. I will check and get back to you on it.

 

Regards,

Chandrashekar B

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.