Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Multiple Conditions in Custom Column

Hello, I was hoping someone could point out what I am doing wrong.  I am using Power Query to check two columns for conditions and if they relsove to be true then update a third column. What I have ...
  • jdbuchanan71's avatar
    7 years ago

    Try this, I think you just need to change to the [label] = null

     

    Table.AddColumn(#"Changed Type", "Custom", each if [HDX_Domain] = "CPR" and [label] = "None" then "$CPR" else if [HDX_Domain] = "CPR" and [label] = null then "$$$CPR" else [label])