Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
CeciliaPerez3
Contributor
Contributor

Ignore dimention on pivot table for cumulative horizontal amount montly

Hi!

I'm doing a model where i need show a pivot table with 2 expressions (Sales amount, Accumulated Sales per month)

My expression to get accumulated Sales per month is : =RangeSum(Real, before([Acumulado Real])). 

This expression works perfectly if I don't select months.

I tried before with a set analysis to ignore the selected month but it didn't work.

My problem comes when I select February, the expression only show the accumulated  sales for that month and i need it shows all the accumulated sales where the month is equal or less for selected month.

What do I need to add to my expression ? or Do I need change it?

Attached image with examples.

Thanks in advance

   

 

 
 
 

 

Labels (4)
1 Reply
Brett_Bleess
Former Employee
Former Employee

Have a look at the following Design Blog post, not sure if using AGGR in your expression will change behavior or not, the only other thing of which I can think would be needing to use Set Analysis, so will provide a link to that too.

https://community.qlik.com/t5/Qlik-Design-Blog/Accumulative-Sums/ba-p/1468010

https://community.qlik.com/t5/Qlik-Design-Blog/A-Primer-on-Set-Analysis/ba-p/1468344

https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822

Here is the base URL to the Design Blog area in case you want to search yourself:

https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.