Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Cowansville125
New Member

Incorrect Amount when Formatting the Column in Data View

When I format a Numeric column in Data View to Whole Number and Decimals, the Amount is no longer the same.

Any recommendations?

4 REPLIES 4
v-yangliu-msft
Community Support
Community Support

Hi  @Cowansville125 ,

 

When you format the Number column as integer and decimal in Data View, the amount is automatically rounded based on the type you set.

vyangliumsft_0-1686033296315.png

Adjust to an integer, omitting the following decimal point

vyangliumsft_1-1686033296316.png

When adjusting to Decimals, the system will automatically display a few decimal places according to the data format, and you can choose how many decimal points to display.

vyangliumsft_2-1686033313228.png

 

Best Regards,

Liu Yang

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

Sahir_Maharaj
Super User
Super User

Hello @Cowansville125,

 

You can adjust the column's formatting settings to ensure that the desired precision is maintained:

  1. Select the numeric column in Data View that you want to format.
  2. In the "Modeling" tab of the Power BI ribbon, click on the "Format" drop-down menu.
  3. Choose "More options..." to open the formatting options for the selected column.
  4. In the "Format" pane that appears on the right side, adjust the formatting settings to meet your requirements.

If you want the column to display as a whole number without any decimals, make sure to set the "Decimal places" option to zero.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution?
➤ Lets connect on LinkedIn: Join my network of 13K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Sahir,

Thanks for your help on this. Once I understood the steps, it worked. So thanks again for your help.

Thanks for your respnse. I went in Data View selected my numeric column and then went to the modeling tab but I do not see Format Drop down Menu. Can you put the image in this response.

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.