Forum Discussion
Kana_K
3 years agoNew Member
If Statement - check if the table has a column
Hello, I am a beginner in power query and need help. I have a table that has 3 or 5 columns depending on the month. Columns 1-3 are always in the table. I would like to use the IF statement. ...
Anonymous
3 years agoNot applicable
= if Table.HasColumns(#"PrevStep","ColumnName") then #"PrevStep" else Table.AddColumn(#"ColumnName","ColumnName", each 0)