Forum Discussion
Anonymous
6 years agoNot applicable
IF AND statement Power Query
Hi. I'm trying to add new custom column using IF AND statement. If "Aging" is greater than 60, and "Aging" is less than 365, give "Total PD". If(and(Aging>60,Aging<365),Total PD,0) It seems like...
Nathaniel_C
6 years agoCommunity Champion
Hi Anonymous ,
Try this:
Table.AddColumn(#"Changed Type", "Custom", each if [Aging] > 60 and [Aging] <365 then [Total PD] else 0)
Let me know if you have any questions.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel