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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |