Hi,
I can't seem to calculate the correct weektotal. The values calculated per day are correct and need to be summed per week.
This is the formule is use:
Below the values which are returned:
The total I am looking for is 17+24+13+5+2 = 61
Is there a way to calculate this total?
Solved! Go to Solution.
Try moving your first three variables inside so they are calculated for each date separately.
# Rest Pallets =
SUMX (
ADDCOLUMNS (
SUMMARIZE ( fct_Scanning, dimDate[Date], fct_Scanning[DC] ),
"RestPallets",
CALCULATE (
VAR Pallets = [...]
VAR FTL = [...]
VAR WholeFTL = [...]
RETURN
IF ( [...] )
)
),
[RestPallets]
)
Try moving your first three variables inside so they are calculated for each date separately.
# Rest Pallets =
SUMX (
ADDCOLUMNS (
SUMMARIZE ( fct_Scanning, dimDate[Date], fct_Scanning[DC] ),
"RestPallets",
CALCULATE (
VAR Pallets = [...]
VAR FTL = [...]
VAR WholeFTL = [...]
RETURN
IF ( [...] )
)
),
[RestPallets]
)
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
97 | |
76 | |
42 | |
30 | |
30 |
User | Count |
---|---|
136 | |
95 | |
78 | |
47 | |
39 |