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
Nikhill90
Frequent Visitor

Number getting rounded off

Hi,

 

While importing data from Shopify, it automatically is rounding off the the columns, even though the data type is set to decimal number. I set the data type, format and decimal to 2 places in the modelling tab, but all that happened was that it added two 0s with a decimal to the rounded off number. I am not being able to retrieve the original values in decimal format. Any help with this is much appreciated.

1 ACCEPTED SOLUTION

Hi all,

 

Thank you for the help. I had directly sent a mail to the suüpoort of power bi API connector for shopify. It was a problem in their API and they fixed it today morning. Thank you again for all the help.

 

Regards,

Nik

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

If you are still looking for a solution, you can go the power query and then to advance editor and change the type manually from integer to number. That will sort the issue. Let me know if that works for you! 

MattAllington
Community Champion
Community Champion

Where is the decimal number set?  In Power Pivot or Power Query (get data). You will need to do it in Power Query at the first instance it is changed/changeable then make sure it is not changed there after



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Would be great if someone could tell me the code for setting data type in the power querry editor itself, so that it is imported that way.

 

Hi @Nikhill90,

 

Which datasource you used? Does it sqlite?
If this is a case, you can refer to below link which about sqlite decimal issue.

Connection ODBC Sqlite decimal size limit

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi all,

 

Thank you for the help. I had directly sent a mail to the suüpoort of power bi API connector for shopify. It was a problem in their API and they fixed it today morning. Thank you again for all the help.

 

Regards,

Nik

When I load the data and directly edit querry, the default data type there it takes is decimal for that column. This is before I load it into the table. Is there a step I am missing to check? Would be nice if you could help me out with where I am suppsoed to fix this type. 

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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.