Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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!
Solved! Go to Solution.
@E12345 Try:
Table =
DISTINCT(
SELECTCOLUMNS(
"ClaimantName",[ClaimantName],
"Claim #",[Claim #],
"Claim Amount",[Claim Amount]
)
)
@E12345 Try:
Table =
DISTINCT(
SELECTCOLUMNS(
"ClaimantName",[ClaimantName],
"Claim #",[Claim #],
"Claim Amount",[Claim Amount]
)
)
Thank you! So simple! 🙂
User | Count |
---|---|
98 | |
76 | |
74 | |
49 | |
26 |