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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
farolito20
Contributor III
Contributor III

Sum(1)

Temp1:

Load

          ID,

Sum(1) as TempId

Resident DimTemporary2

Group By ID;

Drop Field TempId;

Left Join (Temp1)

Load

          ID,

          Rowno()          as TempId

Resident Temp1;

What's the meaning of sum(1)?

1 Reply
chematos
Specialist II
Specialist II

That's used as a counter of an ID, so TempId is the counter of ID in this table, but that code is wrong, I think there is no sense on that. That left join is wrong...