Categories
- All Categories
- Oracle Analytics Learning Hub
- 18 Oracle Analytics Sharing Center
- 18 Oracle Analytics Lounge
- 228 Oracle Analytics News
- 44 Oracle Analytics Videos
- 15.8K Oracle Analytics Forums
- 6.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 85 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
Unable to Create Subgroups: "Group By" disabled in BI Publisher Data Model

Eric Geddes
Rank 3 - Community Apprentice
How do I Create Subgroups in a SQL Dataset in my BI Publisher Data Model when the "Group By" option in the contextual menu is grayed out?
The documentation says it should be easy:
0
Best Answer
-
I'd call this a bug, but since it's been broken for more than a decade, I'm guessing Oracle Development calls this "intended functionality".
It happens when BI Publisher doesn't like the standard SQL we write based on best practices and explicit direction from the documentation.
If your SQL statement begins with a subquery, such as
WITH ElementEntryValues AS ( SELECT ElementEntryValuePEO.ELEMENT_ENTRY_ID, ElementEntryValuePEO.INPUT_VALUE_ID, …
All you have to do is add a comment at the beginning of the SQL statement. (You may wish to choose your own.)
/* Oracle wants me to suffer */ WITH ElementEntryValues AS ( SELECT ElementEntryValuePEO.ELEMENT_ENTRY_ID, ElementEntryValuePEO.INPUT_VALUE_ID, …
Works like a charm!
- Special thanks for this trick goes to @Gunasekaran Rengasamy in this random post in the E-Business Suite Community Forum.
- This self-answered post is for anyone running into this situation in the future, in the hope they avoid wasting the hours of struggle that I've spent trying to find a solution.
- If Development is unwilling to fix this, I wonder what it takes to get the documentation updated to warn unsuspecting users…
0
Answers
-
Very helpful & useful information.
Thanks for sharing @Eric Geddes; much appreciated.
0