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
matheus_arruda
New Member

Calculation in table visualization

Dear,
my table is doing a very wrong calculation because it says 42.33 + 51.17 is equal to 189.20, though the correct value would be 93.50.
How can I fix this problem?

The formula in my calculated column that generates this value is:

Perda Rougher = SUM('CADASTRO PERDA'[Perda Rougher])*[Peso Rougher Calculado]/100

Print ScreenPrint Screen

1 ACCEPTED SOLUTION
matheus_arruda
New Member

Hello peoples, I discovered that the calculation function was wrong, thank you all!
I'm change de SUM function for SUMX and solved my problem!

View solution in original post

3 REPLIES 3
matheus_arruda
New Member

Hello peoples, I discovered that the calculation function was wrong, thank you all!
I'm change de SUM function for SUMX and solved my problem!

v-yuezhe-msft
Employee
Employee

@matheus_arruda,

Do all the fields in the above table visual come from a single table? If not, could you please share dummy data of your original tables and tell us the relationship between the tables so that we can test?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vijay_kolisetty
Frequent Visitor

Hi

 

As I dont have enough info, I can guess to use the below and let me know if any concerns

Perda Rougher = SUM('CADASTRO PERDA'[Perda Rougher])*SUM([Peso Rougher Calculado])/100

 

and provide the value of 'CADASTRO PERDA'[Perda Rougher]). Otherwise change the name of the calculation and try once as it may dependent of the other rollup with the same name.

 

Regards,

V

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.