Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes



One answer

Permanent link
 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)

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025

Question asked: Apr 26 '15, 5:46 a.m.

Question was seen: 3,185 times

Last updated: Apr 27 '15, 9:00 a.m.

Confirmation Cancel Confirm