cancel
Showing results for
Did you mean:
New Member

## Multiply in DAX does not Match

Hi, can you help with one issue in PowerBi i create a report and i this report i see the scrap, and total cost of production, i use the next dax for calculate the cost of production

= SUMX(lizventas,lizventas[Quantity Invoiced] * RELATED(COSTO[Cost] ))

but when Bi make the operation the result is worng for example.

in all rows the result is worng, for example

first row

360 * 36.27 = 13,056.83

and the correct result is

13,057.2

and this is with all multiply in this dax.

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Super User II

## Re: Multiply in DAX does not Match

its better to create topics like this in another part of community: https://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer

So, anyway. everything is saying that you have a round-problem

13056.83/360 = 36.269

so, try to click left mouse on your field Cost then go to Modelling pane or Column tools pane (in the new version of pbi desktop) and set number of decimal as 3

do not hesitate to give a kudo to useful posts and mark solutions as solution

do not hesitate to give a kudo to useful posts and mark solutions as solution

2 REPLIES 2
Super User II

## Re: Multiply in DAX does not Match

its better to create topics like this in another part of community: https://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer

So, anyway. everything is saying that you have a round-problem

13056.83/360 = 36.269

so, try to click left mouse on your field Cost then go to Modelling pane or Column tools pane (in the new version of pbi desktop) and set number of decimal as 3

do not hesitate to give a kudo to useful posts and mark solutions as solution

do not hesitate to give a kudo to useful posts and mark solutions as solution

Highlighted
Regular Visitor

## Re: Multiply in DAX does not Match

Hi,

The "error" seems a rounding problem.

I suggest you use the same precision in your all numbers to see the exact value.

Announcements

#### New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

#### ‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

#### Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

#### Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

#### Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors