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! Request now

Reply
Anonymous
Not applicable

True/False in a new field after comparing two dates

Hi all, thank you in advance for your assistance.

 

I have one dataset bringing two dates: Due Date and Done Date. I need to compare the two dates. If the job was done on the same month/year of due date is true, if not False. As new column.

Done date     Due date      True/False

Jun.09.2013   Jun.12.2013  True

Jun.12.2013   Jul.15.2013    False

 

Regards

Jose Milhazes

2 ACCEPTED SOLUTIONS
RolandsP
Resolver IV
Resolver IV

One way how to get this would be:

 

True/False = IF ( CONCATENATE(MONTH(Sheet1[Due date]), YEAR(Sheet1[Due date])) = CONCATENATE(MONTH(Sheet1[Done date]), YEAR(Sheet1[Due date])), "True", "False")

View solution in original post

Anonymous
Not applicable

Did work thank you!!

View solution in original post

2 REPLIES 2
RolandsP
Resolver IV
Resolver IV

One way how to get this would be:

 

True/False = IF ( CONCATENATE(MONTH(Sheet1[Due date]), YEAR(Sheet1[Due date])) = CONCATENATE(MONTH(Sheet1[Done date]), YEAR(Sheet1[Due date])), "True", "False")

Anonymous
Not applicable

Did work thank you!!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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