Forum Discussion
Group dates by season
Hi, I'm working on a final report on football players.
I know it's something very basic, but I can't remember the steps to follow to group dating according to the period we want.
My intention is to group dates, for example, from August 28, 2021 to May 5, 2022 and call it "Season 2021-2022"
I attach two images to make it clearer.
Let's see if anyone can help me, greetings.
8 Replies
- Ahmedx
Super User
you need to create a small table (season name, season start date, season end date) and on the basis of this table you need to group your table
- Ahmedx
Super User
or create a conditional column
Share some data to work with (in a format the can be pasted in an MS Excel file) and show the expected result.
- Syndicate_Admin
Administrator
Hi, this is a part of the table of the .xls document. Thank you.
Date Specific position Minutes played Goals Assists 2023-04-29 LCMF 98 0 0 2023-04-23 LCMF, RDMF 98 0 1 2023-04-15 LDMF, RDMF 93 0 0 2023-04-09 RDMF 101 0 0 2023-04-02 LCMF, RCB 102 0 0 2023-03-26 LCMF 94 0 0 2023-03-19 LCMF 100 0 0 2023-03-12 LCMF, RCMF 99 0 0 2023-03-04 RCMF 99 0 0 2023-02-26 DMF, LCMF, LCMF3, LDMF, RCMF 94 0 0 2023-02-18 LCMF, RCMF 95 0 0 2023-02-12 LCMF 94 0 0 2023-02-04 LDMF 85 0 0 2023-01-22 LCMF 100 0 0 2023-01-15 LCMF, LCMF3 90 0 0 2023-01-08 LCMF, RCMF 96 0 0 2022-12-17 LCMF, RCMF 101 0 1 2022-12-11 LCMF 96 0 0 2022-12-06 DMF, LCMF 93 0 0 2022-12-03 LCMF, LDMF, RDMF 104 0 0 2022-11-27 LCMF 99 0 0 2022-11-20 LCMF, RCMF 101 0 0 2022-11-06 LCMF 99 0 0 2022-10-30 LCMF 94 0 0 2022-10-23 LCMF 98 0 0 2022-10-19 LCMF 60 0 0 2022-10-15 LCMF, LDMF 94 0 0 2022-10-09 LCMF, RCMF 99 0 0 2022-10-01 LCMF 94 0 0 2022-09-24 DMF, RCMF 97 0 0 2022-09-18 LCMF 95 0 0 2022-09-11 LCMF, RCMF 83 0 0 2022-08-28 RCMF 82 0 0 2022-05-28 RCMF 96 0 0 2022-05-21 RCMF 93 0 0 2022-05-13 LDMF, RDMF 98 0 0 2022-04-30 LCMF 42 0 0 2022-04-24 RCMF 95 0 0 2022-04-17 RCMF, RDMF 96 0 0 2022-04-02 LDMF, RDMF 95 0 0 2022-03-26 LCMF, RCMF, RCMF3 96 1 0 2022-03-06 LCMF 71 0 0 2022-02-26 LCMF 45 0 0 2022-02-20 RDMF 80 0 0 2022-02-13 RCMF 49 0 0 2022-02-06 LDMF, RDMF 96 0 0 2022-01-29 RCMF 74 0 0 2022-01-26 LCMF 76 0 0 2022-01-23 LDMF, RDMF 63 0 0 2022-01-09 RCMF 95 0 0 2021-12-19 LCMF, LDMF 95 0 0 2021-12-15 LDMF 95 0 0 2021-12-12 RB 92 0 0 2021-12-05 RCMF 80 0 0 2021-11-27 LCMF 92 0 0 2021-11-20 LCB, LCMF 97 1 0 2021-11-13 LCMF, LDMF, RCMF 95 0 0 2021-11-05 LCMF 86 0 0 2021-10-31 LCMF 16 0 0 2021-10-23 RCMF 40 0 0 2021-10-17 RCMF 46 0 0 2021-10-10 RCMF 93 0 0 2021-10-02 LCMF 95 0 0 2021-09-26 LCMF, RCMF 95 0 0 2021-09-17 RCMF 96 0 0 2021-09-12 LCMF, RCMF 98 0 0 2021-09-05 RCMF 49 0 0 2021-08-28 RDMF 96 0 0 2021-05-09 LDMF 98 0 0 2021-05-02 RCB 93 0 0 2021-04-17 LCMF 89 0 0 2021-04-10 RCB, RCMF 93 0 0 2021-03-28 LCMF 32 0 0 2021-03-07 DMF, LCMF, RCMF 96 0 0 2021-02-21 LCMF 25 0 0 2021-02-14 DMF 96 0 0 2021-02-07 RCMF, RDMF 95 0 0 2021-01-24 RCMF 95 0 0 2021-01-16 LCMF, RCMF 95 0 0 2021-01-10 LDMF, RCMF 94 0 0 2020-12-13 LCMF, LDMF 96 0 0 2020-12-06 DMF, LCMF, RCMF 95 0 0 2020-11-29 LCMF, RCMF 97 0 0 2020-11-22 LCMF 81 0 0 2020-11-08 LCMF, RCMF 87 0 0 2020-11-01 CB 16 0 0 2020-10-25 LDMF, RDMF 74 0 0 2020-10-18 LCMF 94 0 0 - Ahmedx
Super User
according to your table write which seasons you should get and write which period for each
Is this what you are looking for?
- Syndicate_Admin
Administrator
For example:
-Season 2022_2023 - From 28-08-2022 to 24-04-2023
-Season 2021_2022 - From 28-08-2021 to 28-05-2022
-Season 2020_2021 - From 18/10/2020 to 09-05-2021
- Ahmedx
Super User
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
https://1drv.ms/u/s!AiUZ0Ws7G26Rh2YejDKE5u8qPbf4?e=c5VQhU
- Syndicate_Admin
Administrator
Perfect!
Thanks a lot!
- Ahmedx
Super User
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.