Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.