Forum Discussion

nunnc01's avatar
nunnc01
Icon for Helper II rankHelper II
7 years ago
Solved

Deleting row where column contains text

Hi,   I have a column of data coming in to Power BI from our system that should only contain numbers. However somehow a piece of text has been stored which is now preventing me from having the colu...
  • v-juanli-msft's avatar
    7 years ago

    Hi nunnc01 

    Assume you have table

    Format->Trim (Returns the result of removing all leading and trailing whitespace from text value text.

    Change type to whole number

    Replace error with null

    Finally, remove null.

     

    Best Regards
    Maggie
     
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.