Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 44 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 278 Oracle Analytics and AI News
- 56 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI 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