Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have the following table and I am trying to return the name of the person from the Agent column with the max value of AVG Adherence.
I attempted to use TOPN but it returns the name and the value, whereas I only need the name to display it in a card.
VAR MaxAdherence =
TOPN( 1 , 'ct_Call Metrics', 'ct_Call Metrics'[AVG Adherence])
RETURN
MaxAdherence
Agent | AVG Adherence |
Aubriella Maddox | 88.48% |
Connor Oliver | 86.99% |
Luke Rosales | 84.82% |
Jocelyn Vazquez | 93.24% |
Esme Mullen | 88.35% |
Sara Evans | 91.47% |
Elias Marshall | 87.11% |
Donovan Christian | 87.05% |
Rafael Beck | 89.64% |
Shiloh Anderson | 90.69% |
Kehlani Flynn | 86.41% |
Isaias Wiggins | 91.81% |
Solved! Go to Solution.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
This worked, thank you!
hello @hobosapien
please check if this accomodate your need.
create a new measure with following DAX
MaxAdherence =
var _Max = MAX('Table'[AVG Adherence])
Return
MAXX(
FILTER(
'Table',
'Table'[AVG Adherence]=_Max
),
'Table'[Agent]
)
User | Count |
---|---|
23 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |