Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
juliekagergaard
Contributor II
Contributor II

From date data to Sankey

Hi Qlik experts!

I am currently working on creating a sankey diagram of system statuses extracted from SAP PM. The data is structured like this:

For an order I know which status was set or deleted at what time (example data):

OrderSystem statusDate
1A01-01-18
1B04-01-18
2A05-01-18
1C06-01-18
2C07-01-18
3A07-01-18
3B08-01-18
3C12-01-18

Using the QlikView sankey extension, I would like to display the flow of orders in system statuses. For this I need the field source, destination and a count of orders. For the example data shown above this would look like the following:

SourceDestinationNo. of orders
AB2
BC2
AC1

But I cannot figure out how to get my data structured this way. I have considered grouping by order, and then counting the number of orders in the expression, but so far no luck.

Thanks in advance!

0 Replies