Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Alternative to for-each in BI Publisher

Robert of STAUMay 7 2024 — edited May 7 2024

Hi, I am trying to follow some blog content for an alternative to for-each functionality in BI Publisher, the syntax it describes is as below, but when I try it I get an error telling me the grouping_field method does not exist in (bold below).

So my question is is there any equivalent syntax to the below that will work with my BI Publisher version without using the in-built repeating group functionality which is not working for my purpose?

(Or alternatively using the standard functionality is there anyway to force a repeating group to read data outside its grouping and loop through all values in its ‘subsection’?)

My BI Publisher version is → 12.2.7.0.0?

<?for-each@section:G?>

<table>

<?xdoxslt:set_variable($_XDOCTX,'V',xdoxslt:**grouping_field**(.//FIELD))?>

<tr>

<td>

<?FIELD?>

</td> </tr>

<?end for-each?>

</table>

<?end for-each@section?>

Comments
Post Details
Added on May 7 2024
0 comments
336 views