BI Publisher (MOSC)

MOSC Banner

Define a Data Link Between Queries in a Data Template

edited May 21, 2010 1:15AM in BI Publisher (MOSC) 1 commentAnswered
 I'm trying to establish a data link between 2 queries in a data template, but I am only getting records for the parent query. Both queries work fine by themselves, but I not able to get the link to work and return combined data. Here is thecode that I am using in the template:

<dataTemplate name="SHC4" dataSourceRef="Oracle BI EE">
 <dataQuery>
  <sqlStatement name="Q1">
   <![CDATA[ 
     SELECT SYS_HLTH_CHK_2108_AP.APPROP AS APPROP_Q1, SYS_HLTH_CHK_2108_AP.AMOUNT AP
     FROM SHC
     ORDER BY SYS_HLTH_CHK_2108_AP.APPROP, AP ]]>
  </sqlStatement>
  <sqlStatement name="Q2">
   <![CDATA[ 
     SELECT SYS_HLTH_CHK_2108_UDO.APPROP, SYS_HLTH_CHK_2108_UDO.AMOUNT UDO

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