Sublist Function: Unable to retrieve data wrt Year

Solved6.76K viewsFormulas and Functions
0

Hello,

I am trying to retrieve YTD revenue values from LayoutofMonth matrix to Final View Matrix.

I used following formula:
Revenue=sum(sublist(LayoutofMonth::Year:Month:Revenue,1,#Month))

The formula works for the first year 2018. But, I am unable to retrieve the value of revenue from the next year onwards e.g 2019

What am I missing??

mgandy Answered question April 13, 2019
0

This should get you what you need.

Revenue = sum(sublist(LayoutofMonth::Year:Month:Revenue
, (((#Year-1) * 12) +1 ) //Year Index less 1 * 12 then add 1 to get the first month of the year.
, #Year:Month) )

QuantrixAuthority Answered question June 6, 2018
You are viewing 1 out of 6 answers, click here to view all answers.