Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I can't get this to work - I am trying to count the apps if the last accessed is more than 45 days.
Count({$
<(interval(today(2)-daystart(max(LogTimeStamp)),'d') = {>"45"}>
} [App Name])
Count(If(Interval(Today(2)-DayStart(LogTimeStamp, 'dd')>45,[App Name]))
or
better to derive the the days at the back end and use an expression like the below.
Count({<[Days Field] = {'>45'}>} [App Name])
@BrunPierre Count(If(Interval(Today(2)-DayStart(Max(LogTimeStamp, 'dd')>45,[App Name)) did not work,
@vgadang1 mayebe
=Count({$<LogTimeStamp = {">=$(=Date(Today()-45))"}>} [App Name])
Hi @Taoufiq_Zarra ,
Thank you, It still gives me inaccurate count, but may be I can get this to work. I am trying.
It is counting Less than 45 days, I need the inverse but I cant get it to work
=Count({$<LogTimeStamp = {"<=$(=Date(Today()-45))"}>} [App Name])
the output looks like this, output is completely off.
if not OK
can you share a sample data and the expected output