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
Answers
Questions
Solved2.41K 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??

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

Selected answer as best
You are viewing 1 out of 6 answers, click here to view all answers.

Latest Questions