BI Publisher (MOSC)

MOSC Banner

Grouping on BI Publisher RTF Template by substring value

edited Mar 28, 2025 9:58PM in BI Publisher (MOSC) 2 commentsAnswered

Hello,

Is there a way to group records by substring value of a field? Is it even possible?

For e.g. if there are multiple lines for a sales order with line numbers 1.000, 1.001, 2.000: we want to group 1.000 and 1.001 together. So output should show two lines instead of three.

I tried <?for-each-group:Detail_Line_1_Section_S2;./substring-before(BIPLineNumber_lnid_ID298, '.')?>

But it did not work as expected. If the XML has 1.000 and 1.001 it grouped them correctly into 1 record, but when the XML has 1.000 and 2.000 that is also getting grouped into 1 line when it should show as two lines.

Appreciate any help!

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