Hi all,
I want to know how can I sum/display results not only by the latest file, but also by site + project + topic ?
For instance:
1) 1/1/11 file, USA site, Project1, Topic B: TotalQty=10
2) 1/3/11 file, USA site, Project1, Topic A: TotalQty=12
3) 1/5/11 file, USA site, Project1, Topic B: TotalQty=7
4) 1/1/11 file, Mexico site, Project3, Topic E: TotalQty=100
I will want to display the data of (2) (3) (4) in my pivots.
*The reason I don't need to use (1) is because (3) has the same Topic+Project+Site and it is more recent than (1).
I thought of:
=CALCULATE(SUM([TotalQty]),FILTER(Table1,Table1[File Date]=MAX(Table1[File Date])))
but that won't differentiate between the different sites, topics and projects, so I assume additional filtering is needed:
=CALCULATE(SUM([TotalQty]),FILTER(Table1,Table1[File Date]=MAX(Table1[File Date])),________???_________)
Appreciate your help!
I want to know how can I sum/display results not only by the latest file, but also by site + project + topic ?
For instance:
1) 1/1/11 file, USA site, Project1, Topic B: TotalQty=10
2) 1/3/11 file, USA site, Project1, Topic A: TotalQty=12
3) 1/5/11 file, USA site, Project1, Topic B: TotalQty=7
4) 1/1/11 file, Mexico site, Project3, Topic E: TotalQty=100
I will want to display the data of (2) (3) (4) in my pivots.
*The reason I don't need to use (1) is because (3) has the same Topic+Project+Site and it is more recent than (1).
I thought of:
=CALCULATE(SUM([TotalQty]),FILTER(Table1,Table1[File Date]=MAX(Table1[File Date])))
but that won't differentiate between the different sites, topics and projects, so I assume additional filtering is needed:
=CALCULATE(SUM([TotalQty]),FILTER(Table1,Table1[File Date]=MAX(Table1[File Date])),________???_________)
Appreciate your help!