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
top 10 and rest others in union report

Hi,
I have a requirement to have Top 10 and rest others in a union Report with their totals(Top 10 total, grand total). I have used the rank on metrics to have the top 10 and rest others (eg case when rank(sales)<=10 then "Customer.Cname" else "Others" end). But i cannot put subtotal on a metric in pivot table. Selection steps is not enabled in the union report.
Is there any way to acheive the top 10 and rest others in a union report ?
Thanks
Kalpana
Answers
-
My Advice is to try to create this using Advanced Logical SQL. The trick in the 2nd query will be to remove those items that get into the top 10 in the first query. This could also be achieved by using a nested union, where the 2nd row is a union minus.
0 -
Hi Adrian,
In my union report, the first report only has the top 10 and rest others in first report and the second one. can you please let me know in detail of achieving this please.
Thanks,
Kalpana
0 -
In the advanced SQL you can use standard SQL Syntax for out er joins, e.g. you can use LEFT OUTER JOIN
(Sorry it took so long to reply!)
0