We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello I need help for having the following value.
Save the max value as it is growing.
Sum the the deltas till last avaialble date as it starts decreasing from local max
Any ideas?
Thank you in advance.
Table of attributes:
| item | QNTY | Date |
| A | 760 | 10/02/2022 10:19 |
| B | 329 | 10/02/2022 10:19 |
| B | 426 | 10/02/2022 10:19 |
| B | 637 | 10/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| B | 1000 | 09/02/2022 10:19 |
| B | 1000 | 09/02/2022 10:19 |
| B | 1000 | 10/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
| A | 1000 | 08/02/2022 10:19 |
| A | 1000 | 08/02/2022 10:19 |
| A | 1000 | 10/02/2022 10:19 |
Hi @Anonymous ,
This appears to be a difference accumulation calculation, but how do we determine when to start the accumulation? Based on the date when the maximum value starts? Could you please provide more example data and the logic behind the calculation? It would be nice to include some examples and some screenshots to illustrate.
In addition, please review the solution in the following threads with similar requirement as you. Hope they can help you.
Calculate Differences of cumulative values by factorial group and date OR id
Dax formula calculate Difference cumulative
Best Regards
@Anonymous , You can remove timestamp and join date with date table
You can get last noncontinuous date like
Last Day Non Continuous = CALCULATE([sales],filter(ALLSELECTED('Date'),'Date'[Date] =MAXX(FILTER(ALLSELECTED('Date'),'Date'[Date]<max('Date'[Date])),'Date'[Date])))
Day Intelligence - Last day, last non continous day
https://medium.com/@amitchandak.1978/power-bi-day-intelligence-questions-time-intelligence-5-5-5c3243d1f9
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |