cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Syndicate_Admin
Administrator
Administrator

Sum of Measures and Totals

Good afternoon, first of all thank you for your time. I have made a table of sale by customers (Table lineasalbarancliente). The "%" field (Column2) is a numeric data that comes from the customer table (Customers Table). The field "Base result by %" is a measure that comes out of multiplying the two fields that come from different tables:

Base result per % = Calculate(sum(lineasalbarancliente[basetax]) * sum(clients[%])

AlfonsoPF_0-1675103011687.png

The error is that the % is adding it to you and therefore the result of column 3 (Tax base by %) is multiplying the result of column 1 by 1388.00%, instead of adding all the rows of column 3.

Surely the result is something simple but it has me lost.

Thanks in advanceª

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

SOLVED:

I have created a new measure which is:

SUMX(lineasalbarancliente,lineasalbarancliente[medida_anterior])

doubt resolved THANK YOU!!

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

SOLVED:

I have created a new measure which is:

SUMX(lineasalbarancliente,lineasalbarancliente[medida_anterior])

doubt resolved THANK YOU!!

Helpful resources

Announcements
March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Top Solution Authors