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
Rana
Regular Visitor

Power Bi Table number formatting

I am creating a simple Table in Power BI and trying to get rid of decmials but cant seem to find an option fo number formating anywhere, i can Edit Query and change the format but it rounds off numbers incorrectly and even after that Table visual will not remove 2 decimal places. I dont think Microsoft can oversee this very very basic feature.

 

Also how do i sort a table in the table (1st column in the screen shot).

Power BI screen shot.JPG

12 REPLIES 12
fbluemke
Advocate I
Advocate I

Click into the data table view to update formatting.
Greg_Deckler
Super User
Super User

In Data view, choose your table, choose your column and on the Modeling tab where it says "Auto", (Formatting section) edit this to be 0.

 

In report, select table, click on the column you want to sort, if it is sorted the wrong way, click again. You can also set a "Sort By" column if you need a special type of sorting.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

where do i find the "data view"?

While on the Designer, you can find the Data View on the left side menu.

Look for the 3 icons shown...

 

Side Menu OptionsSide Menu Options

Found this solution while trying to figure out the decimal places.  One thing I'm perplexed about though.  I am wondering how this can be done on a column that you are showing as a percent of the total such as below.  How do I adjust this to a single decimal place?  

  

Total% Total
90.86%
30.29%
40.38%
60.58%
90.86%
111.06%
60.58%
20.19%
121.15%
141.34%

See Display units and precision control for table & matrix columns in Power BI Desktop March Feature Summary.

 

 

 

I have the same issue but when i go to modeling tab the formatting section is all greyed out and won't let me select anything?

image.png

Anonymous
Not applicable

I have the same issue 😕


@fbluemke wrote:

I have the same issue but when i go to modeling tab the formatting section is all greyed out and won't let me select anything?

image.png


 

Anonymous
Not applicable

Yep.  You're an allstar @smoupre

Hello @Greg_Deckler

 

I have updated my model and set the decimal to 0. After doing that my model is getting currepted.

 

Is there any way to overcome this?

 

Thanks in Advance

Shruti Vyas

 

thanks for the reply, sorting worked out fine.

 

Table is still not formating properly, screen shots below:

1st screen shot is the table and 2nd screen shot is formatted column from the data tab.

data format.JPGdata format.JPG

Rana
Regular Visitor

formatting worked too, i had to drop and include the Measure again on the table,
thanks for your help

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.

Top Solution Authors