Forum Discussion
Need Help Date Table
Based on my understanding, the number of days in each month is 28 days, except for the first month (April) and the last month (March).
Days in the last month(March) is easy to calculate, just use the total days in the period to minus the days in other months, i.e., days for March = total days - 28*(total months) - days for April.
However, how do you define the number of days in April? I notice that days in 2019/4 is different from that in 2020/4. 2019/4 takes the last Saturday, 2020/4 takes the next Saturday. So please provide more details.
Besides, here is a similar solution for your reference, https://community.powerbi.com/t5/Desktop/Custom-start-of-the-year-and-month-as-1st-Tueday/td-p/2254312
If this help, could you accept this answer as solution? If you need more help, please let me know.
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
v-xiaotang - Sorry, only saw your message today.
Theer are 13 periods in total in a year.
P01 starts in April and P13 ends in March.
P02 - P12 are all 28 days (4 weeks).
I would imagine P01 and P13 balances the rest (?) - Total 53 weeks.
- arunmathew123454 years agoFrequent Visitor
XX13 is last period of Year and XX01 is the first period.
XX02 to XX12 - Each 4 week periods
Does this help?