Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Complex set analysis - dates.

Hi,

I have to display a metric: number of items that have been in the database for over a year and don't have a review data or an owner.

These are the fields I need for it:

ItemID

Owner - owner of the item

PublishDate - when items was added

vToday - variable - todays date

I'm not sure how to tackle this. Any ideas?

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Count({<Owner={"=len(trim(Owner))=0"},PublishDate={"$(= '>=' & date(vToday) & '<=' & date(vToday-365))"}>}ItemID)

View solution in original post

2 Replies
anbu1984
Master III
Master III

Count({<Owner={"=len(trim(Owner))=0"},PublishDate={"$(= '>=' & date(vToday) & '<=' & date(vToday-365))"}>}ItemID)

MK_QSL
MVP
MVP

Provide some sample data please !