Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
prees959
Creator II
Creator II

Help with Date Set Analysis

Hi, 

I would like to make a slight change to a the "Days since Last Accessed" expression from the Governance Dashboard.

At the moment the expression is (Interval(today()-max(daystart([Session Start])),'D')) .  But is it possible to limit this to those users who only logged in last full month (eg : 01 Oct to 31st Oct) and who haven't yet logged in this month?

 

Many thanks 

Phil

1 Solution

Accepted Solutions
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi Prees,

Try this:

(Interval(today()-max({<[Session Start]={">=$(=TimeStamp(Monthstart(Addmonths(Today(), -1))))<=$(=TimeStamp(MonthEnd(Addmonths(Today(), -1))))"}>}daystart([Session Start])),'D'))

View solution in original post

3 Replies
Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi,

 

Try this:

(Interval(today()-max({<[Session Start]={">=$(=TimeStamp(Monthstart(Addmonths(Today(), -1))))"}>}daystart([Session Start])),'D'))

prees959
Creator II
Creator II
Author

Hi

Many thanks for your reply!

Thats sort of there.... its still including users that logged in this month.  Can this months users be excluded?

 

Stoyan_Terziev
Partner - Creator III
Partner - Creator III

Hi Prees,

Try this:

(Interval(today()-max({<[Session Start]={">=$(=TimeStamp(Monthstart(Addmonths(Today(), -1))))<=$(=TimeStamp(MonthEnd(Addmonths(Today(), -1))))"}>}daystart([Session Start])),'D'))