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: 
ecabanas
Creator II
Creator II

Create Fields from data

Hi,

 

I want to create a new table when I'm loading the script. I have this table as example:

createdatSalesIdBrandRevenues
01/01/2019PV001X10 €
01/01/2019PV001Y10 €
01/01/2019PV001Z10 €
01/01/2019PV002X10 €
01/01/2019PV002Y10 €
01/01/2019PV002Z10 €
31/01/2019PV003X10 €
31/01/2019PV003Y10 €
31/01/2019PV004Y10 €
31/01/2019PV004Z10 €

 

But I want to create a table like this to do some calculations:

SalesIDBrandXBrandYBrandZ
PV001111
PV002111
PV00311 
PV004  1

How do automatically that X, Y, Z (or N brands) as fields?

 

Thank's

 

 

Labels (1)
2 Replies
patilamay
Contributor III
Contributor III

I think you are looking for generic load. 

See the below blog post

https://community.qlik.com/t5/Qlik-Design-Blog/The-Generic-Load/ba-p/1473470