oracle-databasertfxsl-fobi-publisher

Limiting table rows in Oracle BI Publisher


I'm making an RTF template using Oracle BIP, how do I limit my table to 10 rows? Currently sorting the data by column3 in descending order. Here's the current code: <?for-each:DataRow?><?sort:column3;'descending';data-type='number'?>

Tried using the position property, but can't make it work.


Solution

  • I suppose you could use a predicate like this:

    <?for-each:DataRow[position()&lt;=10]?>