Jul 10, 2024
calendar, calendarAuto
calendar: Create a date table with a specific start and end date.calendarAuto: Automatically create a date table covering full years of existing dates in the model.date, dateDiff, dateValue
date: Converts year, month, day to date format.dateDiff: Calculates difference between two dates in specified intervals (e.g., days, hours).dateValue: Converts text date to date format.now, today
now: Current date and time.today: Current date.eDate, eomonth, networkdays, weekday
eDate: Adds/subtracts months from a date.eomonth: Returns last day of the month for a given date.networkdays: Calculates working days between dates, excluding weekends and holidays.weekday: Returns day number of the week for a date.sum, count, average, countasumx, countx, averagex, etc.
distinctCount, distinct
distinctCountNoBlank: Counts distinct values excluding blanks.distinct: Returns table of unique values.if, ifError, and, or, switch
if: Returns different values based on a logical test.ifError: Returns value if there's an error; otherwise returns result.and, or: Multiple logical conditions.switch: Simplifies multiple if conditions.upper, lower, concatenate, len, left, right, mid, replace, substitute, search
related which returns a scalar value.