Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a table with "Issue Open date" and "Issue Closed date"
I need to have cumulative open issue by week
If 2 issue raised in week 19 and 5 issue in week 21, but also 2 issue closed in week 21, then cumulative total for week 21 is 3
I duplicate table and got 2 cumulatives for issue raised, issue closed, but I cannot get Cululative(Sum) of those data
Below matrix, week 27 result should be 3 but I get -4
Measure I use for cumulative
------
I have created sample but I do not know how I can share in this forum
Is there way to attach PBI?
I won't have have access to my PC for the coming hours. Would you like to connect via zoom or teams?
Hi @kayo
Please try
CalcOpenIssue =
VAR CurrentWeek =
SELECTEDVALUE ( 'Sheet1'[WeekNum] )
VAR T1 =
ADDCOLUMNS (
ALLSELECTED ( 'Sheet1'[WeekNum] ),
"@Raised", [CumRaised],
"@Closed", [CumClosed]
)
VAR T2 =
FILTER ( T1, [WeekNum] <= CurrentWeek )
RETURN
SUMX ( T2, [@Raised] - [@Closed] )
Thank you for your advice, however the result is the same.
Maybe I should explain that I use 3 tables for this measure
Table1. Original input to cumulate count column date "issue raised"
Table 2. copy of original table to cumulate count column date "issue closed"
Table 3. Calendar date to create relation between Raised date and Closed date to get week summary
Hi @kayo
It would be much better if you can prepare a sample pbix file to work with. Thank you.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |