PowerPivot: How to identify Max Value per Group in a Calculated Column

后端 未结 2 1797
谎友^
谎友^ 2021-01-13 02:32

I am building a data model within Power Pivot for Excel 2013 and need to be able to identify the max value within a column for a particular group. Unfortunately what I thoug

相关标签:
2条回答
  • 2021-01-13 02:45

    use this formula in cell ("C2"):

    =MAX(INDIRECT(CONCATENATE("B",MATCH(A2,$A$1:$A$10,0),":B",SUMPRODUCT(MAX(($A$1:$A$10=A2)*(ROW($A$1:$A$10)))))))
    
    0 讨论(0)
  • 2021-01-13 03:02

    Use

    =CALCULATE(MAX([UPTAKE]),FILTER(Table1,[GROUP]=EARLIER([GROUP])))
    
    0 讨论(0)
提交回复
热议问题