CASE
WHEN abs([Diff % X]) > 0.05
THEN '..\samples\images\red.jpg'
WHEN abs([Diff % X]) > 0.01 THEN '..\samples\images\yellow.jpg'
ELSE '..\samples\images\green.jpg'
END
use this as query calculation. If you use images then you do not need to use style variables..
Sorry, I was a bit too fast. Drag image from the insertable objects panel and then apply the expression pointing to the image files on the server.
My remark on query calculation was erroneous..
Hi there, I have similar problem , i want to attach image to the report but when i browse the default location does not show any value,
How can i varify if i have correct URL to browse ?
If i do not have ..samples/images folders can i create it and then use the path as URL ?
Default URL in my case is
Also as i dont have access to the server network person has put images in the shared directory folder '\\machine_name\cognos_images' how can i use this ?
Is it possible to use this instead of URL and How ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.