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
ianwuk
Helper III
Helper III

Why is my data rounded up in report view but is correct in my query?

Hello All.

 

In my query I have some data that looks like this:

Commissions
23.45
33.56
67.89

As you can see, it correctly shows the decimal points.

 

However, in my report view, for the same column, it seems to have rounded up to a whole number, so I get:

Commissions
24
34
68

How can I show the correct values above, with the decimal places, in report view, like it is in the query?

Many thanks for your time.

5 REPLIES 5
v-yulgu-msft
Employee
Employee

Hi @ianwuk,

 

Please select the [Commissions] column, then, choose the Decimal Number option under data type format.

1.PNG

 

By the way, what is your desktop version? If possible, could you please share your .pbix file so that I can check for you?

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Try this:

 

Go to query editor

Select the column causing rounding issue

Right click Transform> Absolute Value

Close and Apply

990871C6.PNG

That resolved my issue.  I was in Direct Query Mode. 

 

Kind Regards

Hardik
Continued Contributor
Continued Contributor

look for the data type change in formatting tabScreenshot_13.png

Hello.

 

The data formatting tab is greyed out in report view, so I cannot change anything.  Is there another way?

Hardik
Continued Contributor
Continued Contributor

click on the column in the tables tab,the data formatting will enable

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.