Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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?
Solved! Go to Solution.
Hi @banderson ,
This option is not on the query editor is on the column properties on "front end" check the image below please:
My previous example as using the new ribbon experience.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @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:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsWhen trying to access the table editor I get notification: This table uses DirectQuery and cannot be shown.
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:
My previous example as using the new ribbon experience.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThat solved it!
Thanks so much.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
82 | |
67 | |
61 | |
46 | |
45 |