Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @Anonymous
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 @Anonymous
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!!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |