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.
I am attempting to connect to an azure SQL database vis at the MSSQL connector in data orchestrator but am having issues and I believe it is due to hyphens in database name (which is a fairly standard naming convention I will note!) Example below (fake credentials) - has anyone else encountered similar and is there a way…
Hi, for some reason my shipping costs are the same over every month and I don't know what to do to fix it.
Hello folks, Does anyone know how to work around the Polaris limitation of using the Formula or Ratio summary method alongside the Closing Balance within the same line item? I have a Business Unit list where the total (All BUs) must display the Corporate (1 of 20 leaf items under All BUs total) number of Unique Customers.…