Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expressions to Show Change of Each Input

Hello community,

I would like to create a waterfall chart that shows the change in a calculation between two days.  My calculation is as follows:

(a + b) * c / d / 100 = Desired Value

a,b, and c are summable across all records, but d is an exchange rate.  What I'd like to do is write expressions that show how the change of each variable for each record contributes to the overall change between the two days.  For instance

((a2 - a1) + b1) * c1 / d1 / 100 = effect of change in a

I would then create 3 more expressions doing the same thing for each variable in the calculation.

The lowest level of granularity is a combination of Account and LegID.  I'm pretty sure I'll need to use the AGGR function, but I'm having a hard time getting it to work.  Also, if I end up using the AGGR function, what will that do to cases where new Account/LegID combinations show up on day 2?

Any help is greatly appreciated!

10 Replies
Not applicable
Author

I like less conventional needs. It is always some challenge

You should test results of course! For me values looks nice, but of course it is important that user should know, what this "Change" on your chart mean. Anyway i think, this chart gives good view which component has more and which less impact on value change.

Let me know what do you think after deeper insight, and how it works with more data loaded.

Of course if you will have some questions, i will try to explain.

regards

Darek