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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rosscortb
Post Patron
Post Patron

image viewer to display nothing for nulls

Hello 

 

I have the image viewer add in and I have a column with url related to years in service and I have a column to show what image. But when there is nulls I want it to show nothing but instead it should that default blank image you get where is no image. blank.PNG

Is there anything I can add to the end of this measure to stop this appearing- 

Long Service Icon = IF('Long Service'[Award Name] = "10 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/10years.png",IF('Long Service'[Award Name] = "15 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/15years.png",IF('Long Service'[Award Name]="20 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/20Years.png",IF('Long Service'[Award Name] = "30 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/30Years.png",IF('Long Service'[Award Name]="40 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/40years.png",IF('Long Service'[Award Name] ="50 Years","http://iq/teamsites/corporatefunctions/hr/International/Photos/50years.png"))))))
 
Thanks
Ross
3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi, @rosscortb 

If there is no value, it should show nothing in image viewer.

and from your screenshot, It should be that the URL is wrong, it will show like it in the image viewer.

So, please check that the URL is correct.

 

Best Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi not sure that I follow, all the images work fine when there is a match to the text. If there is not match  that's


@v-lili6-msft wrote:

hi, @rosscortb 

If there is no value, it should show nothing in image viewer.

and from your screenshot, It should be that the URL is wrong, it will show like it in the image viewer.

So, please check that the URL is correct.

 

Best Regards,

Lin



when I get that default image

tarunsingla
Solution Sage
Solution Sage

Linking to an empty image (transparent or white background image) could be an option for nulls.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors