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: 
Not applicable

One line with two characteristics

How can i do a treatment of table with two values like?

Header 1AlgoritmoHeader 3Header 4

KNN

PARZEN

KNN

BAYES

PARZEN

BAYES

I want to work filtering just on Algoritmo in Column each time

3 Replies
avinashelite

Can you please elaborate your problem

tresesco
MVP
MVP

You have to use Subfield(). But for that, there has to be a separator between two values. Assuming that your Algoritmo field values are separated by a space (like: Value1 Value2), you could try something like:

Load

          Field1,

          ...,

          SubField(Algoritmo, ' ') as NewAlgoritmo

From <>;

Here, subfield() would generate one full record of input data for each substring that can be found in the original string.

Therefore, all you have to find is a separator.

aveeeeeee7en
Specialist III
Specialist III

Hi Alysson

Though your Requirement is not clear but as per my understanding, in your case

you can use chr(13)

eg. Field1&chr(13)&Field2

or you can use Subfield() function as Tresesco Sir said.


Regards
Aviral Nag