Sublist Function: Unable to retrieve data wrt Year

Solved6.19K viewsFormulas and Functions


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

I used following formula:

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

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

What’s the best way to approach Sau’s formula¬†where all Financial LineItem’s are updated? I’d prefer not to enter this formula for each individual line item.

mgandy Answered question April 13, 2019

,y quick fix:
skip Better Worse,%// using Layoutof Analysis::Year as Year

Let me know if there is a better way to optimize this


When is use the following formula:
skip Better Worse,%// using Layoutof Analysis::Year as Year

I can get the summation of actual wrt month and year but I cannot change the starting month to oct of specified year. It still refers to Oct of 2018.

when i change the formula to:
skip Better Worse,%// using Layoutof Analysis::Year as Year

I get #Bounds error


Thanks for the reply.
But my aim with this model is to get the sum of the revenue(Year to date) from the starting fiscal year month of Oct to the month selected from the drop down menu in the category month.
And when I change the year it should sum again from oct for that year to the month selected.
If i chose month June, then for year 2018 the actual should be $40
and for year 2019 it should show actual as $6000



Try this formula:

Revenue = sum(sublist(LayoutofMonth::Month:Revenue; 1))
skip Better Worse

Latest Questions