Forum Discussion
joshua1990
Post Prodigy
3 years agoCalculate last entry per Order
Hi all,
ich have a sales table that shows multiple rows for each order since there are changes. Each change is recorded with a new version number:
Order Nr
Value
Version
1
5
1...
tamerj1
Community Champion
3 years agoHi joshua1990
please try
Sum of Last Version =
SUMX (
VALUES ( 'Table'[Order Nr] ),
CALCULATE ( MAXX ( TOPN ( 1, 'Table', 'Table'[Version] ), 'Table'[Value] ) )
)