Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
satishkurra
Specialist II
Specialist II

% Change for 1st record

Hi

I currently have growth rate calculated as below

Revenue: Sum(Revenue)

Growth Rate: (Sum(Revenue)-Above(Sum(Revenue)))/Above(Sum(Revenue))

With this the 1st record is blank/null/NA.

Is there anyway to calculate the growth rate of 1st record.

Note: My selection on Year filter is from 2017 - 2020. If i select an additional year as 2016, it is showing 2015 rate % blank.

Thanks

Satish

1 Solution

Accepted Solutions
sunny_talwar

You can simplify the equation and use this

Sum(Revenue)/Above(Sum({<Year>}Revenue)) - 1

View solution in original post

2 Replies
sunny_talwar

Try this

(Sum(Revenue)-Above(Sum({<Year>}Revenue)))/Above(Sum({<Year>}Revenue))

sunny_talwar

You can simplify the equation and use this

Sum(Revenue)/Above(Sum({<Year>}Revenue)) - 1