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 have checked around for the right way to create a date table but havent been able to find a definitive answer unfortunately.
- CraigC8 years ago
Helper I
Ok so i have a date table with both my opened incidents and closed incidents linked to the date column. The closed incident column being an inactive link with the opened incidents being the active link. If i create the graph now it will display the same info for the opened and closed incidents. How do i go about linking the closed incidents column now to show the right data?
- parry2k8 years ago
Super User
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]) )
- CraigC8 years ago
Helper I
Sorry for the late reply but worked perfectly thank you :)
- v-ljerr-msft8 years ago
Microsoft Employee
Hi CraigC,
Have you tried the solution provided by parry2k above? Does it work in your scenario? If it works, could you accept it as solution to close this thread?
If you still have any question on this issue, feel free to post here. :smileyhappy:
Regards
- CraigC8 years ago
Helper I
Worked perfectly thank you. I just added the current month filter to the date table and everything works.