Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |