Forum Discussion
Anonymous
3 years agoNot applicable
Replicate Excel MAXIFS condition in PowerBI
Hello ! How to replicate below MAXIFS excel formula in powerBi ? =MAXIFS(L:L,A:A,A2)
- 3 years ago
Anonymous
Try the following:
MAX_SUBID = CALCULATE(MAX('Table'[Sub_ID ]), ALLEXCEPT('Table', 'Table'[ID]))
-- Excel
=MAXIFS(L:L,A:A,A2)
L:L = Sub_IDA:A = ID
themistoklis
Community Champion
3 years agoAnonymous
Try the following:
MAX_SUBID = CALCULATE(MAX('Table'[Sub_ID ]), ALLEXCEPT('Table', 'Table'[ID]))
-- Excel
=MAXIFS(L:L,A:A,A2)
L:L = Sub_ID
A:A = ID