This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi,
I'm facing an unusual issue that I'm not able to solve.
I've created a running total on a table that which increment every year.
In the same project I've also a counter for every yea which is working fine.
The code for the annual counter is this:
The source of the rolling total intead is this:
the runnign total is working properly but for unknow reason return nothing in 2020 and 2023 when the count is zero.
Have you any suggetion to solve this ?
Thx
Solved! Go to Solution.
Hi,
This pattern should work
Count = CALCULATE(SUM(Table[Counter]),Table[Type]="TYPE1")
Running count = calculate([count],datesbetween(calendar[date],minx(all(calendar),calendar[date]),max(calendar[date])))
Hope this helps.
Hi,
This pattern should work
Count = CALCULATE(SUM(Table[Counter]),Table[Type]="TYPE1")
Running count = calculate([count],datesbetween(calendar[date],minx(all(calendar),calendar[date]),max(calendar[date])))
Hope this helps.
Hi,
many thanks, the proposed solution worked perfectly.
In ordet to better understanding, could you provide some more detail for the usage of Datesbetween and minx ?
Thanks again
You are welcome. Please read up on these yourself.
Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 28 | |
| 27 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 36 | |
| 33 | |
| 26 | |
| 24 |