Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 19 Oracle Analytics Lounge
- 222 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 83 Oracle Analytics Trainings
- 15 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
BI Publisher for-each-group skip null columns in RTF template

Xavier P
Rank 3 - Community Apprentice
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
Tagged:
0
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