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: 
rkspareek1992
Partner - Creator
Partner - Creator

Sum of Rows

Hi,

My expression is:

Sum({<LinkDate={'<=$(vDate)'}>}TSL)*only({<Date_Currency={'$(vMaxCurrencyDate)'}>}Rate_Currency1)

and I am  not getting sum of expression.

vDate is DataIland Date,


only({<Date_Currency={'$(vMaxCurrencyDate)'}>}Rate_Currency1)

is for selected Date_Currency and by default should show rate of max of Date_Currency.

Kindly suggest change in my expression.

14 Replies
rkspareek1992
Partner - Creator
Partner - Creator
Author

I have just one dimension in straight table is RBUKRS.

sunny_talwar

Can you try this

Sum(Aggr(Sum({<LinkDate={'<=$(vDate)'}>}TSL)*only({<Date_Currency={'$(vMaxCurrencyDate)'}>}Rate_Currency1), RBUKRS))

rkspareek1992
Partner - Creator
Partner - Creator
Author

Hi Sunny,

I have already tried, but unable to get sum.

sunny_talwar

Would you be able to share a sample?

rkspareek1992
Partner - Creator
Partner - Creator
Author

I am using pivot table and unable  to sum values..