Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
julruiz123
Partner - Creator
Partner - Creator

Shows the total of sales to the end of each month

Hi!

I need a chart that shows the total of sales to the end of each month. I used an island calendar with the month as a dimension, how is the set analisys in this case ??

I used this set analysis

=(SUM({$<FechaRegistroCar = { '<=$(=MonthEnd('$(=Max(AñoCartera))-$(=MesCartera)-1'))' } >} ValorCartera ))

but always shows the sales of the last month.

Thanks!

3 Replies
Not applicable

por qué no unir el calendario con tu tabla de cartera?

julruiz123
Partner - Creator
Partner - Creator
Author

Si asocio el calendario a la tabla transaccional, me va a traer para cada mes la cartera que nació en ese mes, lo que quiero es que me tome cada mes como fecha de corte, o sea que en enero del 2012 me calcule como estaba la cartera a esa fecha (2012-01-31), en febrero del 2012 muestre como estaba la cartera a esa fecha (2012-02-29), etc.

Not applicable

intenta con if(FechaRegistroCar=MonthEnd(FechaRegistroCar), ValorCartera)