Comware

 View Only

Need help with Portlets- Tests by Execution status and Total tests

This thread has been viewed 0 times
  • 1.  Need help with Portlets- Tests by Execution status and Total tests

    Posted Sep 23, 2008 10:20 PM
    Hello,
    I have created a Line graph portlet which uses Tests by execution status KPI. This Portlet shows all the execution status results over date. I also have another line graph portlet for Total tests over date. I would like to combine these two portlets so that I get the "Total tests" line graph along with the "Execution status" in the same graph. How to modify the queries or how to do union of the portlets ?

    Tests by execution status:
    The query is
    SELECT ?Tests.Execution_Status?,count(*) as value
    FROM ?Tests?
    GROUP BY ?Tests.Execution_Status?

    Total Tests:
    SELECT count(*) as value
    FROM ?Tests?

    If I try to do Union of these two portlets, I am not getting what I want. Please help.