Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Highlighted
New Contributor II

How to get the LTM (Last 12 months) rolling calculation

Hi,

I am new to Qlik Sense. I need help regarding PRODUCT calculation in qliksense. My requirement is to get the Cumulative returns for the last 12 months for a particular selected entity.  

As per the excel sheet below , i have to get the Cumulative value for Monthly Returns(net or gross). In order to get Cumulative value (Column H) for a "selected" EntityId 1,  for Date 28th Oct 2018,  i need the product of last 12 months of (Monthly Return +1) and -1 from it.

Formula in Cumulative LTM = PRODUCT(Monthly Return+1) for last 12 months) -1


I shall be having a dropdown to select the EntityId and Dates. Therefore, these are dynamically changing.

LTM.jpg