<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Sankey Diagrams in SAS VA in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212325#M2235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I would say yes - although I'm struggling to fully understand your diagram. The way path analysis works in VA is by aggregating all transactions for a given path. This means you will always end up with the full count on the right most nodes unless you have drop-offs somewhere along the paths. The diagram you have above doesn't show any drop-offs but still doesn't add up across sequences. In your example we have 662 customers (NEW/152 + EXISTING/500 + CANCELLED/10) and only 560 took an action (COMPLAIN/50 + ORDERED/510). Can I assume some of the customers just didn't do any actions at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample data file which has weight values specified based on your example - although you will see that I had to introduce some drop offs in order to get your counts right.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;id&lt;/TD&gt;&lt;TD width="64"&gt;event&lt;/TD&gt;&lt;TD width="64"&gt;time&lt;/TD&gt;&lt;TD width="64"&gt;weight&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;198&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;198&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;LAPSED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;LAPSED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;199&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;199&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;465&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Visualizing this in VA would produce something like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10475" alt="path_customers.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10475_path_customers.gif" /&gt;&lt;/P&gt;&lt;P&gt;Since sankey diagram will always show the path width based on the frequency or weight some paths will appear quite thin. If you need to see detail values behind such paths - the 'show details' option (button top right corner) usually helps:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10476" alt="path_customers2.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10476_path_customers2.gif" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, I should also mention that instead of using weights - you probably would just use the standard frequency as in a real environment you typically have one transaction represent one customer touch point. As such the total count of these transactions will give you the same diagram. Using weights here - just simplifies the sample data and reduces the overal number of rows required.&lt;/P&gt;&lt;P&gt;Hope this helps. Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 07:37:56 GMT</pubDate>
    <dc:creator>FalkoSchulz</dc:creator>
    <dc:date>2015-05-18T07:37:56Z</dc:date>
    <item>
      <title>Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212314#M2224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create a Sankey diagram that shows the path that 6 different categories of Customers take during a week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example, I have 2000 New Customers last week, during the week 1,500 may have ordered a Product, 400 may have not ordered anything &amp;amp; 100 may have Cancelled their subscription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As well as New Customers, I have another 6 categories to track.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The info at the below link has been very helpful but I can't get the data to display the flow of the Number of Customers performing a certain action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sascom/2014/08/19/path-analysis-with-sas-visual-analytics/" title="http://blogs.sas.com/content/sascom/2014/08/19/path-analysis-with-sas-visual-analytics/"&gt;http://blogs.sas.com/content/sascom/2014/08/19/path-analysis-with-sas-visual-analytics/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest a video or step by step tutorial to help me understand the fields that need to be populated in VA to create a Sankey diagram to suit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, hope this makes some sense, otherwise feel free to ask questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 06:12:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212314#M2224</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-09T06:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212315#M2225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two SAS Global Forum 2015 papers on Sankey Diagrams in SAS Visual Analytics you may want to look at are as follows:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings15/SAS1808-2015.pdf" title="http://support.sas.com/resources/papers/proceedings15/SAS1808-2015.pdf"&gt;Paper SAS1808-2015 - Sankey Diagrams in SAS Visual Analytics by Varsha Chawla and Renato Luppi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings15/SAS1444-2015.pdf" title="http://support.sas.com/resources/papers/proceedings15/SAS1444-2015.pdf"&gt;Paper SAS1444-2015 - Taking the Path More Travelled - SAS Visual Analytics and Path Analysis by Falko Schulz and Olaf Kratzsch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 09:50:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212315#M2225</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2015-05-09T09:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212316#M2226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michelle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate this info, my main issue is trying to understand what to info to assign to the Event, Sequence, TransID &amp;amp; Weight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried many variations so maybe your info can help. Cheers Peter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 23:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212316#M2226</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-09T23:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212317#M2227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share any more details about your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the data roles, here is a quick attempt to explain each role:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TransID&lt;/STRONG&gt; identifies the entity whose status or actions you are tracking through the path. Depending on the type of data you have, this might be a user ID, a customer account number, a session ID (like for website traffic), a case number, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Event&lt;/STRONG&gt; contains the statuses or actions that will be represented as nodes in the diagram. For sales data, Event might be the products that are sold. For customer status, the Event role might be actions like "Account created", "Account canceled", "Service request filed", etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sequence&lt;/STRONG&gt; specifies the order in which the events take place. Often this would be a date, but it doesn't have to be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Weight&lt;/STRONG&gt; is an optional measure that can be used as a modifier for the path width. For example, for sales data, you might assign the sale price as the weight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only assign a single column each to the TransID and Event data roles, so if you need to visualize six categories, I believe you will need to either create multiple diagrams or somehow combine the categories as part of your data preparation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that helps a little.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 15:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212317#M2227</guid>
      <dc:creator>Sam_SAS</dc:creator>
      <dc:date>2015-05-11T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212318#M2228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your info, I have found that I can get the 6 (or more) Customer Types into my Diagram by using different 'Sequence Orders' for the same 'Event'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that The Weight value (which for this purpose is the Customer Count in each category) are added together throughout the diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attachments;&lt;/P&gt;&lt;P&gt;Each shaded area is for a different Customer category, what action they take &amp;amp; what category they end up in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Example, in Grey, in the Event Column there's (200 - Weight) 'New' Customers&lt;/LI&gt;&lt;LI&gt;150 of these Customers Ordered a Product&lt;/LI&gt;&lt;LI&gt;50 complained&lt;/LI&gt;&lt;LI&gt;180 of the 200 (150 + 50) became 'Existing' customers&lt;/LI&gt;&lt;LI&gt;20 of them cancelled&amp;nbsp;&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG __jive_id="10346" alt="Sankey_Forum_Table.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10346_Sankey_Forum_Table.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10347" alt="Sankey_Forum_Diagram.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10347_Sankey_Forum_Diagram.gif" width="450" /&gt;&lt;/P&gt;&lt;P&gt;What I would like to see is the 'NEW' category be represented as '200', the path then splits into 2 parts with 150 Ordering &amp;amp; 50 Complaining.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the 200 Customers would be split into 180 Existing &amp;amp; 20 Cancelled Customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already done the tracking of the Customers to know where they came from &amp;amp; what they did, I just need to graph it as such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 22:37:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212318#M2228</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-11T22:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212319#M2229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;The way path analysis works is by looking at the transactions first and then sorts each each event by their sequence order. In your example the NEW, EXISTING and CANCELLED events are all in different transacations (200, 201, 202) and as such represent different paths. You may have noticed that all three events are on the left side since they start off a new path. In order to have them appear within one path (and split into exisiting and cancelled customers as you describe) you would need to represent these within the same transaction or by grouping your data by the paths you describe.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Example:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Time&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sequence&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Event&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Weight&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NEW&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EXISTING&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;BR /&gt;180&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NEW&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;CANCELLED&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Note, that the first event (NEW) starts with 0 count since child sequences carry the actual weight. The example only shows the first two sequences but hope this gets you started.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 23:34:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212319#M2229</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-11T23:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212320#M2230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Falco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's very helpful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now into the part where I need to represent what Category the Customer went into &amp;amp; prepared the below to join onto the end of the 'New' 'Node'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG alt="NEW_FORUM_DATA.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10351_NEW_FORUM_DATA.gif" /&gt; &lt;/P&gt;&lt;P&gt;But I got this instead, I'm unsure where to use the '0' again to get the correct Weights where I need them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="new_forum_pic.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10352_new_forum_pic.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help, I think I'm close to following you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 00:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212320#M2230</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-12T00:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212321#M2231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are getting there!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Assuming you meant extending EXISTING node since your path as per previous examples was NEW-&amp;gt;EXISTING!? So do get a path such as NEW-&amp;gt;EXISTING-&amp;gt;HOLIDAY and NEW-&amp;gt;EXISTING-&amp;gt;ORDERED you would have a data structure such as:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Time&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sequence&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Event&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Weight&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NEW&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EXISTING&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;01/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ORDERED&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;NEW&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;EXISTING&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;02/01/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;201&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;HOLIDAY&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03/01/2015&lt;/TD&gt;&lt;TD&gt;202&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;03/01/2015&lt;/TD&gt;&lt;TD&gt;202&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Note, that I only apply a weight to leaf nodes for simplicity and the fact the path analysis will aggregate weights across all common sequences. In general every single path need to be represented in your data structure by a sequence of events (that's what path analysis really is). While its relatively simple in your scenario - it's quite challenging in typical transacational data bases with millions of transacations and potential paths.&lt;/P&gt;&lt;P&gt;Hope this helps. Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 01:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212321#M2231</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-12T01:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212322#M2232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Again Falko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another couple of questions if you don't mind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been studying the behaviour of the data entered vs the output &amp;amp;wanted to check a couple of things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your response advised "&lt;STRONG&gt;the path analysis will aggregate weights across all common sequences&lt;/STRONG&gt;" does '&lt;STRONG&gt;Sequence&lt;/STRONG&gt;' refer to the Date values or the Transaction IDs ie (201, 202...) ? - I'm still trying to figure out what makes them split the totals...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there a relationship between the 'Event' &amp;amp; the order of the Sequence to get the Events to merge?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I mean is just as an example -&amp;nbsp; if you have 2 Trans IDs &amp;amp; the second sequence for both has the same Event ie 'Ordered', they would be displayed as merged?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 04:14:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212322#M2232</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-18T04:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212323#M2233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The weight aggregation shown in the diagram is based on the total weight of the in/out bound paths. The main driver here is the transaction identifier. The time/date values are just used to specifiy the correct order of events within the given transaction. Keep in mind - the weight indicates the 'path' weight - not individual event weights.&lt;/P&gt;&lt;P&gt;Whether or not a path will be split just depends whether you have two or more paths which share a sequence of events. If they do - the shared sequence of events are displayed as one path. In my last example above I define a path NEW-&amp;gt;EXISTING-ORDERD (row 1-3) and a second path NEW-&amp;gt;EXISTING-&amp;gt;HOLIDAY (row 4-7). As you can see NEW-&amp;gt;EXISTING is a sequence of shared events although ORDERED and HOLIDAY are not - hence the path will be split at this point. However - as mentioned before - the aggregation weight is for the entire path. So in your example the total weight is calculated by aggregating all weight values from row 1-3 (NEW-&amp;gt;EXISTING-ORDERD) and row 4-7 for the second path.&lt;/P&gt;&lt;P&gt;It's sometimes easier to see and understand weight calculations if you switch the link color (Properties panel) to 'Event' or 'Path' - dependent what you want to see. This will color each sequence differently and also show individual weights for each path.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps. Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 05:17:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212323#M2233</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-18T05:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212324#M2234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think it's possible then to reproduce a diagram like I've attached to display Customers actions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of 3 Segments start with a value (Count of Customers), then may perform one action like Complain (also displayed as a Customer count) &amp;amp; then move to a final 'End of week' segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They all need to represent each event with a customer count number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be done with VA Sankey diagrams?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read your articles Franco which have the table format to use for certain situations, I wonder if there's an example for this kind of display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggests welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Peter&lt;IMG alt="sankey.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10464_sankey.gif" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 05:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212324#M2234</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-18T05:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212325#M2235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I would say yes - although I'm struggling to fully understand your diagram. The way path analysis works in VA is by aggregating all transactions for a given path. This means you will always end up with the full count on the right most nodes unless you have drop-offs somewhere along the paths. The diagram you have above doesn't show any drop-offs but still doesn't add up across sequences. In your example we have 662 customers (NEW/152 + EXISTING/500 + CANCELLED/10) and only 560 took an action (COMPLAIN/50 + ORDERED/510). Can I assume some of the customers just didn't do any actions at all?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample data file which has weight values specified based on your example - although you will see that I had to introduce some drop offs in order to get your counts right.&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="256"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="64"&gt;id&lt;/TD&gt;&lt;TD width="64"&gt;event&lt;/TD&gt;&lt;TD width="64"&gt;time&lt;/TD&gt;&lt;TD width="64"&gt;weight&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;198&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;198&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;200&lt;/TD&gt;&lt;TD&gt;LAPSED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;NEW&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;COMPLAIN&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;201&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;202&lt;/TD&gt;&lt;TD&gt;LAPSED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;199&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;199&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;29&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;203&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;465&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;204&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;206&lt;/TD&gt;&lt;TD&gt;EXISTING&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Visualizing this in VA would produce something like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10475" alt="path_customers.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10475_path_customers.gif" /&gt;&lt;/P&gt;&lt;P&gt;Since sankey diagram will always show the path width based on the frequency or weight some paths will appear quite thin. If you need to see detail values behind such paths - the 'show details' option (button top right corner) usually helps:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="10476" alt="path_customers2.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10476_path_customers2.gif" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, I should also mention that instead of using weights - you probably would just use the standard frequency as in a real environment you typically have one transaction represent one customer touch point. As such the total count of these transactions will give you the same diagram. Using weights here - just simplifies the sample data and reduces the overal number of rows required.&lt;/P&gt;&lt;P&gt;Hope this helps. Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 07:37:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212325#M2235</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-18T07:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212326#M2236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again Falko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for my chart as it only had dummy figures as an illustration rather than numbers that were supposed to aggregate to both sides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This last table is a good guide, I still have a question about the rules for merging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if I'm wrong but the 'Event' (NEW, EXISTING etc) &amp;amp; 'Trans ID' (100, 101, 102 etc) both must be the same to get the paths to merge?&lt;/P&gt;&lt;P&gt;Is that right?&lt;/P&gt;&lt;P&gt;If not, what must be the same or not the same to get the merge happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 22:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212326#M2236</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-18T22:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212327#M2237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it's more about the sequence of events which must be the same in order to have paths merged. The transaction ID is just used to differentiate between these sequences (for every customer visit you would get a new transaction ID in your example). Let's take the last transaction of my previous example (ID: 207). You will notice the weight is 5 - indicating we have 5 customers who took this particular path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively in using a weight - you could just use the frequency and represent the same using the following. This is likely a common scenario in transactional data since every customer is traced a single entity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="355"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="105"&gt;ID&lt;/TD&gt;&lt;TD width="91"&gt;EVENT&lt;/TD&gt;&lt;TD width="63"&gt;TIME&lt;/TD&gt;&lt;TD width="96"&gt;CUSTOMER_ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;207&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;208&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;208&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;208&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;209&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;209&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;209&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;210&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;210&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;210&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;211&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;211&lt;/TD&gt;&lt;TD&gt;ORDERED&lt;/TD&gt;&lt;TD align="right"&gt;101&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;211&lt;/TD&gt;&lt;TD&gt;CANCELLED&lt;/TD&gt;&lt;TD align="right"&gt;102&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this scenario all transactions with the event order of CANCELLED-&amp;gt;ORDERED-&amp;gt;CANCELLED are merged as one path. The overall path frequency is 5 since there are 5 transactions representing this sequence of events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense. Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 22:31:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212327#M2237</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-18T22:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212328#M2238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Falko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I meant to say that the 'Time' (Sequence) value &amp;amp; the Event should be the same to get the merge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The (Trans) ID would create a path in the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore if the Event &amp;amp; Time value were the same, they would merge? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 22:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212328#M2238</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-18T22:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212329#M2239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, It's just the sequence of events. The time/sequence is just required to keep events (within a transaction) in order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 22:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212329#M2239</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-18T22:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212330#M2240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I won't bother you too much more Falko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached diagram from earlier in the thread, I'm not following why the graph does the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for repeating myself;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below diagram, what's causing the Green 'Ordered' &amp;amp; the Red 'Ordered' paths to merge when they have different Sequence dates?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I notice that the Blue 'Existing' &amp;amp; the Green 'Existing' have merged but they have different sequence dates too?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I could follow these diagrams better if I understood this behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the Red path Events has also changed from the table compared to the diagram 'New' &amp;gt;&amp;gt; 'Ordered' &amp;gt;&amp;gt; 'Complained' has become 'New' &amp;gt;&amp;gt; 'Complained' &amp;gt;&amp;gt; 'Ordered' in the diagram. - I assume the diagram can make changes of the events if the dates are the same for that Trans_ID? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Falco, can you assist here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt; &lt;IMG alt="TABLE.gif" class="jive-image jiveImage" src="https://communities.sas.com/legacyfs/online/10494_TABLE.gif" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sankey_1.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10495_sankey_1.gif" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 00:20:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212330#M2240</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-19T00:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212331#M2241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In regards to your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below diagram, what's causing the Green 'Ordered' &amp;amp; the Red 'Ordered' paths to merge when they have different Sequence dates?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Falko] These are merged because both 'Ordered' events are the 3rd event in each sequence of events (or 3rd step in a path). Well, now you may say - but 'Ordered' is not the 3rd in the red path. Problem here is the duplicate sequence value and related problem of path analysis not able to determine which comes first. See my answer for your last question below.&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I notice that the Blue 'Existing' &amp;amp; the Green 'Existing' have merged but they have different sequence dates too?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Falko] Same as before both 'Existing' events are the 4th step in each path and hence merged. Also same problem as before - your blue path has a duplicate sequence value for 'Existing' and 'Cancelled' and as such may appear in a wrong order.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of the Red path Events has also changed from the table compared to the diagram 'New' &amp;gt;&amp;gt; 'Ordered' &amp;gt;&amp;gt; 'Complained' has become 'New' &amp;gt;&amp;gt; 'Complained' &amp;gt;&amp;gt; 'Ordered' in the diagram. - I assume the diagram can make changes of the events if the dates are the same for that Trans_ID?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Falko] Does the diagram show you a warning about 'artificial sequence orders' at the bottom? I would suspect so - since you have duplicate sequence dates within a single transaction. That means the path analysis algorithm can't determine which event occurred before the other potentially resulting in unexpected paths generated. This would also explain why you see the wrong order of 'Ordered-&amp;gt;Complained' vs 'Complained-&amp;gt;Ordered'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Falko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 00:49:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212331#M2241</guid>
      <dc:creator>FalkoSchulz</dc:creator>
      <dc:date>2015-05-19T00:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212332#M2242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Falco!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those points were throwing me off the track, I thought there was something about the number of the event having something to do with merging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I understand the rules better, thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 01:03:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212332#M2242</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-19T01:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagrams in SAS VA</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212333#M2243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Falko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought I'd show my progress since your advice has helped greatly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the numbers by the Weight but the smaller weights don't display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would someone send this off for people to look at &amp;amp; interact with considering it's an Exploration rather than a report?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to send this off for people to select/deselect Events &amp;amp; see the impact, is this possible or is there a better way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Peter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sankeydiagram.gif" class="jive-image-thumbnail jive-image" src="https://communities.sas.com/legacyfs/online/10514_sankeydiagram.gif" width="450" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Sample data&lt;/P&gt;&lt;P&gt;&lt;IMG alt="table1.gif" class="jive-image" src="https://communities.sas.com/legacyfs/online/10515_table1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 22:20:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/Sankey-Diagrams-in-SAS-VA/m-p/212333#M2243</guid>
      <dc:creator>Oscarboots</dc:creator>
      <dc:date>2015-05-19T22:20:16Z</dc:date>
    </item>
  </channel>
</rss>

