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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Need to sum Amount for minimum values only in a field

I have 2 tables unrelated to many to many records for Key, Loc, Risk are the fields of both tables. From Table 2, I need to sum the amount for only the MImimun ENDR value for each key. Can anyone suggest the best way to accomplish this? The following is an example in Table 2 Power BI.

Table 1

AccountLocRiskVeh No.
A150376999999951
A150376999999911
A150376999999981
A150376999999971
A150376999999921
A150376999999941
A150376999999931
A150376999999991
A150376999999961

Table 2

AccountLocRiskENDRAmount
A1503769999999906443
A15037699999998060
A150376999999970167
A150376999999960344
A1503769999999501034
A15037699999994020
A15037699999993033
A1503769999999200
A1503769999999100
A150376999999991-6443
A150376999999981-60
A150376999999971-167
A150376999999961-344
A150376999999951-1034
A150376999999941-20
A150376999999931-33
A1503769999999926443
A15037699999998260
A150376999999972167
A150376999999962344
A1503769999999521034
A15037699999994220
A15037699999993233
A1503769999999220
A1503769999999120
A150376999999996-5489
A150376999999986-51
A150376999999976-142
3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

 

It seems that you have find the solution in this thread.
If it is, could you please mark the helpful replies as Answered?
It will help other community members easily find the solution when they get the same issue.

 

Best Regards,
Community Support Team _ Eason

 

amitchandak
Super User
Super User

Duplicate of https://community.powerbi.com/t5/Desktop/Need-to-sum-Amount-for-the-minimun-values-only-in-a-field/m...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@Anonymous what is the key column? what is your expected output?



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.