Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

vishus913
Contributor

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
Esteemed Contributor

Re: how to exclude null values from assigning the rownumber in qliksense

Hi,

try this:

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

agigliotti
Honored Contributor II

Re: how to exclude null values from assigning the rownumber in qliksense

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

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

vishus913
Contributor

Re: how to exclude null values from assigning the rownumber in qliksense

it does not give the right ans

anyway thanks for the help

vishus913
Contributor

Re: how to exclude null values from assigning the rownumber in qliksense

hi not is null does not work with if in chart

jyothish8807
Honored Contributor II

Re: how to exclude null values from assigning the rownumber in qliksense

Hi Vikas,

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

Br,

KC

Best Regards,
KC
vishus913
Contributor

Re: how to exclude null values from assigning the rownumber in qliksense

its a null value

Community Browser