cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jszlm Frequent Visitor
Frequent Visitor

Replace one column with index number

Hi,

 

In my report, I need to keep the Id to calculate distinct Id count. But I cannot use the real Id number. How to replace the real Ids with index number like 1, 2,3.......

 

The target is that customer cannot find the real Id in the report. In the Id column, the Id is not unique and long list of Ids.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Replace one column with index number

I would pull just your ID's in and make them unique (in another query). Add an Index column. Now Merge your queries. Remove your ID column and leave the Index column.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


2 REPLIES 2
Super User
Super User

Re: Replace one column with index number

I would pull just your ID's in and make them unique (in another query). Add an Index column. Now Merge your queries. Remove your ID column and leave the Index column.


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!


jszlm Frequent Visitor
Frequent Visitor

Re: Replace one column with index number

I did do that way but forgot the last step of "appending". Thanks