Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Attend QlikWorld 2020 and hear keynote speaker, Malcolm Gladwell. Register by February 29th to save $200. Learn More
Highlighted
Aitelli_805
New Contributor II

Depreciation purchase order

How do I calculate depreciation  from time a PO was received in qlik senese? Depreciation is 5 years.  For example: If po SAP.goods_receipt_date came in 5/1/2019 I want line chart to give me how many year the PO been in our data center and listed the purchase order . I have a field called SAP.goods_receipt_date  which provide when the po was received in. 

What script should I used to do this calculation? Thanks