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

Transform Table Peek() and Previous() Help........

Hi,

Im trying to transform a table from  :

IDTimeStampPage
7633909/10/2018 15:34:44Costs
7633909/10/2018 15:34:57Leads
7633909/10/2018 15:40:35Customers
7633909/10/2018 15:44:28Costs
7633909/10/2018 15:44:34Leads
7633909/10/2018 15:45:15Customers

 

To show the flow of pages accessed as :

IDPage1Page2Page3Page4Page5Page6
76339CostsLeadsCustomersCostsLeadsCustomers

 

... and so on.  

There may be far more page selections per ID but can would the code be able to dynamically create the required output regardless of the Pages?

Also, the table is ordered by ID and Timestamp when loaded.

many thanks and any help is greatly appreciated.

Phil

Labels (1)
2 Replies
marcus_sommer

You could try to adapt a generic load approach for it whereby your page-values aren't unique in regard to the ID so that you may need to create an extra counter-field for it.

I don't know your requirement but I think I would rather use just an aggregation like:

concat(Page, ' ==> ', TimeStamp)

which will show the evolution within a single field respectively UI expression.

- Marcus

prees959
Creator II
Creator II
Author

Hi @marcus_sommer 

 

Thanks for your reply.  I'm not sure I understand your solution.

I'm hoping to create a table from my main resident table with ID as the Key field in the format I've described.  I will be able to use these Page fields as Dimensions that can be selected for further analysis.

Many thanks,

Phil