Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Filtering and comparing two month year

What I want to do here is this, I have 3 years worth of data and what to compare costs in any given month.

How do I get create a calculated column that will be the difference of Cost Per Kg (in the right) - Cost Per Kg (in the left)

So in the example below, I would want have a column there that would be called Cost Per Kg (difference)

Row 1 will then be 15.66-15.74

Could you please help me stalwar1‌ /swuehl‌?

Thanks.

15 Replies
Anonymous
Not applicable
Author

Here is the app, I have been working on.

sunny_talwar

My bad, you need After instead of Before

ceil( Sum([Total Amount])/Sum([Actual Weight]),0.01) - After(ceil( Sum([Total Amount])/Sum([Actual Weight]),0.01))


Capture.PNG

Anonymous
Not applicable
Author

Thanks Sunny!

Anonymous
Not applicable
Author

sunnysahni‌‌, I have a followup question.

Is there a way to hide the last column?

sunny_talwar

No straight forward way to do this, but there can be work around to do this

Anonymous
Not applicable
Author

How do I do it?