cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mvanwill Frequent Visitor
Frequent Visitor

Creating Date table school year

Hello,

 

I would like to make a date table wher I have a column to select the school year. The output should be "13/14". I can create begin year and the eind year. Here is the example:

 

Date =
ADDCOLUMNS (
CALENDAR (DATE(2014;1;1); DATE(2025;12;31));
"DateAsInteger"; FORMAT ( [Date]; "YYYYMMDD" );
"Jaar"; FORMAT ( [Date]; "YYYY" );
"Maand"; FORMAT ( [Date]; "MM" );
"Jaar-Maand"; FORMAT ( [Date]; "YYYY/MM" );
"Jaar-Maand kort"; FORMAT ( [Date]; "YYYY/mmm" );
"Maand-kort"; FORMAT ( [Date]; "mmm" );
"Maand-Lang"; FORMAT ( [Date]; "mmmm" );
"Dagnummer"; WEEKDAY ( [Date] );
"Weekdag"; FORMAT ( [Date]; "dddd" );
"Weekdag-kort"; FORMAT ( [Date]; "ddd" );
"Kwartaal"; "Q" & FORMAT ( [Date]; "Q" );
"Jaar kwartaal"; FORMAT ( [Date]; "YYYY" ) & "-Q" & FORMAT ( [Date]; "Q" );
"Schooljaar Begin"; if(month([Date])<8;YEAR([date])-1 ;YEAR([Date]));
"Schooljaar Eind"; if(month([Date])<8;YEAR([date]) ;YEAR([Date])+1)
)
 
I would like to combine the output to for example "13/14". The year starts in August and ends in July the next year.
 
What is the best solution?
 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Creating Date table school year

@mvanwill it is like creating a fiscal calendar. and there are many posts on it. Here is link to one

 

 






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

1 REPLY 1

Re: Creating Date table school year

@mvanwill it is like creating a fiscal calendar. and there are many posts on it. Here is link to one

 

 






Did I answer your question? Mark my post as a solution.

Proud to be a Datanaut! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (2,688)