Forum Discussion

JasonF's avatar
JasonF
New Member
9 years ago
Solved

Performing division on a single column

Hi All.

 

Very new to all this and am struggling to work out how I go about changing a column data by dividng it by a fixed number.  I have a set of data from the source that has come in as bytes and I want to change this to GBytes.  I cant change it on the source so haev to do it in BI

 

any pointers greatfully received.

 

Thank you

 

 

  • In Power Query (Query Editor), you can use the standard math functions to create a step that divides the column on import. If you do not do it on import, you create a custom column or measure and put in a formula like:

     

    Column = DIVIDE([Column],1000000)

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    In Power Query (Query Editor), you can use the standard math functions to create a step that divides the column on import. If you do not do it on import, you create a custom column or measure and put in a formula like:

     

    Column = DIVIDE([Column],1000000)
    • JasonF's avatar
      JasonF
      New Member

      Hi smoupre

      Thanks for the tip.  I found it yesterday as it happens, think I couldt see the wood for the trees.