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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
m_perreault
Creator III
Creator III

Range Product Formula

Hi All,

 

I have the below data

PeriodValue
Dec-2018-0.74%
Nov-2018-0.33%
Oct-20180.22%
Sep-20180.65%
Aug-20180.79%
Jul-20180.75%
Jun-20180.59%

 

The for set time frames (such as QTD,YTD,etc.) I need to create a formula such as the one below.  This would be for QTD

(Aggr(Sum({<[Period] = {'Dec - 2018'}>}Value)+1,Period) * 

Aggr(Sum({<[Period] = {'Nov - 2018'}>}Value)+1,Period) *

Aggr(Sum({<[Period] = {'Oct - 2018'}>}Value+1,Period))-1

 

so my formula would = ((-.74+1)+(-.33+1)+(.22+1))-1 = -.0845

Does anyone have an idea of how to make this formula dynamic for a set period ?

Labels (1)
0 Replies