<?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: How to show next process (descr.) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540944#M555956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question could be answered with a bit clearer explanation i believe. Though you have explained in your way, it has not reached most of the people like me. Can you please come up with your tables and sample data along with the expected result explained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 10:23:37 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-08-12T10:23:37Z</dc:date>
    <item>
      <title>How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540942#M555953</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 have 2 tables Orders and suborders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a straight table with orders as dimension and some expressions. And what I want to show is the description of the next suborder.&lt;/P&gt;&lt;P&gt;I think I have to create a field in the script in the Orders table, which saves this for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't find a way to show it in the table. I can show the max(ID_suborder) and the number of suborders to come. So i could calculate the ID_suborder for the next suborder. Something like =max(ID_suborder) - open_suborders + 1 ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open_suborders = count(IF(Status=1,suborder))&amp;nbsp; ... just for the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even with this number I'm not able to show the description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this IF(max(ID_suborder) - open_suborders + 1 = ID_suborder, Description,'No Orders')&amp;nbsp; ... Its not obvious for me why this don't works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to code this into the script and generate an extra field? I can't believe that this can be so hard to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it should be the first ID_suborder with Status=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any hints..&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 15:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540942#M555953</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-07-30T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540943#M555955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmmm&amp;nbsp; nobody has a clue how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Table looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Order&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Open Sub-Orders&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Sub-Order Total&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Next Open Sub-Order&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10000&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt; ?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10001&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;TD&gt;23&lt;/TD&gt;&lt;TD&gt;?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is the "Next Open Sub-Order" column I would like to show the Desc. of the next suborder.&lt;/P&gt;&lt;P&gt;Every sub-order has an ID and a status field which is unique within the order no, so I can calculate the sub-order ID like described above, but an IF Statement like "IF([sub-order ID] = Total - Open, Description, 'No Open Sub-Orders') does not work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function which could do the trick?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 09:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540943#M555955</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-08-12T09:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540944#M555956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question could be answered with a bit clearer explanation i believe. Though you have explained in your way, it has not reached most of the people like me. Can you please come up with your tables and sample data along with the expected result explained?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 10:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540944#M555956</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-12T10:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540945#M555958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tres qv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created a qvw with some sample data and a straight table. The fields/expression I need help with is marked red. The (not working) expression is quite simple (and i commented it in the properties/expression dialog).. I think it should make clear what I want to be shown in this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 11:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540945#M555958</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-08-12T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540946#M555959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try: FirstSortedValue({&amp;lt;Status={1}&amp;gt;}Description, SubOrderID)&lt;/P&gt;&lt;P&gt;See attached example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 18:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540946#M555959</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-12T18:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540947#M555961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 04:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540947#M555961</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-13T04:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to show next process (descr.)</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540948#M555963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. It works great. I tested firstsortedvalue too, but obviously I did something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gysbert you are a machine! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you guys for making my day...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 06:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-next-process-descr/m-p/540948#M555963</guid>
      <dc:creator>peschu123</dc:creator>
      <dc:date>2013-08-13T06:12:36Z</dc:date>
    </item>
  </channel>
</rss>

