Hello,
I want to count the number of weekends between two dates.
Do you have a solution for this demand ?
Thanks a lot
@TAGORTI ,
See if this works for you...
Create a SYS Time module by Day with the following line items:
Date: start()
Day Nbr of Week: WEEKDAY(Date)
Count Saturdays: IF Day Nbr of Week <> 6 THEN 0 ELSE 1
In another module that is not dimensionalized by Time, you have 3 line items:
Date1: date formatted that is entered
Date2:date formatted that is entered
Number of Weekends:TIMESUM('SYS Time Filter - Day'.Count Saturdays, 'Date 2', 'Date 1')
Hope this works for you,
Rob
Hi,
Try this:
ROUND(('Date 2' - 'Date 1') / 7)
Regards,
Anirudh
@rob_marshall
Thanks a lot.
It worked for me, I did some modifications. It fits my need.
Hi Anaplan Experts: I am looking for advice on optimizing a process to delete obsolete product data by comparing our model data with the Datahub. My current workflow involves the following steps: 1. Clear all data from a temporary list (List A). 2. Import the latest product data from the Datahub into List A. 3. Compare…
We are looking for Anaplan end-users to provide feedback on their experiences with the Excel add-in. Interested individuals will respond to this 5-minute survey to help us understand personal needs and behavior when using the add-in. The feedback provided by survey takers is essential to the roadmap of Anaplan's products.…
Estimated Level of Effort:4-8 Hours of Model Building Level of Difficulty: Beginner Recommended Training: L2 Model Builder Training Persona: Casual Model Builder Potential ROI: Decreased planning time Increased accuracy of targets/spreads You Might Also Like: * Historical Snapshotting Top-Down Allocations Whether it's…