Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
cristianj23a
Partner - Creator III
Partner - Creator III

Go back one row

Hi Guys.

Mainly I have a table with the CESADOS and ACTIVOS columns.

Captura.PNG

Then we divide CESADOS / ACTIVOS.

Captura.PNG

But there was a case, that CESADO has to go back one row to do the calculation CESADO / ACTIVOS.Use the BELOW () sentence,

to go back une row in CESADO.

Captura.PNG

So far so good, but when I select a day, no value appears. example

Select:

Mes: ene

Día:4

Captura.PNG

must be obtained.

Captura.PNG

I am using the BELOW () statement so that the values of CESADOS, go back one day or row.

Please help me get that value when I select a day.

Like when I select a Month, would like to obtain the average of Assets, Cesados and the percentage.

Captura.PNG

Mes = 'ene'

The average is

CESADOS = 49

ACTIVOS = 8291

Below(CESADO)/ACTIVO = 0.60%

I attach the Qvw y Xls.

https://www.linkedin.com/in/cristianjorge/
Do not forget to mark as "Accepted Solution" the comment that resolves the doubt.
1 Reply
sunny_talwar

Third post? Check here

Using the Below () statement