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 answer
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 !)