Display conditional image in SSRS table
I am using SSRS 2008 R2 trying to get a cell to display one of two images, depending on the value from the dataset. How do I do this? I am trying to do this via a table with an image control placed in this cell. But even though I added the two possible images to my project, I cannot get these images to display. Instead, it always displays a big red X in this cell. Here is my expression in SSRS for the image control: =iif(Fields!answer.Value = "Has resources","yesbullet","nobullet") yesbullet and nobullet are PNG images. Ryan D
May 31st, 2012 1:04pm

Hi, Go to this link same issue was resolved http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/6fe171c2-f4c4-4487-935e-31ea1b76e56f Hope this will help you !!! Sanjeewan
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 2:13pm

Hi There, Take a look at the following links: http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/6fe171c2-f4c4-4487-935e-31ea1b76e56f http://www.mssqltips.com/sqlservertip/1355/display-graphics-dynamically-in-sql-server-reporting-services/ Best Regards, Datta ---------------------------------------------------------------------------------------------------- Dattatrey Sindol My Blog: Datta's Ramblings on Business Intelligence 'N' Life The information provided here is "AS IS" with no warranties, and confers no rights. Please mark the post as answered if it solves your problem.
May 31st, 2012 2:14pm

Thanks, I had tried this before but it wasn't working for some reason. But now it works--go figure. However, I do not understand how the Images work in SSRS because I am only able to delete images, not view the properties. What i mean is if I go to the Images pane, here is what I see: How do I alter/rename an image in SSRS? And I don't see any of these 3 Images listed in the Properties window on the right hand side of SSRS. This Properties window only seems to list Image Controls.Ryan D
Free Windows Admin Tool Kit Click here and download it now
May 31st, 2012 2:53pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics