Hello Community,
I am trying to find a way to filter on my 'CreationDate' field to only return entries created from seven days ago (from current date) to current date. I've tried creating a 'detail' object with no luck. I have converted my 'CreationDate' field to a date field using the 'ToDate' function (varCreationDate), and then applying : =[varCreationDate] Between (RelativeDate(CurrentDate(); -7); CurrentDate())
with many different syntax and iterations ran through Galileo AI with no luck. This seems like it should be a fairly intuitive, I'm hoping it is an easy fix! Thanks as always!!!
Request clarification before answering.
hi, does your query is based on SQL?
If so use filter on query you can use FHSQL statement in WHERE clause:
CREATIONDATE>=sysdate()-7
not sure about the date format so bear in mind that trunc may be necessary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your earlier post: =If(DaysBetween([CREATIONDATE];CurrentDate())>=0 And DaysBetween([CREATIONDATE];CurrentDate())<=7) Then "show" Else "hide"
worked out! I just had to set the filter after that to exclude "hide"
Thank you!!!
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.