Different images in one cell based on a condition.

  • IN REPORTING SERVICES:

    I want to display one of 5 different images in a cell in a report

    based on the different values obtained in a column in the table. :hehe:

    Thanks.

  • hi,

    u can embbed your images into RS first. If u need to show images according to value then embedded images is the best solution. I had one project where i need to show images according to different values. Once u embed ur images, u can write expression on value of images. U can drag images to ur layout in ur body and write expression.

    Say u have one image of 5 called 'green'. U can have to show it according to some value total between 0 and 0.4 then u can write expression like below on value of image 'green'.

    =iif(Fields!total.Value >= 0.00

    and Fields!total.Value <= 0.40, "green")

    let me know if u find problem.

  • If it is at one place then make sure you put 5 images on top of each other.

  • yes.... This solution worked!

    Thanks:D

  • U dont believe but i have spent around 2-3 days to get this solution. I am glad it is helpful for you.

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply