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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.