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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

numbers in pivot table

Hello,

I have this pivot table and I have a dimension called "Codigo Solicitante", now I want to coutn ALL this rows, but in a new colum assign a number:

Codigo Solicitante                         Number

174903284                                        1

121497643                                        2

       .                                                .

       .                                                .

And so on... and at the end the TOTAL row.

How can I do that

Labels (1)
1 Solution

Accepted Solutions
jvitantonio
Specialist III
Specialist III

Juan, go to the pivot table, on the expression put "=RowNo()"

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

HI,

     Use rowno() in expression

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
swuehl
Champion III
Champion III

Try this

if(dimensionality()=0,count(distinct [Codigo Solicitante]), rowno() )

jvitantonio
Specialist III
Specialist III

Juan, go to the pivot table, on the expression put "=RowNo()"