Hi all,
I am currently working on some reports where I need to display images dynamically.
there is one total field whose value ranges between 0 and 100 %. amd I need to display different images depending on the range of the value.
for example,
if the range is between
80% - 100% smily face.
60% - 80% normal face
40% - 60% sad face.
Can any one help in approaching this.
Initially I worked with only static embeded images.
It also helps me in solving another problem.
I need to change the company logo (header image) as per the company in the common report template provided by the provider dynamically.
Thanks in advance.
waiting for an early help as it is very urgent for me.
Regards,
Ramesh P
One way to do this is to include a hyperlink to the image. The URL of the hyperlink can be an expression controlled by the data in your report.|||
can we pass the URL using a parameter.
or can we do it like this.
i have a image file name in db(FirstName is the image name)
i have image path thru parameter
and in expression can i give like this
=Parameters!IPath.Value+Fields!FirstName.Value+".png"
it is working in the preview but not after deployment and in the runtime in IE
||||||
RameshP wrote:
Hi all,
I am currently working on some reports where I need to display images dynamically.
there is one total field whose value ranges between 0 and 100 %. amd I need to display different images depending on the range of the value.
for example,
if the range is between
80% - 100% smily face.
60% - 80% normal face
40% - 60% sad face.
Can any one help in approaching this.
Initially I worked with only static embeded images.
It also helps me in solving another problem.
I need to change the company logo (header image) as per the company in the common report template provided by the provider dynamically.
Thanks in advance.
waiting for an early help as it is very urgent for me.
Regards,
Ramesh P
We have similiar dashboard with traffic lights
I put an image in the field, and "value" field =
Code Snippet
=IIF(Fields!capacity_available.Value < 0.2, "icon_red-light.gif",
iif(Fields!capacity_available.Value < 0.4, "icon_yellow-light.gif",
iif(Fields!capacity_available.Value < 0.8, "icon_green-light.gif",
"icon_green-light.gif")))
No comments:
Post a Comment