<?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 Diagram, handling nulls in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321274#M28532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Did you get a solution to this problem? I am facing something similar and I would want that those null records should be shown moving directly to failed on level 3 from screenboard.&lt;/P&gt;&lt;P&gt;Kindly help if you have found the solution to it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2018 13:09:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-24T13:09:03Z</dc:date>
    <item>
      <title>Sankey Diagram, handling nulls</title>
      <link>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321272#M28530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to develop a Sankey diagram in QlikSense for patient flow in a clinical trial.&amp;nbsp; I am using the extension &lt;A href="https://github.com/xavierlp/SenseSankey"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample of my data.&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;This data does not work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;MySankeyData:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;'Node1','Node2','Node3','MyCount'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','Completed','4'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','Discontinued','1'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','','1'&lt;/P&gt;&lt;P&gt;'Screened','','Failed','2'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The subject in the third line is still active and so I can easily enough enter 'Active' in node 3.&amp;nbsp; But I cannot handle the null in the fourth line.&amp;nbsp; I can transform the data to this....&lt;/P&gt;&lt;P&gt;MySankeyData:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;'Node1','Node2','Node3','MyCount'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','Completed','4'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','Discontinued','1'&lt;/P&gt;&lt;P&gt;'Screened','Enrolled','Active','1'&lt;/P&gt;&lt;P&gt;'Screened','null','Failed','2'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this gives me the following diagram...&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sankey.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158540_sankey.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But the term 'null' in node 2 is obviously not what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'Screened','','Failed','2'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'Screened',,'Failed','2'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'Screened','Failed','','2'&amp;nbsp; - (which would move the 'Failed' to the second node, not ideal but the diagram would have to terminate here to be meaningful and the null in node3 does not work)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;etc,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So I am hoping someone can help me with how to handle the nulls.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;As an aside, the Sankey diagrams for QlikView seem to operate effortlessly from a concatenated path flow.&amp;nbsp; &lt;A href="https://www.youtube.com/watch?v=0x3Bxgu5X9s"&gt;Witness this video from Dalton Reuer&lt;/A&gt; (skip to 2:34 in the video).&amp;nbsp; But the Sense apps seem to require each node defined as a dimension.&amp;nbsp; Why is this?&amp;nbsp; Is there something I am doing wrong in my data prep?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321272#M28530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T18:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagram, handling nulls</title>
      <link>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321273#M28531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd replace the string 'null' with something like 'N/A' or 'unknown' or 'missing' or 'no data'. If you don't want that you can something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;set NullInterpret =;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MySankeyData:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Node1','Node2','Node3','MyCount'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Screened','Enrolled','Completed','4'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Screened','Enrolled','Discontinued','1'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Screened','Enrolled','','1'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Screened', ,'Failed','2'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2017 08:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321273#M28531</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2017-04-01T08:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagram, handling nulls</title>
      <link>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321274#M28532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, Did you get a solution to this problem? I am facing something similar and I would want that those null records should be shown moving directly to failed on level 3 from screenboard.&lt;/P&gt;&lt;P&gt;Kindly help if you have found the solution to it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 13:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321274#M28532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-24T13:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sankey Diagram, handling nulls</title>
      <link>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321275#M28533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not get a solution that was acceptable to me.&amp;nbsp; Gysbert's solution was the best I could do.&amp;nbsp; Its been a while since I looked at this so it is possible the projects for QlikSense has evolved a bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 15:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sankey-Diagram-handling-nulls/m-p/1321275#M28533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-24T15:52:57Z</dc:date>
    </item>
  </channel>
</rss>

