Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hola muy buenos días, tardes o noches donde quiera que se encuentren.
Hoy quiero pedirles ayuda sobre como desarrollar un indicador led tipo semáforo. Estoy Haciendo la resta de dos campo, si es mayor o igual a 0 deberá ponerse verde, si es menor a 0 deberá ponerse rojo, las cantidades van desde cientos hasta miles, me gustaria me ayudaran para saber como establecer los límites y las configuraciones del indicador.
De antemano gracias por su ayuda.
HI
PFA
In expression tab:
Try this:
= Count(Id_Cliente)-Sum(Num_Clientes)
Hope it helps
HI
Try like this
=if(sum(Sales)-Sum(Amount) < 0, Red(),Green()) in presentation tab
PFA
Hi, thanks for your supoort.
I did try this =if(sum(Sales)-Sum(Amount) < 0, Red(),Green(), in the expression tab but it doesnt work.The problem exits in the presentation tab.
HI
Can you post a sample file?
Did u notice that, in presentation tab and expression tab in the sample file?
If u post a sample file, its easy to analysis the problem in it.
Hola
Yo tenia una situacion similar, tenia mis datos en una tabla simple, y queria que cada semaforo fuera idependiente, termine colocando la misma expresion que me da el resultado de la celda dentro de los formatos de la expresion, antecedido por un IF, algo asi como
IF(<Expresion>, LightRed(),LightGreen())
Saludos.
Hi, I cannot open the sample file because I´m using the personal edition. this is a sample file. thaks
Y en la pestaña de presentacion como configuraste los limites y los valores maximos y minimos?
Gracias
HI
PFA
In expression tab:
Try this:
= Count(Id_Cliente)-Sum(Num_Clientes)
Hope it helps
Hola, ahi no configure nada, la evaluacion la haces dentro del mismo IF, por ejemplo
IF(Sum(Algo)-Sum(Otro) > 0, Green(), Red())
Si necesitas mas rangos, por ejemplo 0-80= Rojo, 80-90= Amarillo, 90-100 Verde, anida los campos:
IF(Sum(Venta) / Sum(Presupuesto) <0.8, Red(), IF(Sum(Venta)/Sum(Presupuesto)<0.9, Yellow(),Green()))
Entendiendo que si se cumple la primera condicion, se quedara rojo, si no, evaluara de nuevo, y sera amarillo, cualquier otra, seria Verde.
Puedes continuar esto indefinidamente..... o hasta que se te acabe la memoria, lo que pase primero.
Saludos.
I already try this and it works but when the value is less than 0 it doesnt show the red color