cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mahantesh1988 Frequent Visitor
Frequent Visitor

avoid duplicate while summing

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

 

 

2 REPLIES 2
Super User
Super User

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
Community Support Team

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