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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Chanleakna123
Post Prodigy
Post Prodigy

Convert to Decimals Number auto , even in excel not appear decimlals

hi all , plesee notice on column Q I highlight 

in excel I extracted from system . It doesn't show me the decimals , once I move my causer to on it . It is appear to have decimals 0.0416666 on it. 
ehen import into BI , the decimals are all lost. 
I lost around 1000 volume in 1 outlet. 
I have 300 excel files in hand which causing the same. 
Donu have any idea how to let BI know that this is the decimals even in excel show 0 decimals ? 

 

 

image.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Chanleakna123 you can try changing the script from advance editor in power query

For your case  you need to change the datasource to Type number highlighted in yellow
decimal issue2.PNG

Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍

View solution in original post

6 REPLIES 6
Chanleakna123
Post Prodigy
Post Prodigy

@Anonymous  @Anonymous , the column is set as "custom" 

and this is original extracted from system. If I make change on this to number , I may need to change to another a hundred file . Which is taking time. Do u have any idea on this ?

Anonymous
Not applicable

@Chanleakna123 you can try changing the script from advance editor in power query

For your case  you need to change the datasource to Type number highlighted in yellow
decimal issue2.PNG

Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍

Chanleakna123
Post Prodigy
Post Prodigy

@Anonymous @Anonymous  All doesn't work . Seems like it show me 0.00000

Anonymous
Not applicable

@Chanleakna123 This happens when there is no proper formating of datatype applied in Excel ...Seems like the row "Q" has datatype "Numbers" which is why the decimal part is shown only in formula bar not in cell....

 

To make this work in power bi please change the field settings

decimal issue.png

Hope it resolves your issue? Please consider accepting it as the solution to help the other members find it more quickly.


Appreciate your Kudos, Press the thumbs up button!!👍

Anonymous
Not applicable

@Chanleakna123 - In power Bi after loading the data , you can set up the decimal places aftre going to Column Tools tab and then set the decimal places as highlighted below-

NikhilKumar_0-1605111560655.png

 

Hi , I tried , it doesn't work . It appear 0.00000 

sth like this. Which is losing the real decimals number in excel

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.