Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
BI Publisher for-each-group skip null columns in RTF template

Content
Hi All,
I have a scenario in RTF template, I need to perform for-each-group based on four columns.
<?for-each-group:G_ROWS;./COL1;COL2;COL3,COL4?>
COL1,COL2 and COL3 can be null but COL4 will not hold null values.
When I have null values in the COL1, COL2 or COL3, I need to skip that specific column in the grouping. Grouping needs to be performed on the rest of the columns.
Please let me know how to achieve the same.
Thanks,Xavier
Version
11g
Answers
-
Hello,
Can you add a sample xml so that anyone can test it?
Try:
<?for-each-group:G_ROWS;./COL1;COL2;COL3,COL4?>
<?if: /G_ROWS/COL1 !=’’?>
<?if: /G_ROWS/COL2 !=’’?>
<?if: /G_ROWS/COL3 !=’’?>
do your stuff here
<?end if?>
<?end if?>
<?end if?>
<?end for-each-group?>
And let us know.
Regards,
Carlos
0