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

Calculated column IF Dates Between DAX

Hi Experts

 

Need a calculated column measure to return 1 if the Closk Start Date is between the SubmissionStartDate and SubmissionEndDate...

Clock Start Date                 SubmissionStartDate                          SubmissionEndDate

02/08/2022                         01/08/2022                                        31/08/2022

 

New Column return either 1 or 0, in this case it lies between the two dates

1 ACCEPTED SOLUTION
PVO3
Impactful Individual
Impactful Individual

I think you are looking for a calculated column like:

Column =

IF(

  Start Date > SubmissionStartDate && Start Date < SubmissionEndDate ||

  Start Date < SubmissionStartDate && Start Date > SubmissionEndDate,

  1,

  0

)

View solution in original post

2 REPLIES 2
PVO3
Impactful Individual
Impactful Individual

I think you are looking for a calculated column like:

Column =

IF(

  Start Date > SubmissionStartDate && Start Date < SubmissionEndDate ||

  Start Date < SubmissionStartDate && Start Date > SubmissionEndDate,

  1,

  0

)

Anonymous
Not applicable

stop on sir

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