Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
pkelly
Specialist
Specialist

Pivot Table - Pick up value from previous column

Hi All

I have the following Pivot Table:

Image 17-04-2020 at 10.48.jpg

I have the following formula in the OnHand row:

=If(fom_AnalysisPeriod = varPeriod01, SUM({<fom_AnalysisPeriod = {'$(varPeriod01)'}>} fom_InventoryOnHand), Before(Column(6)))

Mar 2020 is picking up the correct value of 10 as this is the current on hand figure.

Apr 2020 should be picking up the stock figure for Mar 2020.

Any ideas?

0 Replies