How to populate current year and last/previous years' months booleans

Options

I have boolean type 'Current Year Month?' and 'Last Year Month?' line items.

To how populate them easiest way without huge amount "support rows".

Attached pic. (in the pic the green ones. Now they are manually fed)

Best Answer

  • jagadishdash
    edited April 16 Answer ✓
    Options

    @Miia

    in the formula for last year: yearvalue(Last Year?) line item. same for the current year put the formula as Yearvalue(current year?) .

    If still facing any issues let me know.

Answers

  • Dikshant
    Options

    If you are updating current period of model calendar, try

    YEAR(CURRENTPERIODSTART()) = YEAR(ITEM(Time)).

  • Miia
    Options

    Thanks! - on my case YEARVALUE() worked - sometimes you just get stuck on simple stuff 🙃

  • Hello , you can use the YEARVALUE() function to replicate year values across months