Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to Easily Get a Unique ID Column In Oracle Analytics

132
Views
0
Comments
Hui Wang-Oracle
Hui Wang-Oracle Rank 3 - Community Apprentice

There is one function we can use to identify row number in oracle analytics cloud application: ROWID()

It can be used inside of workbook, dataset, and dataflow.

Inside of workbook, if you create a calculation with expression rowid(), and then refer this measure in the result set, it will be unique identify each row of returned result

workbook rowid.jpg

If you want to identify each column in the source dataset, then you need add this column in dataset itself

image.png

Beside above, you can also use this function inside dataflow to add unique id for each incoming row, based on it, maybe you can split data or implement some other function based on your requirement.

image.png