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 Community, I’m encountering an issue where an export created in Anaplan is missing column headers when retrieved via the API. However, when I manually run the same export from the Actions tab, the downloaded file includes the headers. Has anyone experienced this behavior before? I’d appreciate any insights into the root…
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.…
Anaplan Champions! The Community team just posted this announcement that certification badges may not be showing up on your profile probably until next year. Rest assured, you will get credit once you complete and pass the exams. https://community.anaplan.com/t5/Blog/Badges-Back-Soon/ba-p/123385