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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Abeluthfi
Regular Visitor

Total Value Incorrect

Dear Power BI Comunity,

 

I have a problem when i try to make a measurement in Power BI, because total of measurement seems like incorrect. I try to find solution for almost 2 weeks but still can't find it.

 

For example, from table below, if i calculate value in Microsoft Excel actual total must be  424,497.59

Abeluthfi_0-1684720221769.png

 

but in Power BI, it show total value like table below

Abeluthfi_1-1684720270234.png

 

I try to use SUMX but the value are getting wrong (much bigger)

This is my currect formula

Abeluthfi_1-1684721506344.png

 

This is my data example 

Abeluthfi_2-1684722445921.png

 

 

Please help me to find a solution. Sorry if my english is not good enough

 

Thank in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Abeluthfi , Multiplication should be done at row level or at some common group level


Sumx('Parameter Plan', [PA Plan] * [UA Plan] * [Producivity Plan] * [MOHH])

 

or

 

Sumx(values('Parameter Plan'[Equipment Number]) , calculate( Average('Parameter Plan'[PA Plan]) * Average('Parameter Plan'[UA Plan]) * Average('Parameter Plan'[Producivity Plan]) * Sum('Parameter Plan'[MOHH]) ))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Abeluthfi , Multiplication should be done at row level or at some common group level


Sumx('Parameter Plan', [PA Plan] * [UA Plan] * [Producivity Plan] * [MOHH])

 

or

 

Sumx(values('Parameter Plan'[Equipment Number]) , calculate( Average('Parameter Plan'[PA Plan]) * Average('Parameter Plan'[UA Plan]) * Average('Parameter Plan'[Producivity Plan]) * Sum('Parameter Plan'[MOHH]) ))

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.