Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculated color for a led gauge in a table

hi all,

I made a table with one expression showed as a led gauge.
The gauge calculates just fine, so for each line in the table the led gauge shows a number.

Now i'm trying to make the color of the led calculated depending on the value on that row but if i use the same formula in de color as in the table it uses the overall value instead of the value on the line..
The formula i use is, the color should be red if < 33%, orange if < 67% and else green:

num

((count({$<JobTijdigafgerond = {'Op tijd afgerond'},JobFinishYear = {$(#v_HUIDIGJAAR)}>} Distinct JobId)/ count({$<JobFinishYear = {$(#v_HUIDIGJAAR)}>}distinct JobId)),'00%')

The image below shows my table, the overall number is 29, and now all led signs are red, i wanted the second row (56) to be orange, is that possible?

thanx!

david

error loading image

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

I don't think this is posible since the color is calculated before the expression is sliced by the dimension. You could change the color of the background and make the LED white.

In general LEDs are hard to read, unnecessary and remind be of my alarm clock. It would be easier on you and the end user if you use normal text.

Regards.

View solution in original post

4 Replies
Not applicable
Author

pls. add your and i'll try to help u

pover
Partner - Master
Partner - Master

I don't think this is posible since the color is calculated before the expression is sliced by the dimension. You could change the color of the background and make the LED white.

In general LEDs are hard to read, unnecessary and remind be of my alarm clock. It would be easier on you and the end user if you use normal text.

Regards.

johnw
Champion III
Champion III


Karl Pover wrote:In general LEDs are hard to read, unnecessary and remind be of my alarm clock. It would be easier on you and the end user if you use normal text.


This.

Not applicable
Author

thanx all for your advice and help, i made it tekst and now it works fine...