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)
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
1 Reply
- themistoklis
Community Champion
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