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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
We have "Datacenter" in Rows and "Month-Period" in Column respectivly in crosstab.
Want to display cummulative forecast of storage, compute, backup etc as measures.
Here is the formula I have for displaying the cummulative total.
Cumulative Forecast =
CALCULATE (
Sum(Forecast[Total Storage (TB)]),
FILTER (
ALLSELECTED(Forecast),
Forecast[Required Month] <= Max( Forecast[Required Month] )
)
)
It works fine but it calculates cummulative total for all datacenter. Want to break it by datacenter.
Foreach datacenter I want to see cummulative total by period.
Any help will be much appreciated.
Hi @dhayanithij79,
Has your issue been solved by the formula as @Zubair_Muhammad offered? If any question, feel free to let me know please.
Regards,
Frank
Try adding another filter argument as follows
Cumulative Forecast =
CALCULATE (
SUM ( Forecast[Total Storage (TB)] ),
FILTER (
ALLSELECTED ( Forecast ),
Forecast[Required Month]
<= MAX (
Forecast[Required Month]
&& Forecast[Datacentre] = SELECTEDVALUE ( Forecast[Datacentre] )
)
)
)
Thanks for your response, @Zubair_Muhammad I need exactly this and have tried (see below), but I get
"The MAX function only accepts a column reference as an argument"
Am I missing something?
Hi
I notice that you are not closing bracket after max (facttable[date] )
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |