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

View all the Fabric Data Days sessions on demand. View schedule

Reply
RMRaptor
Frequent Visitor

Custom Dates between 4 dates columns

Hello All

we have scenario  we have 4 date columns , we want to know if Purchase date and Shipping falls between Order date and sales date, if it does then insert value of Purchase date. is it possible to achieve this calculations or can we break it nested if else statement.?

Product A 

PurchaseDate :03/01/2023 

ShippingDate: 05/10/2023

 

Product B 

PurchaseDate :05/12/2023 

ShippingDate: 07/28/2023

 

Product C

PurchaseDate :08/01/2023 

ShippingDate: 11/30/2023

 

OrderDate: 03/01/2023

Sales Date: 09/16/2023

 

1 REPLY 1
Ahmedx
Super User
Super User

show what your table looks like

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
Top Kudoed Authors