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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors