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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
carol_wu
Partner - Contributor
Partner - Contributor

RowNo(), Rank(), RangeCount(Above) ?

Hi experts,

Here, I want to generate Row No if they share the same Code, User Cd and Day Number, but failed. I have tried to use aggr, also failed. Are you have any recommendations?

Thanks!

5 Replies
mikaelsc
Specialist
Specialist

autonumber(Code & '|' & User Cd &'|' & Day Number,'WhateverNameYouGivetoyourAutoNumberIndex') as MyNewField


the same combination of Code, User Cd and Day Number will give the sale MyNewField (numeric) value

carol_wu
Partner - Contributor
Partner - Contributor
Author

Because I can't modify the data model, so is there any other good ideas?

mikaelsc
Specialist
Specialist

do the same in the frontend (visualisations)

add "=autonumber(Code & '|' & User Cd &'|' & Day Number,'WhateverNameYouGivetoyourAutoNumberIndex')"


in the dimension.

carol_wu
Partner - Contributor
Partner - Contributor
Author

In QlikSense frontend, there is no function named autonumber, autonumber can't work in the frontend.

mikaelsc
Specialist
Specialist

true, sorry... hash? but that doesn't give a number...