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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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.