Skip to main content

The error message says " Cannot mix aggregate and non aggregate comparisons or results in "IF" expressions.

 

Here is the formula:

IF [AI Status] = "Pending" THEN DATEDIFF('day', ATTR([DB].[Date]), TODAY()) END

 

the ATTR was automatically added but does nothing when I remove it. I also added a then statement before and still nothing.

1 个回答
  1. 2023年11月20日 19:18

    Try: IF ATTR([AI Status]) = "Pending" THEN DATEDIFF('day', ATTR([DB].[Date]), TODAY()) END

     

    Best, Don

    (Please, don't forget to click Select as Best or Upvote !)

0/9000