Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 34 Oracle Analytics and AI Sharing Center
- 22 Oracle Analytics and AI Lounge
- 276 Oracle Analytics and AI News
- 47 Oracle Analytics and AI Videos
- 16.1K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 99 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- 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

