Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi there,
I have a card in my report which shows the person with the highest referrals. My formula is:
Highest Referrals by Assessor =
MAXX(
KEEPFILTERS(VALUES('GCRTDatabase'[Referring Assessor])),
CALCULATE([Total Referrals])
)
I want to show who the referring assessor is, either in this box, or in a separate box.
Help!
Jemma
Solved! Go to Solution.
So, perhaps something like:
Highest Assessor =
VAR __table = VALUES('GCRTDatabase'[Referring Assessor])
VAR __table1 = ADDCOLUMNS(__table,"__referrals",CALCULATE([Total Referrals]))
VAR __max = MAXX(__table1,[__referrals])
RETURN
MAXX(FILTER(__table1,[__referrals]=__max),[Referring Assessor])
So, perhaps something like:
Highest Assessor =
VAR __table = VALUES('GCRTDatabase'[Referring Assessor])
VAR __table1 = ADDCOLUMNS(__table,"__referrals",CALCULATE([Total Referrals]))
VAR __max = MAXX(__table1,[__referrals])
RETURN
MAXX(FILTER(__table1,[__referrals]=__max),[Referring Assessor])
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.