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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Calculated column to get the first date of next month?

I have a column with dates of the format: 4/25/21. I want a new column that will calculate the first date of next month, no matter what day it is this month

 

I tried this code:

Future Effective Date = EOMONTH('Account Move Audit Log - Dashboard'[Effective Date],1)+1
 
It seems to only give me the end of next month, however. I'm lost on this one... 
1 ACCEPTED SOLUTION

Hi, @Anonymous 

Thank you for your feedback.

 

Yes, you can create that.

 

nextmonthfirstdate = IF( 'Calendar'[Date] >= TODAY(), EOMONTH('Calendar'[Date],0)+1)
 

Jihwan Kim

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

3 REPLIES 3
Jihwan_Kim
Super User
Super User

Hi, @Anonymous 

 

I am not sure about your table name and column name.

Please try something like below to make a calculated column.

 

nextmonthfirstdate = EOMONTH('Calendar'[Date],0)+1
 

Jihwan Kim

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

@Jihwan_Kim This works great, but I have noticed an issue in my logic. It will apply to any date, even past dates.

 

Is there any way to apply a filter on top of this EOMONTH to also filter any date out that is in the past? So for example, if date >=today, then EOMONTH('Calendar'[Date],0)+1?

 

i.e. 

Future Dates = IF('Account Move Audit Log - Dashboard'[Effective Date]<=TODAY() THEN EOMONTH('Account Move Audit Log - Dashboard'[Effective Date],0)+1 ?

Hi, @Anonymous 

Thank you for your feedback.

 

Yes, you can create that.

 

nextmonthfirstdate = IF( 'Calendar'[Date] >= TODAY(), EOMONTH('Calendar'[Date],0)+1)
 

Jihwan Kim

If this post helps, then please consider accept it as the solution to help the other members find it more quickly.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors