Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
'Over partition by' formula in saved searches
Hi
I am using the following formula in a saved search to sum all of the time entries by an employee:
(sum/* comment */({durationdecimal}) OVER(PARTITION BY {employee} ORDER BY {employee} ))
What would be the correct syntax to modify this so that it is summing all time entries ('duration decimal' field) by 'employees' and 'time entry category' (which is another field in the saved search and part of the same table as 'employee')?
i..e I am trying to use this formula in a similar way to the 'sum ifs' formula in Excel which allows you to use multiple criteria to decide what records to sum
0