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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
mevans
Frequent Visitor

Find a date that is equal to another date plus a specific number of days

I have two columns in a table fsales[Date of Sale] and fsales[Hold Date].

 

I would like to create a caluclated column that finds where the Hold Date is equal to exactly 14 days after the Date of Sale.

 

My calculation looks like this but I am not getting any correct data.

 

End of Trial = IF(fSales[Date of Sale]=(fSales[Hold Date]+14),1,BLANK())

 

Thanks for your help!

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@mevans

 

i believe this is the right way

 

End of Trial = IF(fSales[Date of Sale]+14=fSales[Hold Date],1,BLANK())




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@mevans

 

i believe this is the right way

 

End of Trial = IF(fSales[Date of Sale]+14=fSales[Hold Date],1,BLANK())




Lima - Peru

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.