Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
How do I sum the last 2 records on 2/8 to show the 2.15 balance since they belong to the same person & order?
The other 2 records need to stay as is. Please help. Thanks
Solved! Go to Solution.
HI @tracyhopaulson,
You can write a measure formula to use name and order groups to summarize records:
Measure =
CALCULATE (
SUM ( Table[Total] ),
ALLSELECTED ( Table ),
VALUES ( Table[Name] ),
VALUES ( Table[Order] )
)
Regards,
Xiaoxin Sheng
You've got several replies. You may follow any of these approaches depending on your requirements.
Proud to be a Super User!
HI @tracyhopaulson,
You can write a measure formula to use name and order groups to summarize records:
Measure =
CALCULATE (
SUM ( Table[Total] ),
ALLSELECTED ( Table ),
VALUES ( Table[Name] ),
VALUES ( Table[Order] )
)
Regards,
Xiaoxin Sheng
In UI , you could use sum operation and rest can be used as unsummarized in a table or matrix. Should given that.
You can also use summarize to create new table
new Table = summarize(table,table[date],table[name],table[order],table[oper],"Total",sum(table[total]))
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin
Hi @tracyhopaulson ,
You can use the group by function in the Query Editor.
By the way and moving forward, please post a sample data that can be easily copy-pasted (not an image).
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
69 | |
61 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |