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: 
alex_stone
Creator
Creator

How to make a list of the values in the multiplying together

currently, we have one table as below:

BPDayTW
0012017-01-011.0012
0012017-01-022.3201
0012017-01-033.1200
0012017-01-044.2398
0012017-01-055.1121
0012017-01-066.3490
0012017-01-077.8903
0022017-01-010.1123

I want to multiplying the values based on selected days.

case 1 : selected 2017-01-01, 2017-01-03, 2017-01-04,  BP 001 result = 1.0012 * 3.1200 * 4.2398

                                                                                 BP 002 result = 0.1123

case 2: selected 2017-01-04, 2017-01-05, 2017-01-06, 2017-01-07 , BP 001 result = 4.2398 * 5.1121 * 6.3490 * 7.8903

in one chart, BP as dimension. how to reach above case on the expresson.

1 Solution

Accepted Solutions
sunny_talwar

May be this

EXP(Sum(Log(TW)))

View solution in original post

9 Replies
sunny_talwar

May be this

EXP(Sum(Log(TW)))

Anonymous
Not applicable

is there  no evaluate() function in the frontend?

sunny_talwar

There is dollar sign expansion you can use with concat function

sunny_talwar

But I guess it won't evaluate on each dimension...

Anonymous
Not applicable

that's why my question

I had the idea using

evaluate(concat(total <BP>  PW,'*'))

as expession...

sunny_talwar

Don't think evaluate is available on the front end ... but I guess why look for an alternate when exponential and logarithmic allows us to do what is needed

alex_stone
Creator
Creator
Author

Thanks Sunny & Robin, whether there is a function like Sum can multiplying a list value together?

alex_stone
Creator
Creator
Author

Thanks a million! I have fixed it by your solution.