Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

error messages when applying changes

Hi all,   I just created a query from a folder to combine several several files into one. In the query editor all seems to go fine and everything works. Now, when I tried to apply changes the foll...
  • dax's avatar
    dax
    6 years ago

    Hi Anonymous , 

    When you want to combine number and text, you could try below M code

    = Table.AddColumn(#"Changed Type", "Custom", each [text column]&Number.ToText([number]))

     In addition, you also need to check whether there is any other error in your power query  

    Best Regards,
    Zoe Zhi

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • tex628's avatar
    tex628
    6 years ago

    From that error message it appears that you are at some point creating a custom column. In this custom column you are trying to add the values of two columns together where one contains values that are not numeric.

    From what i can tell it is the right column in the expression that is the problem as it contains "DIRSHRO30" which is a text value. 

    I don't really know what the appropriate action here is, as i don't know the purpose of the custom column. You could filter away the text values beforehand if the rows are not relevant.

    Br,
    J