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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
kasife
Helper V
Helper V

Conditional column to increase 1 month after date

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).

 

kasife_0-1677901093439.png

 

Thanks

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

 

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
Screen Capture #414.png

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

 

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
Screen Capture #414.png

@Ahmedx Thanks so much. It worket perfectly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors