Hi all,
Could some one help me how to create a TI process to justify if today is 2nd work day of this month? I know Today() return the current date. And Mod ( DayNo( Today ) + 21915, 7) will give the work day of this week. How to combine such functions to get the 2nd work day of the month?
Thanks a lot.
Learn_TM1
TI Process: how to justify if today() is 2nd work day of this month?
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TI Process: how to justify if today() is 2nd work day of this month?
About 2 hours ago I posted a new article on my personal website on TM1
I can recommend it to you given this topic.

Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- Posts: 5
- Joined: Thu Aug 21, 2014 4:09 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2007-2016
Re: TI Process: how to justify if today() is 2nd work day of this month?
Was going to suggest a cube and post some rules I wrote up awhile back before I saw Wim's response. Your lucky day to get a new Wim blog topic that answers your very question
. Hard to find better TM1 instruction.
(FYI, Wim, your latest topic "Parameters in the tm1p.ini file" seems to have a broken link)

(FYI, Wim, your latest topic "Parameters in the tm1p.ini file" seems to have a broken link)
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TI Process: how to justify if today() is 2nd work day of this month?
Hello art,
You can still do so, the community can benefit from your good work. Thank you for telling me about the broken link, I will change it asap.
You can still do so, the community can benefit from your good work. Thank you for telling me about the broken link, I will change it asap.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TI Process: how to justify if today() is 2nd work day of this month?
The broken link has been replaced with a valid link. Thanks.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- macsir
- MVP
- Posts: 785
- Joined: Wed May 30, 2012 6:50 am
- OLAP Product: TM1
- Version: PAL 2.0.9
- Excel Version: Office 365
- Contact:
Re: TI Process: how to justify if today() is 2nd work day of this month?
Don't have to be rule. A simple process can do this as well.
Use a loop to check the day of the week from 1st of that month till today. If the day is weekend, skip the counter. When the counter is 2, then compare that date with today to see if they are equal.
Use a loop to check the day of the week from 1st of that month till today. If the day is weekend, skip the counter. When the counter is 2, then compare that date with today to see if they are equal.
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: TI Process: how to justify if today() is 2nd work day of this month?
That's correct macsir. I had provided a solution using rules since a loop in TI is probably more easy to set up.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly