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.
Within Power Query, I need to create a new date column called Planned Exit Date that calculates as below:-
If [PlannedExitTime] (time format) is less than [PlannedEntryTime] (time format) then +1 day to [PlanndVisitDate]
Can someone please help me?
Solved! Go to Solution.
try
If ... then Date.AddDays([PlannedVisitDate],1) else ...
Thank you that has worked - I really appreciate your help @Greg_Deckler @Einomi
@spandy34 Maybe:
= if [PlannedExitTime] < [PlannedEntryTime] then [PlannedVisitDate] + 1 else [PlannedExitTime]
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.