Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create incremental field

Hi,

I am looking to set up a field that is incremented automatically by one for each field in my Billing, to create each KPI KPI_ID on my field.

Do you have any idea?

1 Solution

Accepted Solutions
anbu1984
Master III
Master III

Try AutoNumber(Metric)

View solution in original post

8 Replies
anbu1984
Master III
Master III

Can you explain your requirement with sample data and expected output

Not applicable
Author

MetricMetric Id
User Experience1
Business Transaction2
Basepage3
iFrame4

I've got the field Metric, and i want to create Metric Id.

is it ok for you ?

rustyfishbones
Master II
Master II

You can use

RowNo() as MetricID

or try creating an inline Table and Assign your metrics with an ID

Regards

Alan

anbu1984
Master III
Master III

Use RowNo()

Load *,RowNo() As MetricId Inline [

Metric

User Experience

Business Transaction

Basepage

iFrame ];

Not applicable
Author

i did it first with an Inline, but the number of KPI will change in the time.

Not applicable
Author

i tried your solution, but the distinct doesn't work. i've got more then 1000 records.

anbu1984
Master III
Master III

Try AutoNumber(Metric)

Not applicable
Author

well done

i forgot this function.