<?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: Formular sorting one number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985842#M467440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Ruben Marin:&lt;/P&gt;&lt;P&gt;Thx for your request this was the right formula. My solution for the first step now is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Right(OperationId, 2)='30',yield.primary))&lt;/P&gt;&lt;P&gt;yield.primary = the pices per Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second problem with more sample data and information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;OrderIDs: &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt; department:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ordernumber1: 100458500030&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/P&gt;&lt;P&gt;Ordernumber2: 100898500080&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/P&gt;&lt;P&gt;Ordernumber3: 100834300080&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;Ordernumber4: 100789500010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;Ordernumber5: 100321500050&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table above you can see that there are two orders for IT with two different last numbers: 30 and 80&lt;/P&gt;&lt;P&gt;And for prodction there are 3: 10, 50 and 80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea is that i can create diagramms dynamic for each department and the last numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Cost center one hast 2 steps for making a product and cost center two has 3.&lt;/P&gt;&lt;P&gt;If the user is looking at a cost center he wants to see the data for every step but the problem is that there are different steps(numbers) and different numbers in steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can i solve this that qlikview shows two diagramms for IT (30,80) and for production 3 (80,10,50) without looking at 3 diagramms(one empty) in IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can understand my idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for all your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Nov 2015 11:58:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-16T11:58:19Z</dc:date>
    <item>
      <title>Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985839#M467437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey @ all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am having a problem with a diagram and the values which shoud be shorted for this diagramm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to make some diagrams from some orderings but the order is the last two numbers from a value in this number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ordernumber1: 1004585000&lt;SPAN style="color: #ff6600;"&gt;30&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Ordernumber2: 1008985000&lt;SPAN style="color: #ff6600;"&gt;80&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;SPAN style="color: #333333;"&gt;My testing idea was to that there is a condition using the formula like =if(OperationId=(*30),OperationId) but the *30 isn't working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this diagram i want to sort after &lt;SPAN style="color: #ff6600;"&gt;30&lt;/SPAN&gt; and &lt;SPAN style="color: #ff6600;"&gt;80&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;All with 30 at the end in one diagramm and all 80 in the the other one. &lt;/P&gt;&lt;P&gt;I didn't find any way to make this working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my desire is that i can generate diagrams after every, i will say status(30,80), for this at runtime.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985839#M467437</guid>
      <dc:creator />
      <dc:date>2015-11-12T15:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985840#M467438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim, I'm not sure to understand the problem but about your 'If' testing, you can try with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt; =if(Right(OperationId, 2)='30',OperationId)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985840#M467438</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-12T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985841#M467439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some more sample data and your exprected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 00:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985841#M467439</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-14T00:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985842#M467440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Ruben Marin:&lt;/P&gt;&lt;P&gt;Thx for your request this was the right formula. My solution for the first step now is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Right(OperationId, 2)='30',yield.primary))&lt;/P&gt;&lt;P&gt;yield.primary = the pices per Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second problem with more sample data and information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;OrderIDs: &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt; department:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ordernumber1: 100458500030&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/P&gt;&lt;P&gt;Ordernumber2: 100898500080&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IT&lt;/P&gt;&lt;P&gt;Ordernumber3: 100834300080&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;Ordernumber4: 100789500010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;Ordernumber5: 100321500050&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; production&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table above you can see that there are two orders for IT with two different last numbers: 30 and 80&lt;/P&gt;&lt;P&gt;And for prodction there are 3: 10, 50 and 80&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea is that i can create diagramms dynamic for each department and the last numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: Cost center one hast 2 steps for making a product and cost center two has 3.&lt;/P&gt;&lt;P&gt;If the user is looking at a cost center he wants to see the data for every step but the problem is that there are different steps(numbers) and different numbers in steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how can i solve this that qlikview shows two diagramms for IT (30,80) and for production 3 (80,10,50) without looking at 3 diagramms(one empty) in IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can understand my idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for all your comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 11:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985842#M467440</guid>
      <dc:creator />
      <dc:date>2015-11-16T11:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985843#M467441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing Like operator with wildmatch string&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(OperationId like '*30',OperationId)&amp;nbsp;&amp;nbsp; //will work for sure&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Also check the Suppress null values&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985843#M467441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-16T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985844#M467442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the two flags in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(wildmatch(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ordernumber1,'*30',1) as OrderFlag_30,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(wildmatch(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Ordernumber1,'*80',1) as OrderFlag_80&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can use this Flag in your expression&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OrderFlag_30={'1'}&lt;/SPAN&gt;&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985844#M467442</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-16T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985845#M467443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do you mean by Diagram? Can you draw one Diagram for us?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985845#M467443</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-11-16T12:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985846#M467444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know what you mean by 'Diagram' either but if you want to use that 2 last digits as a dimension you may create it as a field:&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right(OperationId, 2) as StepNumber&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To show only by department (without empy 'diagrams') depends of the kind of chart you're using and how distributes the information, maybe you find that issue or maybe it directly works as you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 12:54:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985846#M467444</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-16T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985847#M467445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105647_sample.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a sample i made.&lt;/P&gt;&lt;P&gt;Every of this chart should be on the same page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The left one is cost center X with two operations. op 10 and op 80 should be shown.&lt;/P&gt;&lt;P&gt;The middle is how it looks now. A diagramm with no data in op 30 for cost center Y.&lt;/P&gt;&lt;P&gt;But i only want to look at the right side with the op 10 shown on the page for this costcenter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985847#M467445</guid>
      <dc:creator />
      <dc:date>2015-11-16T13:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985848#M467446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create one field to store the operation (or StepNumber) you can use this field as the conditional show of the chart, in the 'Design' tab check the 'Conditional' option and an expression similar to:&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;StepNumber={'30'}, CostCenter={'Y'}&amp;gt;} StepNumber)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the count is =0 (no records with StepNumber='30' for the CostCenter='Y') the chart will be hidden.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 13:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985848#M467446</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-16T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985849#M467447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your answer, i am a newby and can't follow you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there could be a way over one step more:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a listbox, where die OrderIDs where sorted like ( 20, 50, 80)&lt;/P&gt;&lt;P&gt;and now i want to read the data form this listbox like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if(Right(OperationId, 2)='THE_FRIST_NUMBER_ID_IN_THE_LISTBOX',opm.act.yield.primary))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for this i can make one formula for every diagramm like the followed ones:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagramm 1:&lt;/P&gt;&lt;P&gt;=sum(if(Right(OperationId, 2)='THE_FRIST_NUMBER_ID_IN_THE_LISTBOX',opm.act.yield.primary))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagramm 2:&lt;/P&gt;&lt;P&gt;=sum(if(Right(OperationId, 2)='THE_SECOND_NUMBER_ID_IN_THE_LISTBOX',opm.act.yield.primary))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this die diagramms and the listbox is very dynamic for every costcenter because of there are other operationIDs in the listbox for every costcenter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2015 08:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985849#M467447</guid>
      <dc:creator />
      <dc:date>2015-11-18T08:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985850#M467448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 08:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985850#M467448</guid>
      <dc:creator />
      <dc:date>2015-11-19T08:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985851#M467449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim, sorry about the delay but I'm busy and I can't elaborate any sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just some tips in case those helps you:&lt;/P&gt;&lt;P&gt;- Using "concat(distinct FieldNameInListBox, ';')" or "getfieldselections(FieldNameInListBox, ';')" you can get all the values in the list box separated by a semicolon (you can change the separator). The getfieldselections option only retrieves all &lt;SPAN style="text-decoration: underline;"&gt;selected&lt;/SPAN&gt; values, the concat option returns all &lt;SPAN style="text-decoration: underline;"&gt;posible&lt;/SPAN&gt; values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Based on this string you can use Subfield() to get the value in a determined position, i.e., using Subfield(Concat(distinct FieldNameInListBox, ';'), ';', 2), you'll get the second value of the possible values in the listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can try with:&lt;/P&gt;&lt;P&gt;Diagram 1: =sum(if(Right(OperationId, 2)=Subfield(Concat(distinct FieldNameInListBox, ';'), ';', &lt;STRONG&gt;1&lt;/STRONG&gt;),opm.act.yield.primary))&lt;/P&gt;&lt;P&gt;Diagram 2: =sum(if(Right(OperationId, 2)=Subfield(Concat(distinct FieldNameInListBox, ';'), ';', &lt;STRONG&gt;2&lt;/STRONG&gt;),opm.act.yield.primary))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 10:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985851#M467449</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-19T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985852#M467450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your Help, i think it's the one i want to have but,&lt;/P&gt;&lt;P&gt;i can't go on because i don't know how qlikview knows which listbox/element it should use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the picture you can see the listbox is got after filling in the formula and the frist number in the orange circle (placeholders 1-2-3) i want so see in the chart above. If there is a 50 in the frist row then the chart shows there numbers.&lt;/P&gt;&lt;P&gt;For this your answer should be the right one but how can i use &lt;STRONG&gt;(distinct FieldNameInListBox&lt;/STRONG&gt;, to get these numbers?&lt;/P&gt;&lt;P&gt;Qlikview tells me there is an error in the formula.&lt;/P&gt;&lt;P&gt;I think it's a my mistake because of didn't know much about qlikview works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/106424_Example.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;(The window at the right are the properties form the listbox.&lt;/P&gt;&lt;P&gt;Thanks for your help again. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 12:23:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985852#M467450</guid>
      <dc:creator />
      <dc:date>2015-11-23T12:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985853#M467451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim, as said above (check the "&lt;SPAN class="j-post-author"&gt;16-nov-2015 13:54" &lt;/SPAN&gt;post) if you create a field in the script it will be easier, as you can use that field name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have an expression in the list box, not a named field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985853#M467451</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-11-24T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Formular sorting one number</title>
      <link>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985854#M467452</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;Why don't you create this in script so you can easily access in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Right(OperationId, 2)&amp;nbsp; as OperationSort,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Then in your set analysis you can just do thing like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;OperationSort={30}&amp;gt;Value}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;OperationSort={80}&amp;gt;Value}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;OperationSort,={30,80}&amp;gt;Value}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Mark&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formular-sorting-one-number/m-p/985854#M467452</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-24T08:30:38Z</dc:date>
    </item>
  </channel>
</rss>

