cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
Super User
Super User

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
Highlighted
Super User
Super User

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 Ranks and Rank Icons in 2020

New Ranks and Rank Icons in 2020

Read the announcement for more information!

New Kudos Given Badges Coming

New Kudos Given Badges Coming

We're rolling out new Kudos Given badges. Find out how many Kudos you've given.

November 2019 Community Highlights

November 2019 Community Highlights

Get an overview of the events and great community content from November.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)