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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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])


Regards
Zubair

Please try my custom visuals

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.