Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I am working with two date columns:
Example,
StudentID Start Date End Date
1 4/25/2021 7/15/2021
2 2/5/2021. 5/25/2021
I am trying generate a list of dates that include month end dates or end date. An example of the result that I am looking for,
StudentID Start Date End Date. New Column
1 4/25/2021 7/15/2021 4/30/2021
1 4/25/2021 7/15/2021 5/31/2021
1 4/25/2021 7/15/2021 6/30/2021
1 4/25/2021 7/15/2021 7/15/2021 - this is the end date
2 2/5/2021. 5/25/2021 2/28/2021
2 2/5/2021. 5/25/2021 3/31/2021
2 2/5/2021. 5/25/2021 4/30/2021
2 2/5/2021. 5/25/2021 5/25/2021
Any thoughts on how to do this. Thank you so much.
Solved! Go to Solution.
Hi,
Have you followed the DAX formula posted by PaulOlding to find the solution to your problem?
If so, would you like to mark his reply as a solution so that others can learn from it too?
Thanks in advance!
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Have you followed the DAX formula posted by PaulOlding to find the solution to your problem?
If so, would you like to mark his reply as a solution so that others can learn from it too?
Thanks in advance!
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RK9009
Here's some DAX to create a new table
New Table =
VAR _MonthEndBetween =
FILTER(
GENERATE(
'Table',
CALENDAR('Table'[Start Date], 'Table'[End Date])
),
[Date] = EOMONTH([Date], 0)
)
VAR _EndDate =
ADDCOLUMNS(
'Table',
"Date", 'Table'[End Date]
)
RETURN
UNION(_MonthEndBetween, _EndDate)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
10 |