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: 
stuartfrew
Contributor
Contributor

Calculate % Increase from previous month

Hi I would like to cal the % increase/decrease from a previous month? the answer I want to get to is 11.89% in this example

Last month - 5610 

This month - 6277

# CHange  - 667

% Change = 11.89%

 

1 Reply
Anil_Babu_Samineni

Try this?

=Round((Sum({<Month={"$(=Max(Month))"}>} Sales)-Sum({<Month={"$(=AddMonths(Max(Month),-1))"}>} Sales))/Sum({<Month={"$(=AddMonths(Max(Month),-1))"}>} Sales)*100,0.01)

Or

Round(([This Month Formula]-[Last month Formula])/[Last month Formula]*100,0.01)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful