I have a straight table in qvw like below
|Subject||TotalPass||Passed by Stamp||Passed by Average|
I would need to show KPIs with colours. I,e I should show Passed by Stamp as Red and Passed by Average as Yellow and TotalPass as Green.
Is it possible to do this?
In above Subject is Dimension and TotalPass, Passed by Stamp , Passed by Average are Expressions.
Thanks in advance.
You may need to set Display Options->Image Formatting to "Keep Aspect" as well. But now I'm just guessing what may be wrong, as I don't have all the details of your situation.
See attachment for a working example.
In the Expression tree, expand the sub elements by clikcing the plus sign. There is a leaf called Background Color. Select it and enter =green(), =red() or =yellow in the expression field.
Not that these colors may make your numbers unreadable. Use =rgb(R, G, B) to defined lighter colors.
Yes, Next to each expression click the + sign, and then go to background color. There you can specify a color like red(), yellow(), green(), and if you know the rgb value, rgb(). You can also use expressions here like:
IF([Passed by Stamp] <=50, yellow(), green())
Hope this helps!
As you have 3 different expressions in your straight table : Total Pass, Pass by Stamp and Passed by Average.
So go to the expressions click + sign and go to BackGround Colour , then in Definintion field put = (yellow)
then choose ok,
Same do it for other expressions, change colour name and its ok.
Thanks. If I want to show images I just Used below but it is showing error
if([Passed by Stamp] <=50 'qmem://<bundled>/BuiltIn/led_g.png' , 'qmem://<bundled>/BuiltIn/led_g.png')