Hi there
I’m exploring Powerpivot DAX formulae and its ability to do the equivalent of array formulae in Excel using dynamic/cell based criteria.
I’d like to do the equivalent of
1. AVERAGEIFS
2. MAXIFs.
I’ve scanned through previous posts, but cant seem to find the syntax that you would you use for the calculated columns in a Powerpivot Data Model?
i.e – what is the syntax when the criteria changes with each row in the table?
Example:
Column1 Column2 AVERAGEIF using Col1 as criteria MAXIF using col 1 as criteria
A 2 1.5 2
B 3 3 3
C 4 4 4
A 1 1.5 2
B 3 3 3
C 4 4 4
Thanks in advance!!
I’m exploring Powerpivot DAX formulae and its ability to do the equivalent of array formulae in Excel using dynamic/cell based criteria.
I’d like to do the equivalent of
1. AVERAGEIFS
2. MAXIFs.
I’ve scanned through previous posts, but cant seem to find the syntax that you would you use for the calculated columns in a Powerpivot Data Model?
i.e – what is the syntax when the criteria changes with each row in the table?
Example:
Column1 Column2 AVERAGEIF using Col1 as criteria MAXIF using col 1 as criteria
A 2 1.5 2
B 3 3 3
C 4 4 4
A 1 1.5 2
B 3 3 3
C 4 4 4
Thanks in advance!!