Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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