Forum Discussion
Anonymous
3 years agoNot applicable
Counting item data based on former status
Dear community, I have 2 tables, a "Fiscal Year" date table and a table with items that change their status over time (see below) e.g. Status open when there is a " date created" and Status cl...
- 3 years ago
Hi, Anonymous
You can try the following methods.
Measure = VAR _N1 =CALCULATE (COUNT ( 'Table'[ID Number] ), FILTER (ALL ( 'Table' ), [Date Created] >= SELECTEDVALUE ( 'Date'[Date] ) && [Closed Date] = BLANK () && [Status] = "Open" ) ) VAR _N2 =CALCULATE (COUNT ( 'Table'[ID Number] ), FILTER (ALL ( 'Table' ), [Date Created] <= SELECTEDVALUE ( 'Date'[Date] ) && [Closed Date] >= SELECTEDVALUE ( 'Date'[Date] ) && [Status] = "Filled" ) ) RETURN _N1 + _N2Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
3 years agoNot applicable
Thank you very much for your prompt and helpful reply on this issue.
Svendu