FIRSTNONBLANK not working

Hello,

I am trying to use FIRSTNONBLANK as a function to get the current scenario to match to the current year starting from module dimensioned as month.

SOURCE MODULE

TARGET MODULE

As you can see it's not working, why is it?

Thanks in advance,

Luca

Tagged:

Answers

  • @LucaRicci

    Try changing your summary for Year to be FirstNonBlank instead of None.

  • @rob_marshall tried it, it does not work

  • @LucaRicci

    Can you please show me the picture of WKK17 Month to Scenario Mapping module as that is where you are needing to change the summary.

  • I have encountered similar problems using the FIRSTNONBLANK function with a time period. What is your actual ask? Do you want the scenario for May 24 in a line item? Create another line item called FNB Scenario, format it with scenario list and write the formula IF ISNOTBLANK(YEAR), THEN Scenario ELSE BLANK and turn the summary on to First non blank. Then you can fetch the scenario of May 24 from All periods using SELECT function.

  • @LucaRicci

    In the WKK17 module add line item details below:

    • Line Item: Current Scenario
    • Format: Scenario
    • Formula: IF Current Month then Scenario else blank
    • Summary: First Non-Blank

    In the Target module update the formula for Current Scenario to

    • Formula: WKK17 Month to Scenario Mapping.Scenario