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?
@Stefano_Mazzocca - Kindly review the below blog which has the video and steps on how to create a custom calculation with detailed steps.
https://blogs.oracle.com/analytics/post/two-ways-to-create-custom-calculations-in-oracle-analytics
The data panel is at the top center of the DV workbook. You need to click on "Data":
@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!
Hi @Sumanth V -Oracle , can you please help me to locate the Data Panel?