Discussions
Workbook/Datataset formula fields - time operations
Hi SuiteAnalytics friends,
since formulas are quite popular topic among the Dataset/Workbook user base I would like to share with you few useful ones. This will hopefully speed up the process of building new Workbooks. This time, we will look at the date and time manipulation and filtering.
I would like to remind everyone that the formula definition from saved search are not fully compatible with the Dataset, so sometimes it's not about copy&paste effort.
Examples (using Transaction base record on the dataset):
Amount This Year To Date
CASE
WHEN {trandate} <= CURRENT_DATE AND EXTRACT(YEAR FROM {trandate}) = EXTRACT(YEAR FROM CURRENT_DATE)