Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I need assistance from you.
I have the following table.
| Thursday, October 1, 2020 | 1162.36 |
| Friday, October 2, 2020 | 1165.01 |
| Monday, October 5, 2020 | 1168.04 |
| Tuesday, October 6, 2020 | 1168.93 |
| Wednesday, October 7, 2020 | 1174.49 |
| Thursday, October 8, 2020 | 1186.42 |
| Friday, October 9, 2020 | 1190.01 |
| Monday, October 12, 2020 | 1190.01 |
| Tuesday, October 13, 2020 | 1170.72 |
| Wednesday, October 14, 2020 | 1171.36 |
| Thursday, October 15, 2020 | 1166.01 |
| Friday, October 16, 2020 | 1171.80 |
| Monday, October 19, 2020 | 1174.94 |
| Tuesday, October 20, 2020 | 1187.39 |
| Wednesday, October 21, 2020 | 1177.92 |
| Thursday, October 22, 2020 | 1177.89 |
| Friday, October 23, 2020 | 1175.33 |
| Monday, October 26, 2020 | 1177.09 |
| Tuesday, October 27, 2020 | 1162.58 |
| Wednesday, October 28, 2020 | 1120.37 |
| Thursday, October 29, 2020 | 1131.27 |
| Friday, October 30, 2020 | 1136.75 |
| Monday, November 2, 2020 | 1136.75 |
| Tuesday, November 3, 2020 | 1151.37 |
| Wednesday, November 4, 2020 | 1156.41 |
| Thursday, November 5, 2020 | 1163.03 |
| Friday, November 6, 2020 | 1172.34 |
| Monday, November 9, 2020 | 1213.69 |
| Tuesday, November 10, 2020 | 1213.39 |
| Wednesday, November 11, 2020 | 1220.06 |
| Thursday, November 12, 2020 | 1207.21 |
| Friday, November 13, 2020 | 1209.87 |
| Monday, November 16, 2020 | 1209.87 |
| Tuesday, November 17, 2020 | 1230.73 |
| Wednesday, November 18, 2020 | 1234.56 |
| Thursday, November 19, 2020 | 1230.81 |
| Friday, November 20, 2020 | 1239.74 |
| Monday, November 23, 2020 | 1247.94 |
| Tuesday, November 24, 2020 | 1270.61 |
| Wednesday, November 25, 2020 | 1263.65 |
| Thursday, November 26, 2020 | 1263.04 |
| Friday, November 27, 2020 | 1261.74 |
| Monday, November 30, 2020 | 1258.00 |
| Tuesday, December 1, 2020 | 1285.12 |
| Wednesday, December 2, 2020 | 1288.49 |
| Thursday, December 3, 2020 | 1298.13 |
| Friday, December 4, 2020 | 1341.23 |
| Monday, December 7, 2020 | 1363.74 |
| Tuesday, December 8, 2020 | 1363.74 |
| Wednesday, December 9, 2020 | 1383.59 |
| Thursday, December 10, 2020 | 1368.49 |
| Friday, December 11, 2020 | 1377.67 |
| Monday, December 14, 2020 | 1389.31 |
| Tuesday, December 15, 2020 | 1408.02 |
| Wednesday, December 16, 2020 | 1421.47 |
| Thursday, December 17, 2020 | 1443.59 |
| Friday, December 18, 2020 | 1426.47 |
| Monday, December 21, 2020 | 1377.38 |
| Tuesday, December 22, 2020 | 1400.91 |
| Wednesday, December 23, 2020 | 1416.62 |
| Thursday, December 24, 2020 | 1422.21 |
| Friday, December 25, 2020 | 1422.21 |
| Monday, December 28, 2020 | 1431.05 |
| Tuesday, December 29, 2020 | 1450.72 |
| Wednesday, December 30, 2020 | 1437.89 |
| Thursday, December 31, 2020 | 1437.89 |
| Friday, January 1, 2021 | 1437.89 |
| Monday, January 4, 2021 | 1418.01 |
Unfortunately I can't show here all the table. But I have info since 2009.
All I need is when I select the last day I receive the first day of the corresponding semester. For example If I select January 4th, I receive the value of January 1st, but If I choose October 20th, 2020 I receive the value of June 1st.
I appreciate your help.
Solved! Go to Solution.
@Anonymous solution attached, the core is to store semester start date in the calendar table and then use it to get semester start value. You can tweak the logic as per your need.
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi, @Anonymous
I’m not sure the criteria for determining the range of semesters, what I think that the range of semesters is determined by a given table.
The following method is what I do for you.
If it’s not your expected output, please provide more details.
As below:
Step1: Create a calendar table as:
Calendar =
CALENDAR("2020-01-01","2020-12-31")
Step2: Create measure as:
FirstDay =
CALCULATE (
MAX ( Semesters[First Day] ),
FILTER (
ALL ( Semesters ),
'Semesters'[Last Day] = SELECTEDVALUE ( 'Calendar'[Date] )
)
)
Here is the output:
Best Regards,
Link
@Anonymous check attached
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Hi, @Anonymous
I’m not sure the criteria for determining the range of semesters, what I think that the range of semesters is determined by a given table.
The following method is what I do for you.
If it’s not your expected output, please provide more details.
As below:
Step1: Create a calendar table as:
Calendar =
CALENDAR("2020-01-01","2020-12-31")
Step2: Create measure as:
FirstDay =
CALCULATE (
MAX ( Semesters[First Day] ),
FILTER (
ALL ( Semesters ),
'Semesters'[Last Day] = SELECTEDVALUE ( 'Calendar'[Date] )
)
)
Here is the output:
Best Regards,
Link
@Anonymous solution attached, the core is to store semester start date in the calendar table and then use it to get semester start value. You can tweak the logic as per your need.
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous , The information you have provided is not making the problem clear to me. Can you please explain with an example?
The logic is not clear. Before this date what is the min date of continuous dates? or is there a semester value?
For example a new column can give you min date with the same semester
Appreciate your Kudos.
Sounds like you need a Date dimension with an Attribute in it named "First Date of Semester". For Dates 1/1/2020 through 6/30/2020, this value will be Jan 1 2020. For July through December, it would be 7/1/2020. It's not much different than a Week Number or Week Start Date attribute.
Proud to be a Super User! | |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 172 | |
| 107 | |
| 92 | |
| 54 | |
| 46 |