BI Publisher (MOSC)

MOSC Banner

BIP Question on providing Sum for a table

edited Sep 20, 2013 9:39AM in BI Publisher (MOSC) 4 commentsAnswered
Hello...At the beginning of a report I want to provide a summary of Opportunities by Sales Rep.  Here is an example of one record in XML.

- <ListOf_ssOpportunity>
- <ssOpportunity>
  <ssSalesRep>SMEYERS</ssSalesRep>
  <ssProjectedRevenue>245</ssProjectedRevenue>
  <ssNumberOfCards>123</ssNumberOfCards>
  <ssSalesStage>01-Prospect Discovery</ssSalesStage>
  <ssProbability>30</ssProbability>
  <ssAnnualTransactions>12</ssAnnualTransactions>
  <ssBIPCreated>2013-02-28</ssBIPCreated>
  </ssOpportunity>
</ListOf_ssOpportunity>

I also have 2 parameters: StartDate and EndDate that looks at ssBIPCreated.

Repeating group to start:
<?for-each-group:ssOpportunity[ssBIPCreated >= (psfn:totext($StartDate,"yyyy-MM-dd","MM/dd/yyyy")) and ssBIPCreated <= (psfn:totext($EndDate,"yyyy-MM-dd","MM/dd/yyyy"))];./ssSalesRep?>

Inside of that I have field to display total AnnaulTransactions for each Sales Rep with:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center