Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

help, how to merge 2 columns

if(isblank([Code1],[Code2],[Code1]))   i'm trying to merge 2 columns using above but it's not working in power BI but do work in excel. help    
  • Eric_Zhang's avatar
    10 years ago

    Anonymous

     

    If you're talking about a calculated column, it should work. Just fix a little syntax error.

     

    if(isblank([Code1]),[Code2],[Code1])

    Or mergring columns

    CONCATENATE([code1],[code2])