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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Can we have a chance to generate serial no dynamically in Qlikview straight table. For running data.

Hi All

Can we have a chance to generate serial no dynamically in Qlikview straight table. For running data.

Ex:

Suppose in table 100 records

Normally the Sno shows 1-100

If I go to any selection, based on that selection the data display in that table with the filtered data is about to 20 records , that time also the Sno start with 1 and ends with 20.

If clear then it comes to normal numbering 1-100

Can any one help me out

Regards,

AR UMAMAHESH

1 Solution

Accepted Solutions
Not applicable
Author

Hi All,

Finally i got the dynamic row number, for now it is working fine, but i am not satisfied fully.

For your reference i attached doc.

View solution in original post

5 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm not sure I completely understand the question, but it sounds like you are looking for the function RowNo().

cheers,

Oleg Troyansky

Check out my new book QlikView Your Business - The Expert Guide for QlikView and Qlik Sense

Not applicable
Author

Hi

Row number works in script it assigne a record value for each and every record while loading into Qlikview. That is static value.



I need dynamic row number in front end, that will works always dynamically 

swuehl
MVP
MVP

There is also an inter record chart function called RowNo():

RowNo ‒ QlikView

Just create an expression

=Rowno(TOTAL)

Not applicable
Author

Hi All,

Finally i got the dynamic row number, for now it is working fine, but i am not satisfied fully.

For your reference i attached doc.

Anil_Babu_Samineni

Can you try for me something like below

LOAD *,If(Peek(OrderDate)=OrderDate,Peek(Seq)+1,1) as Seq;

LOAD OrderID,

     OrderDate,

     Customer,

     Employee,

     Region,

     Product,

     Cost,

     Quantity,

     [Final Price],

     RecNo() as ID

FROM

(ooxml, embedded labels, table is Sales);

And then Use, Dimensions and Expressions like below

Dim -- Seq,Employee

Expression -- Sum([Final Price])

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful