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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
mahantesh1988
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
v-juanli-msft
Community Support
Community Support

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

 

Zubair_Muhammad
Community Champion
Community Champion

@mahantesh1988

 

Hi,

 

Why not use Average of MEAL values as well

 

or

 

MIN(TableName[Meal Value])

or

MAX(TableName[Meal Value])

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.