Skip to Content
author's profile photo Former Member
Former Member

Auditing older records

When I run this query,I do not get the proper data for most recent login:

I use =Max([Action YYYY-MM-DD]) ForEach([User Name]) as the formula.

When I use a shorter date range,the data displays correctly.

I am wondering what I may be doing wrong.

exhibit1.PNG (8.7 kB)
exhibit2.PNG (7.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jul 30, 2014 at 05:56 AM

    Hi Dave,

    May be [Action YYYY-MM-DD] is not in date format and shorter date range is in date format .

    Check the formats of objects which is used in formulas.

    I see different data sets in images.can you check the formula for same data sets.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2014 at 02:14 PM

    It seems to be able to get the first login date okay no matter how far back I go but last (MAX) action date gives inconsistent results.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2014 at 06:56 AM

    Hi Dave,

    If [Action YYYY-MM-DD] Object is Date ( Data Type ) Just create as follow


    Variable 1: Recent Logon Time

    =FormatDate([Action YYYY-MM-DD] ; "yyyy-MM-dd HH:mm:ss")


    else


    Variable 1: Recent Logon Time

    =ToDate([Action YYYY-MM-DD] ; "yyyy-MM-dd HH:mm:ss")


    Variable 2: Recent Logon Date

    =If([Action YYYY-MM-DD]=Max([Action YYYY-MM-DD]) In ([User Name]);1;0)


    I hope the above information would be helpful...😊


    ---Raji. S


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2014 at 01:20 PM

    I tried to insert the variables but got this error. Help!!


    web_intell.PNG (34.9 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.