Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I use this formula for the cumulative total of forecasted cartons.
Solved! Go to Solution.
@Tavi_ OK, didn't understand that from the original post:
_Forecast Cartons Cumulative =
VAR __Value = CALCULATE(
[_Forecast Cartons],
FILTER(
ALL('[DIM] Date'[Date]),
'[DIM] Date'[Date] <= MAX ('[DIM] Date'[Date]) && '[DIM] Date'[Date] >= TODAY() )
)
VAR __Result = IF( MAX('[DIM] Date'[Date]) < TODAY(), BLANK(), __Value )
RETURN
__Result
@Khushidesai0109 your formula shows me this figures
@Greg_Deckler your formula shows me this figures
Both not the figures I'm looking for. De formula must ignore al the cartons before today.
@Tavi_ OK, didn't understand that from the original post:
_Forecast Cartons Cumulative =
VAR __Value = CALCULATE(
[_Forecast Cartons],
FILTER(
ALL('[DIM] Date'[Date]),
'[DIM] Date'[Date] <= MAX ('[DIM] Date'[Date]) && '[DIM] Date'[Date] >= TODAY() )
)
VAR __Result = IF( MAX('[DIM] Date'[Date]) < TODAY(), BLANK(), __Value )
RETURN
__Result
Hii You can use this DAX Instead
Forecast Cartons Cumulative =
CALCULATE (
[_Forecast Cartons],
FILTER (
ALLSELECTED ( '[DIM] Date'[Date] ),
'[DIM] Date'[Date] <= MAX ( '[DIM] Date'[Date] )
)
)
_Forecast Cartons Cumulative =
VAR __Value = CALCULATE(
[_Forecast Cartons],
FILTER(
ALL('[DIM] Date'[Date]),
'[DIM] Date'[Date] <= MAX ('[DIM] Date'[Date]))
)
VAR __Result = IF( MAX('[DIM] Date'[Date]) < TODAY(), BLANK(), __Value )
RETURN
__Result
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 49 | |
| 33 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 38 | |
| 28 | |
| 25 |