Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I need to show a calculated number and then by thresholds to make it freen or red with an arrow (up/down)
I have 2 arrow PNG's and I want to add them into the expression I write in the text box.
how can I do it? what is the syntax?
regards,
Boris
check this about using images.
A set of image files and sound files are already embedded in the QlikView program file. These may be referenced directly from the layout, without the need for any special preparations. The syntax for reference is:
qmem://<builtin>/filename
where filename is one of the filenames listed below (including extension).
Examples:
'qmem://<builtin>/Arrow_N_G.png'
='qmem://<builtin>/Smiley'&if(sum(Result)<0,1,3)&'_Y.png'
The arrows set permits you to display arrows in eight directions and four colors. Filenames are coded as follows: The word Arrow followed by a map direction ( _N, _NE, _E, _SE, _S, _SW, _W or _NW ). This may be followed by _G for green, _R for red and _Y for yellow. If no color is stated in the filename, a gray arrow is referenced.
also this one..
The Bundleprefix is used to include external files, such as image or sound files, or objects connected to a field value, to be stored in the qvw file.
If a piece of external information, such as an image or a sound file is to be connected to a field value, this is done in a table that is loaded with the Info prefix. In order to maintain portability, it is possible to include the external files into the .qvw file itself. To this end use the Bundle prefix. The bundled info files are compressed in the process, but will nevertheless take up additional space both in the file and in RAM. Therefore consider both the size and the number of bundled files before going for this solution.
The info may be referenced from the layout as normal info, via the chart info function or as an internal file via the special syntax qmem:// fieldname / fieldvalue alternatively qmem:// fieldname / < index > where index is the internal index of a field value.
The Info prefix may be omitted when Bundle is used.
Bundle[Info] ( loadstatement | selectstatement)
Examples:
Bundle Info Load * Fom flagoecd.csv;
Bundle SQL Select * From infotable;
Is there a possibility for and example QVW?
I didn't quite understand the technique in case of 2 small PNG's I want to use.
check attached.
Tried to do it as Qlikview suggest.
in the expression built I chose an arrow, and it pasted me the script automatically.
but it doesn't show the arrow, it shows the script itself.
any ideas?
Thanks
I tried to add a string before the INFO(KEY) and the image disappeared and it left the string with a path to a file.
A better option is to use the extended ASCII characters.
There is a good blog on this somewhere, but I cant find my link to it.
If you use the windows character map you can find the following shapes: ▲▼
You can easily include these in a number format: (▲ #,##0; ▼ #,##0) and then use colouring expressions to set green for positive and red for negative.

//Staffan