Beast Mode

Beast Mode

How can we exclude the latest date which is available in date column

I was trying this beastmode formula, and it is giving NULL value for the latest date but when i am putting this formula as filter and selecting this option "Not in" the data shows like "No Data in Filtered Range"

CASE
WHEN Date = MAX(Date) OVER () THEN 'NULL'
ELSE Date
END

Best Answer

  • Answer ✓

    When using the over function, you need to use two aggregations. This should do it:

    MAX(MAX(date)) OVER()

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.

Answers

  • Member

    I have also tried with max('date') formula and got the latest date and excluded the same but got the same issue.

  • Answer ✓

    When using the over function, you need to use two aggregations. This should do it:

    MAX(MAX(date)) OVER()

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In