Forum Discussion
Opened vs closed column chart with date filter
- 8 years ago
create a measure for closed incident using userelationship function like below and use this on visual
Closed Incidents = Calculate(Count(Table1[Incident]), UseRelationship(Table1[CloseDate], Calendar[Date]) )
I'd just create a date table and then relate your open date/closed date columns to it - as one of these relationships would be inactive you may need to stick a USERELATIONSHIP option in a measure to count whichever isn't going to be the primary relationship (assuming you just have the one data table)
Hi Jthomson, thanks for the idea. Any help in creating the date table would be greatly appreciated. Would i need to constantly refresh the date table to a new date range?
- jthomson8 years ago
Solution Sage
I mainly use custom tables as I want to include more than just a list of dates, but if you utilise CALENDARAUTO then it should be able to dynamically work out the earliest/latest dates based on your data set