The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Dear All,
I would like to follow the forecast update by getting the sum of the last value for each day
in the table below if I select (on my chart) the date of
CUSTOMER | DATE UPDATE | PERIOD | VALUE |
A | 01/01/2018 | 2018.01 | 4 |
B | 02/01/2018 | 2018.01 | 5 |
A | 03/01/2018 | 2018.01 | 6 |
C | 04/01/2018 | 2018.03 | 7 |
A | 05/01/2018 | 2018.02 | 8 |
B | 06/01/2018 | 2018.02 | 9 |
Thanks for your help
Novice
You may add the following measure.
Measure = SUMX ( SUMMARIZE ( Table1, Table1[CUSTOMER] ), CALCULATE ( SUMX ( TOPN ( 1, Table1, Table1[DATE UPDATE], DESC ), Table1[VALUE] ) ) )
Hello Sam,
Thanks, I tried but doesn't work,
Novice
The graph should show me the last value udpate for a relative date in this case around 13-14K
User | Count |
---|---|
69 | |
65 | |
63 | |
55 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
43 |