Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rolled up sum from a formula field

Hi,

I am trying to get a rolled up sum from a column which is a multiplication of values from two other columns.

Below is my sample table,

YearQuarterIdRateIndexRate*Index
2015Q110.10.90.09
2015Q120.20.40.08
2015Q130.50.30.15
2015Q14224
2015Q155210
2015Q16236
2015Q17144
2015Q18236
2015Q19236
SUM36.32

And here is what I am trying to achieve,

YearQuarterRate*Index
2015Q136.32
2014Q1XXXX

I tried something like SUM(AGGR(Rate*index),Id) but it didn't work. Can someone please help me with this one?

Thanks!

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Attached the sample QVW.

Try this..

View solution in original post

5 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Create a straight table, add year and quarter as dimnsion and write Sum(Rate*Index) as expression

Let me know

Not applicable
Author

Hi ,

Try below expression:

AGGR(Sum([Rate*Index]),Year,Quarter)

Thanks,

Shekar!!!

Not applicable
Author

Hi,

Attached the sample QVW.

Try this..

Not applicable
Author

Hi,

I hope it will help to complete the task

dimension:year and quarter

expression:sum(Rate*Index)

Thanks and regards,

Balaji.k

Not applicable
Author

Thanks Shekar, that helped!