Forum Discussion
shubhamsaha29
3 years agoFrequent Visitor
DAX Function for grouping/counting based on filters
Hello all, I need some help figuring out dax for this scenario I have this kind of table with duplicates: I want to display count of incomplete workItems for specific sprints. It shou...
FreemanZ
Super User
3 years agotry to plot a visual with the sprint column and a measure like:
Incomplete =
CALCULATE(
DISTINCTCOUNT(data[WorkItemID]),
FILTER(
data,
NOT "Closed" IN VALUES(data[State])
)
)+0it worked like:
- shubhamsaha293 years agoFrequent Visitor
I tried this but it's not working as expected.
Still getting a value which was closed in S01(Sprint 01 date range - 1/1/2023 to 15/1/2023).
Ex:
WorkItem 113 was closed in S01.
It has was put to Dev on 1/3/2023 and also got Closed on 1/3/2023.
So, Ideally WorkItem 113 should not be counted in S01 in the measure, as it was closed in S01.