Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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]
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.