Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

M Query Divide

dd   Hello  -  I have a column coming in from our ERP system that does not properly place the decimal point.     So instead of .5496 the column comes in as a text field and says 54.96.     Upon c...
  • Thejeswar's avatar
    Thejeswar
    5 years ago

    Anonymous ,

    Guess you got a little confused.

     

    The M-Query should be as follows

    = Table.AddColumn(#"Uppercased Text3", "Margin%", each [Margin]/ 100))

    where #"Uppercased Text3" is the previous step

    Margin% is the new column name

    [Margin] is the column that you are going to divide