Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
sekinod
Helper II
Helper II

Getting Last Month End Date and Selected date

If I selected 12/7/2018, Then I need to get all the months' end up to that month within that year and selected date as below,

Date1.PNG

 

Another example:

If Select 10/14/2018 then I need to get the following dates 

 

date2.PNG

 

How can I achieve that. Thank you

1 REPLY 1
AntrikshSharma
Super User
Super User

@sekinod  Since you didn't provide the data I can only create a dummy data, always make sure you provide some data and create a detailed post! You can find the file attached below my signature.

 

1.png

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.