Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
psk180590
Creator III
Creator III

Distinct without Sum or Count

Hello All,

I'm looking to find out if there is any possibility to get Distinct of a Column and Store it as Another Column without using any aggregation Values such as Sum or Count.

Say i have the following ID's:

ID
FB1
FB2
FB1

FB6

FB7
FB8
FB5
FB4
FB6
FB9
FB3

I need to generate another Column at the Script level using Distinct of this values:

Distinct ID
FB1
FB2
FB6
FB7
FB8
FB5
FB4
FB9
FB3

Thanks.

Sai

2 Replies
teiswamsler
Partner - Creator III
Partner - Creator III

hi Pakalapati

Try this

Table2:

Load distinct

     ID as "Distinct ID"

Resident Table 1;

/Teis

Akina0929
Creator
Creator

Hi sai kumar,

  use first value function in script.

load

firstvalue(id) as id

from..........

thanks