Hi All,
In Dataverse, I have a working formula column that calculates a "Target_Date" by adding 24 hours if a text column value is "Rush" and 48 hours if the value is "Normal", comparing it to the "Created_on_date". This formula works fine for basic time addition.
However, the requirement is to calculate these target dates using only working days. This means I need to exclude non-working days, specifically "Saturday & Sunday". Additionally, I have a custom table named "Holiday_List", and the dates listed in this table must also be excluded from the calculation.
How can I modify this logic to correctly calculate the "Target_Date" while accounting for weekends and the holidays listed in my custom table?
formula currently used -
IfError(If(Value(Priority_Manual)=573410002, DateAdd(Created_on_date,1,TimeUnit.Days),DateAdd(Created_on_date,2,TimeUnit.Days)),Now()+1)