Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

Count virtual aggregate based on time window in API docs

$
0
0

How can I add a virtual aggregate function to count based on the timestamp of the record? I tried Count(Case when Date between DateAdd(day,-7,GetDate()) and GetDate() then 1 else 0 end) and it aggregates, but it duplicates the total in the Total aggregate field without date restrictions.


Viewing all articles
Browse latest Browse all 5027

Trending Articles