<?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: Add / Make a Calculated Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115752#M766835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And you want to do this in the script? Can you share some raw data and provide what do you wish to see as an expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 13:12:04 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-06T13:12:04Z</dc:date>
    <item>
      <title>Add / Make a Calculated Field</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115750#M766833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table view like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_11.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207122_Screenshot_11.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to make a field when I joining those 2 tables with this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Count( {&amp;lt;status={'Email Sent'}&amp;gt;}&amp;nbsp; status) + Count( {&amp;lt;status={'Email Opened'}&amp;gt;}&amp;nbsp; status) + Count( {&amp;lt;status={'Clicked Link'}&amp;gt;}&amp;nbsp; status) + Count( {&amp;lt;status={'Submitted Data'}&amp;gt;}&amp;nbsp; status)) ; CountofEmailSent as the name of new field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make a calculated field with that expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;- Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115750#M766833</guid>
      <dc:creator>rmdnkevin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add / Make a Calculated Field</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115751#M766834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you want to have in script? instead UI is easy to do. And that too Set analysis won't consume much performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 03:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115751#M766834</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-07-06T03:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add / Make a Calculated Field</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115752#M766835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And you want to do this in the script? Can you share some raw data and provide what do you wish to see as an expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115752#M766835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-06T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add / Make a Calculated Field</title>
      <link>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115753#M766836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can create an additional table in your model as &lt;/P&gt;&lt;P&gt;Load PrimaryKeyField&lt;/P&gt;&lt;P&gt;Count(&lt;SPAN style="font-size: 13.3333px;"&gt;PrimaryKeyField)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident 20180612&lt;/P&gt;&lt;P&gt;where Match(Status, 'Email Sent', 'Email Opened',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Clicked Link',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Submitted Data')&lt;/SPAN&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;group by &lt;SPAN style="font-size: 13.3333px;"&gt;PrimaryKeyField;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Replace PrimaryKeyField with ID or ID+Date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can simply create a flag for all the mentioned status and count them in front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 13:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-Make-a-Calculated-Field/m-p/115753#M766836</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-07-06T13:21:58Z</dc:date>
    </item>
  </channel>
</rss>

