Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mxell
Contributor III
Contributor III

Como fazer um gráfico como este?

mxell_0-1692181224406.png

 

Onde os anos anteriores são agrupados e o ano corrente é aberto ao mês?

 

Labels (1)
2 Replies
Digvijay_Singh

I think you would need synthetic dimension Valuelist() to manage such tricky situations - 

https://community.qlik.com/t5/Design/ValueList-For-those-tricky-situations/ba-p/1476275

Calculated dimension - Valuelist('2020','2021','2022','2023','Jan','Feb','Mar'......) add months as needed

Expression 1 - 

Pick(Match(Valuelist('2020','2021','2022','2023','Jan','Feb','Mar'......),'2020','2021','2022','2023','Jan','Feb','Mar'),

Expression for 2020,

Expression for 2021,

Expression for 2022,

.

.

.Expression for 'Mar' and so on

)

 

 

mxell
Contributor III
Contributor III
Author

Obrigado, pela resposta

Encontrei uma forma de fazer criando uma dimensão com a data:

=if(Ano = year(today()), monthname(%pk_data), Ano)

 

Este jeito resolve meu prlblema, único defeito é que não aparece o Ano corrente acumulado, somente aberto para meses