Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
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