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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Últimos 3 Meses

Boa tarde Pessoal,

Estou com um problema em um set analysis e não consegui encontrar uma solução até o momento.

Preciso calcular a média dos últimos três meses para um determinado mês, sempre de forma dinâmica.

Exemplo:

Ano/MêsPercentualMédia Últimos 3 Meses
20150122%0%
20150224%22%
20150322%23%
20150412%23%

Alguém poderia me ajudar!? Em anexo coloquei o Excel que recebi como apoio e um QVW que utilizei para desenvolver a solução.

Desde já, obrigado.

Labels (2)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this expression:

=RangeAvg(Above(SUM(PERCENTUAL_VENDAS), 1, 3))

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

Try this expression:

=RangeAvg(Above(SUM(PERCENTUAL_VENDAS), 1, 3))

Not applicable
Author

Thanks sunindia

sunny_talwar
MVP
MVP

Not a problem ...