Forum Discussion

jmiridium's avatar
jmiridium
Helper IV
9 years ago
Solved

Remove Decimals In Table

I want to show whole numbers. By default I have two decimal places in my table with numbers. How do I remove the decimal?

  • You can go to the data view, select the appropriate column, and then select the Modeling ribbon and then formatting tab.  You can either change to a Whole Number or reduce Decimal Number to show 0 decimal places.

11 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi - Found the Solution for your problem:

     

    1. Select the Table

    2. Goto Formatting Options -> Field formatting -> Dropdown (Select the variable) -> Value decimal Places

     

     

     

    • EduSurveys's avatar
      EduSurveys
      Advocate II

      This worked for me! I wanted to report a measure both as a count and then as % of grand total, so I wasn't able to change the decimal places via Modeling since the original measure was a number, not a %.

       

      Field formatting works for this reason.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Great solution! Thanks - good remark that from the drop down we need to select the proper measure (column) we want to remove the decimals for. The first column in my table was text column, so i did not see the option of adjusting decimals. But after i chose the proper column from the drop down menu- everything worked as a magic 🙂

  • tjd's avatar
    tjd
    Impactful Individual

    You can go to the data view, select the appropriate column, and then select the Modeling ribbon and then formatting tab.  You can either change to a Whole Number or reduce Decimal Number to show 0 decimal places.

    • Anonymous's avatar
      Anonymous
      Not applicable
      How would i do this using directy query instead of import
    • Anonymous's avatar
      Anonymous
      Not applicable
      How would i remove decimals if im using direct query
      • Anonymous's avatar
        Anonymous
        Not applicable

        I might be answering this question too late, goto  Edit query->Transform -> Data Type -> Fixed decimal number . The value changes from type number to the accounting type($) . Right click on the variable,->transform -> round to remove the decimal points.