Sublist Function: Unable to retrieve data wrt Year

Generic selectors
Exact matches only
Search title only
Search in content
Search in all posts
Search in pages
Solved1.41K 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??

Selected answer as best

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) )

Selected answer as best


Try this formula:

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


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


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


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

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