cancel
Showing results for 
Search instead for 
Did you mean: 
peteyim
Staff
Staff
Status: New

My client (on 23.x) having the following suggestion on the OA.

It is suggest to add the function in OA so that the bank holidays defined in the Holiday table can be used:

Holiday table.jpg

2 Comments
findern
Staff
Staff

Hello, the OA Dimensional Schema has an attribute called 'Is Holiday' in the date dimension. This flag = 1 for any dates that have been defined as a holiday in the Admin workspace. Is this request to expand on that approach? 

MelanieZhu
Level 1

We are talking about using Data -> Detail (Define) to define a field to calculate the business days between two dates, we expected that the calculation can skip the holiday defined in the admin Holiday table.  example as below:

1. in admin holiday table set 2024-01-01 as holiday.

MelanieZhu_0-1718768109419.png

2.To make the testing simple, we hardcode the from date and to date.

MelanieZhu_2-1718768232268.png

3. We expected the value could be 6 instead of 7.

MelanieZhu_3-1718768379586.png