Reply
Highlighted
Frequent Visitor
Posts: 5
Registered: ‎08-18-2016

avoid duplicate while summing

[ Edited ]

Hi frds,

 

here i am attaching data and results .

Meal value = sum(meal Value)

expected output = 20.

 

Value1 =  average(value1)

expecte out  =20 and is correct

 

please help me to get the meal value as 20 after summing . please have a look at below picture

sum(meal value) should be 20.

Capture.PNGCapture1.PNG

 

 

Super User
Posts: 2,829
Registered: ‎09-27-2017

Re: avoid duplicate while summing

@mahantesh1988

 

Hi,

 

Why not use Average of MEAL values as well

 

or

 

MIN(TableName[Meal Value])

or

MAX(TableName[Meal Value])

Community Support Team
Posts: 2,506
Registered: ‎03-15-2018

Re: avoid duplicate while summing

Hi @mahantesh1988

Does this meet your goal?

35.png

To get it, select ‘Don’t summarize’ as follows

36.png

Additionally, I can’t make myself clear about “get the meal value as 20 after summing”, whether it means  to click on the column ‘mean value’ in the values field and select ‘Sum’, or sum ‘mean value’ column based on the column ‘city’, ‘Attribute.1’,’Mean type’ using forluma

Measure = SUM(Table1[MEAN VALUE])

 

Best Regards

Maggie Li