<?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 Expressions based on the values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239092#M393745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields, CDE and DQ Metrics Process ID. Each CDE is associated to multiple Process ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the CDE is associated to Process ID that starts with 3 (i.e. 30000 or 30101), then I need one expression (i.e. sum(Process ID),&lt;/P&gt;&lt;P&gt;else Count(Process ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is CDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me with the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 19:37:51 GMT</pubDate>
    <dc:creator>varunreddy</dc:creator>
    <dc:date>2017-03-06T19:37:51Z</dc:date>
    <item>
      <title>Expressions based on the values</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239092#M393745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two fields, CDE and DQ Metrics Process ID. Each CDE is associated to multiple Process ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the CDE is associated to Process ID that starts with 3 (i.e. 30000 or 30101), then I need one expression (i.e. sum(Process ID),&lt;/P&gt;&lt;P&gt;else Count(Process ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My dimension is CDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me with the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 19:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239092#M393745</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2017-03-06T19:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions based on the values</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239093#M393746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have not understood you bad, you need to sum only when Process ID starts with "3"; else count Process ID... Would it serve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(Left([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process ID]&lt;/SPAN&gt;, 1) = 3, [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Process ID]&lt;/SPAN&gt;, 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure I am missing something in your explanations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239093#M393746</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-03-06T21:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions based on the values</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239094#M393747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hector,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CDE&amp;nbsp;&amp;nbsp; Process ID&lt;/P&gt;&lt;P&gt;ABC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2000&lt;/P&gt;&lt;P&gt;DEF&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000&lt;/P&gt;&lt;P&gt;XYZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here one CDE has two Process ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to write expressions based on Process ID's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Process ID, starts with '3*' (i.e.3000 or 3101), then I want to write an expression sum(Process ID), else count(Process ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also want to see sum(Process ID), when I select CDE (i.e. DEF or XYZ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know, if you still have issues understanding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 22:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239094#M393747</guid>
      <dc:creator>varunreddy</dc:creator>
      <dc:date>2017-03-06T22:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions based on the values</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239095#M393748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim: &lt;/P&gt;&lt;P&gt;CDE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expr:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF([Process ID] &amp;gt;= 3000, Sum(TOTAL Aggr(Sum({&amp;lt; [Process ID] = {"&amp;gt;=3000"} &amp;gt;}[Process ID]), [Process ID])), Count([Process ID]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 22:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239095#M393748</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-06T22:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions based on the values</title>
      <link>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239096#M393749</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;IMG alt="PROCES.gif" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155391_PROCES.gif" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 01:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expressions-based-on-the-values/m-p/1239096#M393749</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2017-03-07T01:15:27Z</dc:date>
    </item>
  </channel>
</rss>

