Forum Discussion
madeline
8 years agoFrequent Visitor
Get a column's value(s) based on another column's max
In my table, I have a calculated column (NumFailedLogins) which shows the number of times a user appears based off of a condition. Now, I want to get a value from another column (User) based off of t...
- 8 years ago
You could use this measure
File attached as well
Measure = CONCATENATEX ( CALCULATETABLE ( VALUES ( Table1[User] ), FILTER ( Table1, Table1[NumFailedLogins] = MAX ( Table1[NumFailedLogins] ) ) ), Table1[User], ", " )
Zubair_Muhammad
Community Champion
8 years ago
You could use this measure
File attached as well
Measure =
CONCATENATEX (
CALCULATETABLE (
VALUES ( Table1[User] ),
FILTER ( Table1, Table1[NumFailedLogins] = MAX ( Table1[NumFailedLogins] ) )
),
Table1[User],
", "
)
- madeline8 years agoFrequent Visitor
This is awesome, thanks!