Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Suming rows (average)
01-06-2022
12:10 PM
Hi!
My data looks something like this :
Folder No | Order # | Amount |
300 | 10024 | $500 |
300 | 10025 | $500 |
300 | 10026 | $500 |
301 | 10032 | $20 |
301 | 10033 | $20 |
|
When I make a table it ends up adding all the $500s for Folder 300 to make my total $1500. The total I want is actually $500 because order 10024+10025+10026 =500.
For 301, the total i want is $20, but it adds both up to make it $40
I tried using distinct or average, it throws off the totals of the table and just averages EVERYTHING.
Any tips?
Thanks!
Anyway to add a new columns that will make my data look like this
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022
12:31 PM

@PBINewbie920 measure
Measure2 =
SUMX (
GROUPBY (
_tbl1,
_tbl1[Folder No],
"sum", MAXX ( CURRENTGROUP (), _tbl1[Amount] )
),
[sum]
)
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Visual Capitalist: Working Hrs
Others:Easing Graph, Animated Calendar
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022
12:48 PM

How about this?
SUMX (
VALUES ( Table1[Folder No] ),
CALCULATE ( MAX ( Table1[Amount] ) )
)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2022
12:31 PM

@PBINewbie920 measure
Measure2 =
SUMX (
GROUPBY (
_tbl1,
_tbl1[Folder No],
"sum", MAXX ( CURRENTGROUP (), _tbl1[Amount] )
),
[sum]
)
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Visual Capitalist: Working Hrs
Others:Easing Graph, Animated Calendar

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
07-23-2024 11:45 PM | |||
09-10-2024 06:07 AM | |||
10-18-2024 08:37 AM | |||
12-18-2024 08:29 AM | |||
12-31-2024 01:49 AM |
Featured Topics
Top Kudoed Authors (Last Month)
User | Count |
---|---|
122 | |
104 | |
83 | |
52 | |
45 |