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
feralvarez994
Helper II
Helper II

Wrong totals

Hi everyone! I have a table with some measures that i have created. The thing is that the totals doesnt show the correct number that it should, i think its because it treats the negative numbers as positive and it sums every row without distinct of positive and negative numbers.

 

Im attaching the PowerBI File , the sheet that matters is the first one (Repuestos). The columns that show wrong totals are Importe Neto, IVA, Facturado and Costo Total. How can i do to get the right totals having in consideration the positive and negative numbers as they truely are?

feralvarez994_0-1658331562999.png

 

Thanks everyone!

 

PowerBI File 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

3 REPLIES 3
feralvarez994
Helper II
Helper II

@tamerj1  thanks a lot! it works fine, can you tell me why should i write first sumx and summarize? or why does the table didnt sum correctly?

@feralvarez994 
You need to simulate the current filter context inside then sum the visible values as you see it in the matrix.

tamerj1
Super User
Super User

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.