Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Not applicable

Traffic Light Gauge

Hi,

I am trying to create traffic light (red/green) for a percentage column.

I used Representation > Traffic Light Gauge option. I am getting red for values less than 0, however not able to create green sign for positive value. Can anyone help me seeing the screenshot?

Thanks, Simky

1 Solution

Accepted Solutions

Re: Traffic Light Gauge

The Min and Max settings are for the entire gauge, not for a single segment. So you'll have to change the Max setting so positive values can be shown. Next add another segment for the positive values.

comm110887.png


talk is cheap, supply exceeds demand
4 Replies

Re: Traffic Light Gauge

The Min and Max settings are for the entire gauge, not for a single segment. So you'll have to change the Max setting so positive values can be shown. Next add another segment for the positive values.

comm110887.png


talk is cheap, supply exceeds demand
Not applicable

Re: Traffic Light Gauge

You have to click Add and add another segment. Then for the first one set the Lower bound to -1 and for the second set it to 0.

Then change gauge setting max to 1.

This way -1 to 0 will be red and 0 to 1 will be green.

Thanks

AJ

Not applicable

Re: Traffic Light Gauge

It worked. Thanks for the solution, I was not aware of Gauge logic.

jerem1234
Valued Contributor II

Re: Traffic Light Gauge

To demonstrate Gysbert Wassenaar's and Ajay Prabhakaran's solutions, here is an example qvw you can check out.

Hope this helps!

Community Browser