How to handle holidays that don’t have a set date but rather are a certain day of a month?. For example, Thanksgiving is every 4th Thursday of November
Is there a way in snowflake to filter data without holidays and weekends?
How to handle holidays that don’t have a set date but rather are a certain day of a month?. For example, Thanksgiving is every 4th Thursday of November
Is there a way in snowflake to filter data without holidays and weekends?
Since all floating holidays have their own rules, it's easier to build a lookup table for next N years than trying to build a single query that handles all such holidays. I'll answer the specific use case you brought up for Thanksgiving. You can modify it to build your lookup table that handles other floating holidays.