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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

convert excel calculation into power bi

Hi Community,

I am currently calculating my project status in excel.

 

Example in Excel:

on time = planned End date

delayed 1-3 month = planned End date + 90 days

delayed 3-6 month = planned End date + 180 days

Unbenannt.PNG

 

I would like to do this calculation directly in the power bi to maintain my status

 

does someone have a solution?

1 REPLY 1
kcantor
Community Champion
Community Champion

You should be able to complete this using the DATEADD calculation as long as your dates are in the date format and you have a good date dimension table.  If your columns in your source are named as the sample, try:

 

on time = [planned End date]

delayed 1-3 month = DateAdd( [planned End date],  90, day)

delayed 3-6 month =DateAdd( [planned End date],  180, day)

See this link for more information.

https://dax.guide/dateadd/

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.