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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Help with Dates

Hi All,

 

I'm very new to DAX and need help in below calculations with respect to based on Today's Date

 

1. First Day of Next Month 

2. 3rd Day of Next Month 

3. First Day of Last Month

4. Last Day of Last Month 

 

Please help me with this 

 

Thanks in Advance

Anil

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I got answers Guys

 

Figured it out somehow and everything is working as expected.


Posting the calculations to the forum so that I may help someone

 

First Day of Current Month = DATE(YEAR(TODAY()), MONTH(TODAY()), 1)
Last Day of Current Month = EOMONTH(today(),0)
First Day of Previous Month = EOMONTH(TODAY(),-2)+1
Last day of Previous Month = EOMONTH(TODAY(),-1)
First Day of Next Month = EOMONTH(TODAY(),0)+1
Last day of Previous Month = EOMONTH(TODAY(),-1)
Third Day of Next Month = EOMONTH(TODAY(),0)+3

View solution in original post

1 REPLY 1
Anonymous
Not applicable

I got answers Guys

 

Figured it out somehow and everything is working as expected.


Posting the calculations to the forum so that I may help someone

 

First Day of Current Month = DATE(YEAR(TODAY()), MONTH(TODAY()), 1)
Last Day of Current Month = EOMONTH(today(),0)
First Day of Previous Month = EOMONTH(TODAY(),-2)+1
Last day of Previous Month = EOMONTH(TODAY(),-1)
First Day of Next Month = EOMONTH(TODAY(),0)+1
Last day of Previous Month = EOMONTH(TODAY(),-1)
Third Day of Next Month = EOMONTH(TODAY(),0)+3

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.