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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
E12345
Resolver II
Resolver II

Need a Dax function to get a list of single values out of a group of records

Hi!

I need to select one record out of a group, within a bunch of groups.

How do I do this? I am assuming I need some sort of ranking function or a "top N" function.

Here is a screenshot of what I have, vs. what I need (generally, I need "only one claim out of the group, with the amount".

I have a table of claims with involved parties per claim, and repetitive "Claim Amounts".

There should only be one amount per claim, so I cannot summarize those amounts (they are repetitive). 

I am imagining there should be a ranking function and then to take a record with rank # 1 out of each group. 

it has to be dax only, not a physical table - thanks!  

 

E12345_0-1679072344410.png

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Community Champion
Community Champion

@E12345 Try:

Table = 
  DISTINCT(
    SELECTCOLUMNS(
      "ClaimantName",[ClaimantName],
      "Claim #",[Claim #],
      "Claim Amount",[Claim Amount]
    )
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Thank you! So simple! 🙂

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@E12345 Try:

Table = 
  DISTINCT(
    SELECTCOLUMNS(
      "ClaimantName",[ClaimantName],
      "Claim #",[Claim #],
      "Claim Amount",[Claim Amount]
    )
  )


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you! So simple! 🙂

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.