Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We have a weekly revenue;
We want to select 1 or more periods.
Both periods need to show correct revenue. This is not working.
We're not looking to use an "as-of" table, as this would complicate selection options.
Please see the screenshot below.
Formula such as below do not work.
sum({ <Year={"=$(=Max(Year))"},SEQ={"<=$(=Max(SEQ))"} ,YearWeek=>}Value ) (Works in textbox!)
AGGR( sum(Total { <Year={"=$(=Max(Year))"},SEQ={"<=$(=Max(SEQ))"} ,YearWeek=>}Value ) ,YearWeek )
Try this
RangeSum(Above(Sum({<Year = {"$(=Max(Year))"}, SEQ = {"<=$(=Max(SEQ))"}, YearWeek>} Value), 0, RowNo()))
*
Avg({<Year = {"$(=Max(Year))"}, SEQ = {"<=$(=Max(SEQ))"}>} 1)
Try this
RangeSum(Above(Sum({<Year = {"$(=Max(Year))"}, SEQ = {"<=$(=Max(SEQ))"}, YearWeek>} Value), 0, RowNo()))
*
Avg({<Year = {"$(=Max(Year))"}, SEQ = {"<=$(=Max(SEQ))"}>} 1)
Thanks! That most certainly fixes it for me!