Forum Discussion
Tony67
2 years agoNew Member
How do I create a conditional column by comparing data from two existing columns?
I am new to Power Query and using Power Query to pull data in from an external file. The data has multiple columns. The two columns, Date and Mine, are the ones that I want to use to create a new co...
wdx223_Daniel
2 years agoCommunity Champion
=Table.ReplaceValue(#"Removed Columns",each [Date],null,(x,y,z)=>if x="OBO" and y<#date(2024,4,1) then "OBC" else x,{"Mine"})