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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to add a conditional column to use IF(AND ?

Please help, I'm very new to Power Query, absolutely loving it so far but I need a new column that says

IF Col A AND Col B = Complete THEN "Complete" ELSE "Incomplete"

 

I can only see a way of puting in IF statements though without an AND

 

Please help

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I eralised I could just add a normal conditional column using one IF statement then adjust the formula in the formula bar to add in the and part of the formula

= Table.AddColumn(#"Replaced Value1", "Committed Cost", each if [Calculated Status] = "Complete" and [Cmtd Total] > 1000 then [Cmtd Total] else 0)

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I eralised I could just add a normal conditional column using one IF statement then adjust the formula in the formula bar to add in the and part of the formula

= Table.AddColumn(#"Replaced Value1", "Committed Cost", each if [Calculated Status] = "Complete" and [Cmtd Total] > 1000 then [Cmtd Total] else 0)

Anonymous
Not applicable

Don't worry, I've worked it out!
Anonymous
Not applicable

Hi @Anonymous ,

Glad to hear that you have solved your problem, could you please share your solution below and mark it as a solution? I am sure your sharing will help more users who are facing the same or similar problem, thanks!

Best Regards,
Dino Tao

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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