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: 
vishus913
Partner - Creator
Partner - Creator

how to exclude null values from assigning the rownumber in qliksense

hi everyone,

suppose i have

A

1

2

3

-

4

column in backend

now i want to give row no to

A   rowNO

1     1

2     2

3     3

-     3

4     4

in UI

i want to do this in UI only since data in backend is huge,

is there a way i can do this

thanks ,

vikas

6 Replies
YoussefBelloum
Champion
Champion

Hi,

try this:

if(len(trim(A))<>0, rowno()) as Rowno

agigliotti
Partner - Champion
Partner - Champion

in your table object you can add a new measure as below:

if( not isnull(A) or len(trim(A)) > 0, rowno(TOTAL) )

vishus913
Partner - Creator
Partner - Creator
Author

it does not give the right ans

anyway thanks for the help

vishus913
Partner - Creator
Partner - Creator
Author

hi not is null does not work with if in chart

jyothish8807
Master II
Master II

Hi Vikas,

Is it a '-' or null value in your data ?

Br,

KC

Best Regards,
KC
vishus913
Partner - Creator
Partner - Creator
Author

its a null value