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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
banderson
New Member

Decimal Places issue using DirectQuery

Using DirectQuery to connect to SQL Server database table. The source table has a field with data type decimal(5,1). When viewing the table in Power Query, the values show to 1 decimal place. After loading into Power BI and creating a visualization, all values are now displaying to 2 decimal places (always with 0 in the hundredths place). 

 

I understand I can resolve this by using Import Query and adjusting the decimal places manually, but need the data using DirectQuery. Why is it not using the source data type to display in Power BI Report?

1 ACCEPTED SOLUTION

Hi  @banderson ,

 

This option is not on the query editor is on the column properties on "front end" check the image below please:

 

decimal.gif

 

My previous example as using the new ribbon experience.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
MFelix
Super User
Super User

Hi @banderson ,

 

On the Columns tools you can define the number of decimals you have for that particular data, just set it to 1 and your visuals will act accordingly:

 

decimal.png


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



When trying to access the table editor I get notification: This table uses DirectQuery and cannot be shown.

 

Annotation 2020-01-30 132344.png

 

I've tried to transform the data in Power Query to display to 1 decimal place, but always get an error stating it cannot be done with DirectQuery and advises me to switch to Import Query.

Hi  @banderson ,

 

This option is not on the query editor is on the column properties on "front end" check the image below please:

 

decimal.gif

 

My previous example as using the new ribbon experience.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



That solved it!

 

Thanks so much.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.