Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Formula to get Top 5 categories based on a criteria
Summary:
Content (required):
Hi Experts,
We have a requirement to get Top 5 Expenses based on the balancing segment value. The Top 5 expenses can be obtained using the below Formula
TopN("Base"."Base Equivalent Period Net Activity" ,5)
In addition to the above we also want it to be grouped based on Balancing segment values.
Example - Top 5 expenses for BSV 1, Top 5 expenses for BSV 2 etc.
Please advise as to how this can be catered through the formula.
Thanks,
Vipusha
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Answers
-
Hi @231094,
Please try below -
TopN("Base"."Base Equivalent Period Net Activity" ,5 BY "<Balancing segment column name>"). This should give you something like below -
0 -
Hi Amrita,
It worked. Thank you so much for the prompt response.
Thanks,
Vipusha
0 -
Thanks Vipusha
0