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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!