Hello,
I want to find sum of the 3 last values of my column "quantityItem" using 3 last dates.
on the example below :
my 3 last dates are 25/02/2020; 28/01/2020; 31/12/2020
i want the sum "1 +1 +1" = 3
Thank's for your help
Solved! Go to Solution.
Hi @bailo
take a look at the following solution (I used my own sample data):
Top3 =
SUMX(
TOPn(
3,
'Table',
'Table'[CollectionDate_c],
DESC
),
'Table'[QuantityCollectedItem_c]
)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
Hi @bailo
take a look at the following solution (I used my own sample data):
Top3 =
SUMX(
TOPn(
3,
'Table',
'Table'[CollectionDate_c],
DESC
),
'Table'[QuantityCollectedItem_c]
)
With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)
merci beaucoup
je ne saurais comment vous remercier.
Vous etes genial!!
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
440 | |
194 | |
109 | |
56 | |
49 |
User | Count |
---|---|
477 | |
237 | |
134 | |
75 | |
74 |