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
How to custom aggregate rows of a table?
I have a list of companies, let's say A, B, C, D, E, F. I want to aggregate them in a custom way, let's say 1, 2, 3 where 1 = {A,B}, 2 = {C,D}, 3 = {E, F}.
How can I do it?
Best Answers
-
@Stefano_Mazzocca - Kindly review the below blog which has the video and steps on how to create a custom calculation with detailed steps.
1 -
The data panel is at the top center of the DV workbook. You need to click on "Data":
1
Answers
-
@Stefano_Mazzocca - You can use a Case Statement or create a Custom Group in the data visualization or data preparation layer. Here's how to do it:
In your dataset, go to the Data Panel and click on the three dots next to the column containing company names. Select Add Calculated Column.
CASE
WHEN "Company" IN ('A', 'B') THEN '1'
WHEN "Company" IN ('C', 'D') THEN '2'
WHEN "Company" IN ('E', 'F') THEN '3'
ELSE 'Other'
END
Replace "Company" with the actual column name.This will create a new column with values 1, 2, or 3 based on your groupings.
Use this new column in your visualizations.
Drag the calculated column into your chart or table to see the grouped data.Hope this helps!
0 -
Hi @Sumanth V -Oracle , can you please help me to locate the Data Panel?
0



