Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello community,
I have a quick and easy question, I believe, but I haven't found how to do it. I am calculating cumulative totals, but using my formula when a week doesn't have a value, it wouldn't display any value, and I would like to have the previous one; Weeks 12 and 13 doesn't have any value, but I would still like to have week's 11 value:
Solved! Go to Solution.
@Victormar , if you are using year week from DIM_Calendar it should display the one not having value. and Join between Date and Table should be single directional
I'd try to use the REMOVEFILTERS command, instead of ALL. I don't think ALL will remove the date filters on Table1, but maybe I'm worng.
CumulativeSum =
CALCULATE(
SUM(Table1[hour]),
REMOVEFILTERS(DIM_Calendar),
'Dim_calendar'[Date] <= MAX('DIM_Calendar'[Date])
)
If this doesn't work, try showing items with no data : right-click on your measure in the visuals pane, and Show items with no data.
If this works, please consider accepting this as a solution if someone has the same problem in the future 🙂
thanks for your help!
The other solution worked 🙂
@Victormar , if you are using year week from DIM_Calendar it should display the one not having value. and Join between Date and Table should be single directional
thanks! I had the crossfilter direction set to both, now it works! Thanks you very much 🙂
Why is it that it doesn't work when having crossfilter set to both?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
52 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |