Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone!
I want to get cumulative numbers for the previous month and the month by formula.
By the way, the month is selected as the filter and behaves differently.
When you have the following data:
| Attribute | Value |
| P01 | 149 |
| P02 | 192 |
| P03 | 140 |
| P04 | 137 |
| P05 | 129 |
| P06 | 207 |
| P07 | 145 |
| P08 | 150 |
| P09 | 273 |
| P10 | 196 |
| P11 | 45 |
| P12 | 0 |
I want to get the maximum period of data with values in the formula, and then I want to get the cumulative value excluding the period.
The maximum period of the data was brought to the formula and unlike hardcoded, it doesn't work at all.
Of course, you can add pre priod fields in the data, but the amount of original data is huge.
I want to solve it by formula.
Help when you know. Ask when you don't!
The big blue arrow is a meaningless visual object.
My question is to bring pre_accum dynamically. pre_accum and pre_accum2 should have the same value.
Thanks,
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |