Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi Guys,
How can I create a conditional column in power query using the following logic
If the sales confirmation column is equal to "confirmed sale" use the contract date column, if it is "open sale" use the contract date + 1 month (insert the following month).
Thanks
Solved! Go to Solution.
if [sales confirmation]="confirmed sale" then [Status change date] else Date.AddMonths([Status change date],1)
see attached
https://1drv.ms/u/s!AiUZ0Ws7G26RhhXkS-4XM5wSlkaU?e=Fi5TR2
if [sales confirmation]="confirmed sale" then [Status change date] else Date.AddMonths([Status change date],1)
see attached
https://1drv.ms/u/s!AiUZ0Ws7G26RhhXkS-4XM5wSlkaU?e=Fi5TR2