Skip to content

Flag holidays

Description

The Flag Holidays activity scans a date column and flags each row as a Holiday, Weekend, or Weekday. It supports both Infoveave’s predefined holiday calendars and custom holiday lists. You can also define which days of the week are considered weekends.

Use Case
Automatically tag dates in a sales or attendance log as working days, weekends, or public holidays. This is useful for time-series analysis, attendance automation, or business day filtering.


Input

TypeDescription
DataDataset with at least one date column.

Output

TypeDescription
Transformed DataData with an additional column indicating the day type.

Configuration Fields

Field NameRequiredDescription
Date columnYesThe column containing dates to check against holidays/weekends.
Weekly off daysNoList of days considered weekends (e.g., Saturday, Sunday).
Output columnYesName of the output column for flags (Holiday, Weekend, Weekday).
Include originalNoIf enabled, retains original input columns in output.
Use Infoveave holidaysNoIf enabled, uses Infoveave’s predefined holiday list.
Custom holidaysNoAllows adding user-defined holidays with name and date.

Sample Input

event_date
2025-01-01
2025-08-15
2025-09-21
2025-09-23
2025-09-24

Sample Configuration

FieldValue
Date columnevent_date
Weekly off daysSaturday, Sunday
Output columnflag
Include originalEnabled
Use Infoveave holidaysEnabled
Custom holidays
  • New Year – 2025-01-01
  • Independence Day – 2025-08-15

Sample Output

event_dateflag
2025-01-01Holiday
2025-08-15Holiday
2025-09-21Weekend
2025-09-23Weekday
2025-09-24Weekday

You can use this activity before time-based aggregations or joins to exclude weekends and holidays from calculations.