Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Cumulative totals issue

Hi All,

I have below straight table:

  

CYTD approvalsCYTD ClaimsPYTD approvalsPYTD Claims
12003001100200

The dimension is

Month(hidden)

Expressions:

Mon - only({CrdtMonthNumber = {$(=Max({<Year = { $  =Max (Year))}>}CrdtMonthNumber ))}>}Month)

CYTD approvals = sum(Total {<Year = {=Max(Year))}>}Approvals)

CYTD Claims = sum(Total {<Year = {=Max(Year))}>}Claims)

PYTD approvals = sum(Total {<Year = {=Max(Year)-1)}>}Approvals)

CYTD Claims = sum(Total {<Year = {=Max(Year)-1)}>}Claims)

Now the requirement is , we have to add classes dimension to this. We have 3 Classes and so the table should have 3 rows . Something like this for the above table.

   

ClassesCYTD approvalsCYTD ClaimsPYTD approvalsPYTD Claims
A600100500100
B30010030050
C30010030050

When added the Classes dimension its not distributing the values. Rather its showing the total in all the rows. Any help would be appreciated.

Thanks,

Anupama Jagan

10 Replies
sunny_talwar

One more thing... would you be able to let me know the output you will see based on this sample you provided?