QPR Reporting Expression
Jump to navigation
Jump to search
When querying the Generic Web Service, use the QPR Reporting Add-on Expression Engine Language.
Examples
The following query will count how many scorecards there are in each QPR Metrics model:
scorecards=From('[SC].models.scorecard', '', '', 'model.name(as="modelname"),id') countSums=SortBy(GroupBy([scorecards], Array('modelname'), Array('numberOfScorecards'), Array('ArraySize([id])')), 'numberOfScorecards DESC') sortedResult=SortBy([countSums], 'numberOfScorecards DESC')