How to get count of specific items of the report result in Rational Insight
I'm using Insight to do a report which will filter the defects of a RTC project, the result includes the state of the defects. However, I need to get the total number of specific state like 'Open'. How to make this happen in only 1 query since I want to display both the total number of all the filtered defects and the specific state defects in 1 chart/list? Thanks!
|
One answer
I found a work around in other websites, since the RTC defect is represented as Request in Insight, and the [Request ID], [Request State] is 1-1 mapping. So we can use this:
count(case when [Request State] = 'Closed' then [Request ID]
else NULL end)
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.