Weird EOMONTH() Behavior! Bug!?

Hello People,
I’m having a weird behavior from the EOMONTH() formula, and I’m not sure if its me or a bug!

Simply, I’m having three columns, [StartDate], [PeriodInMonth] and [AutoEndDate] where the latter has the formula:

EOMONTH([_THISROW].[StartDate], [_THISROW].[PeriodInMonth])

When creating a new row, I input the [StartDate], then input [PeriodInMonth], then formula calculates correctly, but it says “Invalid Entry” in red! Yet, if I simply ‘Edit’ the formula, literally change nothing, and just hit ‘save’ the issue goes away! Weird!

I though its a ‘type’ problem, but my assigned types seem correct. Please check the screen shots

  1. The columns

  1. The Formula

  1. The ‘Invalid Entry’

  1. Simply edit formula, change nothing, and save, no more issue!!

Weird right? Or am i doing something wrong?
In advance, thanks for your insights

Remove both instances of [_THISROW] from your expression. [_THISROW] is only necessary when you change context, like with a SELECT. Using it when not necessary can cause issues.

3 Likes

Thanks. This solved the issue

1 Like