Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Expression

Hi

Consider we have these there tables:

   

dateMainaccountDimensionbalance
10/1/2017100133
10/2/2017100128
10/3/2017100132
10/4/2017100140
10/5/2017100130
10/6/2017100220
10/7/2017100231
10/8/2017100236
10/9/2017100230
11/1/2017100229
11/2/2017100125
11/3/2017100124
11/4/2017100140
11/5/2017100142
11/6/2017100144
11/7/2017100265
11/8/2017100224
11/9/2017100250
11/10/2017100229
11/11/2017100230

  

datesale
10/30/20171000
11/30/20171300

  

datemonth
10/1/201710
10/2/201710
10/3/201710
10/4/201710
10/5/201710
10/6/201710
10/7/201710
10/8/201710
10/9/201710
11/1/201711
11/2/201711
11/3/201711
11/4/201711
11/5/201711
11/6/201711
11/7/201711
11/8/201711
11/9/201711
11/10/201711
11/11/201711
10/30/201710
11/30/201711

I would like to trace the Dimension Balance by sales per month<,the result should be like these:

        

monthMainaccountDimensionDimension balanceTotal balance per monthTotal sale per monthToal %Dimension %
101001163280100028%16%
101002117280100028%12%
111002227402130031%17%
111001175402130031%13%
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I have found the answer

=sum (total <month>aggr( sum(balance),month))

and

=sum (total <month>aggr( sum(sale),month))

View solution in original post

1 Reply
Anonymous
Not applicable
Author

I have found the answer

=sum (total <month>aggr( sum(balance),month))

and

=sum (total <month>aggr( sum(sale),month))