<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Custom Report or Graph with Test Cases by Program (Thread)</title><description> Hi,  I am trying to find a way to show All test cases by Project and Status. I looked in the the build in Reports, but I couldnt find. I tried creating custom one, but I ended up by  select INC.PROJECT_NAME,          count(INC.TEST_CASE_ID) as INCIDENT_COUNT  from SpiraTestEntities.R_TestCases as INC where INC.IS_DELETED = False group by INC.PROJECT_NAME order by INC.PROJECT_NAME  I want to be able to show the table below in a report or graph. Can anyone help please.         Test Case Status 1   Test Case Status 2  Test Case Status 3    Project 1             Project 2             Project 3                </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/reports/2114.aspx</link><item><guid isPermaLink="false">threadId=2114</guid><author>Plamen Sakutov (plamen.sakutov@strypes.eu)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">report</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> graph</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> custom</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> test cases</category><title>Custom Report or Graph with Test Cases by Program</title><description> Hi,  I am trying to find a way to show All test cases by Project and Status. I looked in the the build in Reports, but I couldnt find. I tried creating custom one, but I ended up by  select INC.PROJECT_NAME,          count(INC.TEST_CASE_ID) as INCIDENT_COUNT  from SpiraTestEntities.R_TestCases as INC where INC.IS_DELETED = False group by INC.PROJECT_NAME order by INC.PROJECT_NAME  I want to be able to show the table below in a report or graph. Can anyone help please.         Test Case Status 1   Test Case Status 2  Test Case Status 3    Project 1             Project 2             Project 3                </description><pubDate>Thu, 21 Nov 2019 09:46:26 -0500</pubDate><a10:updated>2019-11-26T22:22:54-05:00</a10:updated><link>/Support/Forum/spirateam/reports/2114.aspx</link></item><item><guid isPermaLink="false">messageId=3690</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> Hi Plamen,  You need to use something like this:   select INC.PROJECT_NAME, 
        sum(case when </title><description> Hi Plamen,  You need to use something like this:   select INC.PROJECT_NAME, 
        sum(case when INC.EXECUTION_STATUS_NAME = 'Passed' then 1 else 0 end) as PASS_COUNT,
        sum(case when INC.EXECUTION_STATUS_NAME = 'Failed' then 1 else 0 end) as FAIL_COUNT, 
        sum(case when INC.EXECUTION_STATUS_NAME = 'Not Run' then 1 else 0 end) as NOT_RUN_COUNT 
from SpiraTestEntities.R_TestCases as INC
where INC.IS_DELETED = False
group by INC.PROJECT_NAME
order by INC.PROJECT_NAME   Regards  David </description><pubDate>Tue, 26 Nov 2019 22:22:54 -0500</pubDate><a10:updated>2019-11-26T22:22:54-05:00</a10:updated><link>/Support/Forum/spirateam/reports/2114.aspx#reply3690</link></item></channel></rss>