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: 
stats101
Partner - Contributor III
Partner - Contributor III

Percentage difference with previous record in Pivot table

Hi,

I'm wanting to calculate the year on year percentage difference in a pivot table (structure below). I suspect I need to use a set analysis expression? Any help is appreciated.

Capture.PNG

Thanks

1 Solution

Accepted Solutions
sunny_talwar

Try Above(Accident_Index)

Edit: Previous is a script only function and cannot be used in the front end of the application. Check out the link: http://help.qlik.com/sense/2.0/en-US/online/#../Subsystems/Hub/Content/Scripting/InterRecordFunction...

Best,

Sunny

View solution in original post

1 Reply
sunny_talwar

Try Above(Accident_Index)

Edit: Previous is a script only function and cannot be used in the front end of the application. Check out the link: http://help.qlik.com/sense/2.0/en-US/online/#../Subsystems/Hub/Content/Scripting/InterRecordFunction...

Best,

Sunny