Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi I have A table in Power BI with column "x" with decimal number (value 4950,0000) and column "y" with decimal number 0,1994. I created new column with comand = "x"*"y" and the result is 986,995 but the same calculation in exel equals 987,03. Why this is different?
Solved! Go to Solution.
Hello @Ludwik ,
Check Data Types in Power BI, go to the Data View, select the columns x and y, and ensure they are set to Decimal Number (not Fixed Decimal Number).
Use the ROUND or FORMAT function in Power BI to match the precision of Excel.
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
The discrepancy is due to the different ways Power BI and Excel handle decimal precision and rounding.
To align the results between Power BI and Excel, you can apply rounding explicitly in Power BI like this:
NewColumn = ROUND('Table'[x] * 'Table'[y], 2)
💌 If this helped, a Kudos 👍 or Solution mark ✅ would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Hi, I solved this, column "x" was was another calculation with column "z" when I added function round to this column everythin wors properly. Thanks for help.
Hello @Ludwik ,
Check Data Types in Power BI, go to the Data View, select the columns x and y, and ensure they are set to Decimal Number (not Fixed Decimal Number).
Use the ROUND or FORMAT function in Power BI to match the precision of Excel.
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!
Thank You
Dharmendar S
I've checek both colums they are Decimal numbers. I want to keep 4 decimal places. When i used round function ROUND('Table'[x] * 'Table'[y], 4) I still have different result: Excel 9870,0300 and power Bi 986,9995.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
78 | |
53 | |
38 | |
36 |
User | Count |
---|---|
100 | |
85 | |
47 | |
45 | |
44 |