Hi All,
Looking forward to updating below code with Multiple Ifs, criteria based on another column.
Using Power Query, I have connected an Excel Sheet in which I have to update a Column with Excel Formula in Blank Cells:
How do I get this formula in Power Query? Below code helped me to get 1 equation but I am struggling to get this for other criteria's.
hence need your help/suggestion in updating the code below and this should be applied only on Blank Cells in the column.
Regards,
Harish
Looking forward to updating below code with Multiple Ifs, criteria based on another column.
Using Power Query, I have connected an Excel Sheet in which I have to update a Column with Excel Formula in Blank Cells:
Code:
=If(And(G2="Confirmed",G2="Probation"),E2+89,If(G2="Probation Extn",E2+179,"CHECK"))
How do I get this formula in Power Query? Below code helped me to get 1 equation but I am struggling to get this for other criteria's.
Code:
let
Source = Excel.Workbook(File.Conetents("C:\harish.xlsx"), null, ture),
sheet1_Sheet = Source{[Item="sheet1",Kind="Sheet"]}[Data],
#"Removed Columns" = Table.RemoveColumns(Source,{"Gender", "Grade"},
#"ReplaceNulls" = Table.ReplaceValue(#"Removed Columns", null, each if [Probation Status]="Probation" then Date.AddDays([Joining Date], 89) else [Probatoion Date], Replacer.ReplaceValue,{"Probation Status Date}),
in
ReplaceNulls
hence need your help/suggestion in updating the code below and this should be applied only on Blank Cells in the column.
Regards,
Harish