• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

PowerPivot Calculating Max of column

Do you need it as measure or calculated column?

I don't have PowerPivot at work.
But, typically you'd use FILTER as criteria in calculation.

= CALCULATE(MAX(Tabel1[Col3]), FILTER(Table1, Table1[Col1] = "xxxx"))
 
Thanks. I'm trying to create a calculated column. I tried your suggestion but it only returned BLANK. Should I use something besides "xxxx" at the end of the formula? I removed the "xxxx" and it returned the largest number in the whole table for col 3.
 
Yes, replace with your condition.

Something like...
=CALCULATE(MAX(Table1[Col3]),FILTER(Table1,Table1[Col1]=EARLIER(Table1[Col1])))
 
Last edited:
Back
Top