Jing
08/14/2023, 4:23 PMMichael Ullock
08/14/2023, 4:25 PMTHIS
macro for selecting current date. Feel free to check more information in the bellow documentation:
https://help.gooddata.com/doc/enterprise/en/dashboards-and-insights/maql-analytical-q[…]e-where-clause/referencing-floating-time-periods/this-macro/Jing
08/14/2023, 4:45 PMMichael Ullock
08/14/2023, 4:58 PMWHERE Date (Example) = THIS
As mentioned in the Doc above, in the following example, THIS macro inherits the day granularity from the Date attribute. Here THIS means this date, or “today”:
SELECT Payment WHERE Date = THIS
If the granularity of the date attribute changes, so does the meaning of THIS.Michael Ullock
08/14/2023, 4:58 PMJing
08/14/2023, 5:30 PMMichael Ullock
08/14/2023, 6:44 PMMoises Morales
08/14/2023, 10:56 PMMoises Morales
08/14/2023, 10:57 PMJing
08/15/2023, 12:29 AMMoises Morales
08/15/2023, 12:33 AMJing
08/15/2023, 12:34 AMMoises Morales
08/15/2023, 12:51 AM