Categories
- All Categories
- 70 Oracle Analytics News
- 7 Oracle Analytics Videos
- 13.9K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 38 Oracle Analytics Trainings
- 56 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 2 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Is there a way to pivot columns into rows in dataset?
Summary:
I want to transform a group of columns with similar parameters into multiple rows.
Content (required):
I want to transform a group of columns with similar parameters into multiple rows in OAC, like the feature in PowerQuery, to enable a different visualization of data.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Answers
-
In Oracle Analytics Desktop there is the ability to apply scripts to a data flow.
There is an example script located here
Video of the script
Note: Running a script in a data flow is only available in Oracle Analytics Desktop.
0 -
If you're sourcing the dataset from a connection you'd be able to leverage the built in SQL Pivot function in the Manual Query selection step.
Documentation on Oracle SQL pivoting: https://blogs.oracle.com/sql/post/how-to-convert-rows-to-columns-and-back-again-with-sql-aka-pivot-and-unpivot
0 -
If you have an Oracle Database installed beside Oracle Analytics, you can use Data Flow Database analytics function to pivot and unpivot data. See youtube video here: PreviewPreview3:41OAC 5.7 - Unpivot with Database Analytics NodeYouTube · Oracle AnalyticsJul 21, 2020
0