Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, I'm new in QlikView, I created a pivot table with data from database SQL, the dimension is the month and the expression is the sum of expenses per month, now every country is a month, starting in January, February and on, now that we are in August shows the data, but I need other months as September onwards not show until they have data, such a condition could make that managed to hide these fields that have no value yet, show the image, Thank you
Translated with Google Translate - Qlik Community Administrative Team
Hola, soy nuevo en QlikView, creé una tabla pivote con datos de base de datos de SQL, la dimensión es el Mes y la expresión es la suma de los gastos por mes, ahora, cada campo es un mes, iniciando Enero, Febrero y sucesivamente, ahora que estamos en Agosto muestra los datos, pero necesito que los demás meses como Septiembre en adelante no los muestre hasta que tengan datos, como podría realizar alguna condición para que logré ocultar dichos campos que no tienen valor aun, muestro la imagen, gracias
In your script(back end) add condition like
LOAD
*
;
SQL SELECT
Field1,
Field2,
Field3,
etc
FROM Table
WHERE Field3 <=Today()
Assuming that Field3 holds your Date values
Feeling Qlikngry?
Gracias por tu respuesta, pero no me queda claro, te anexaré un recorte de lo que quiero ocultar según la fecha que requiera o vaya pasando...
Lo que esta seleccionado, es lo que no quiero que aparezca en la tabla, solo según vaya pasando el tiempo, lo que pasa es que para poder configurar cada mes, tengo que crear expresiones por lo que tengo que hacerlo hasta diciembre, los datos que hay desde Septiembre a Diciembre, son datos incompletos por lo que requiero que no se vean ya que no se ha metido información excepto datos iniciales mensuales, espero haber sido claro...
Puedes enviar algo de información? es decir, algunos datos?
Not sure if I completely understand, but it seems that you want to keep the expressions for all the months but conditionally show them as that month comes. If my analysis is true, then you can do something like this:
January Expression's Condition
Num(Month(Today())) >= 1
Feburary Expression's Condition
Num(Month(Today())) >= 2
March Expression's Condition
Num(Month(Today())) >= 3
April Expression's Condition
Num(Month(Today())) >= 4
May Expression's Condition
Num(Month(Today())) >= 5
June Expression's Condition
Num(Month(Today())) >= 6
July Expression's Condition
Num(Month(Today())) >= 7
August Expression's Condition
Num(Month(Today())) >= 8
September Expression's Condition
Num(Month(Today())) >= 9
October Expression's Condition
Num(Month(Today())) >= 10
November Expression's Condition
Num(Month(Today())) >= 11
December Expression's Condition
Num(Month(Today())) >= 12
These conditions will go here:
I apologize in advance if this was not your intent.
Best,
Sunny