<?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 Set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766638#M59310</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am creating a simple report in Qlik. I have created the QVD and pulling through the fields into the app.&lt;/P&gt;&lt;P&gt;I am trying to understand how to manipulate the report to show results based off some rules?&lt;/P&gt;&lt;P&gt;An example of some rules I am trying to implement are:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Compare Bound date and inception date:&lt;BR /&gt;If Transaction date &amp;lt; Inception date then include in the report&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;If Transaction Type = “New Business” then include in the report extract if:&lt;BR /&gt;Policy effective date &amp;gt; reporting date&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;If the Transaction Type = “Renewal” then include in the report extract if:&lt;BR /&gt;Policy Effective date &amp;gt; reporting date&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the Transaction Type dimension in the table, as well as effective date and the reporting date (reload date of the report). however I am trying to undestand how to implement those rules into the set anaylsis? Can someone please help to allow me to understand how to do this? I do have some measures, such as Sum (gwp) field. any help please would be greatly appreciated,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:44:07 GMT</pubDate>
    <dc:creator>QlikBeginner1</dc:creator>
    <dc:date>2024-11-16T17:44:07Z</dc:date>
    <item>
      <title>Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766638#M59310</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I am creating a simple report in Qlik. I have created the QVD and pulling through the fields into the app.&lt;/P&gt;&lt;P&gt;I am trying to understand how to manipulate the report to show results based off some rules?&lt;/P&gt;&lt;P&gt;An example of some rules I am trying to implement are:&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Compare Bound date and inception date:&lt;BR /&gt;If Transaction date &amp;lt; Inception date then include in the report&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;If Transaction Type = “New Business” then include in the report extract if:&lt;BR /&gt;Policy effective date &amp;gt; reporting date&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;If the Transaction Type = “Renewal” then include in the report extract if:&lt;BR /&gt;Policy Effective date &amp;gt; reporting date&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the Transaction Type dimension in the table, as well as effective date and the reporting date (reload date of the report). however I am trying to undestand how to implement those rules into the set anaylsis? Can someone please help to allow me to understand how to do this? I do have some measures, such as Sum (gwp) field. any help please would be greatly appreciated,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766638#M59310</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2024-11-16T17:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766792#M59325</link>
      <description>&lt;P&gt;I would suggest creating flag fields in your load script based on the comparisons, and then use those fields in the set analysis.&lt;/P&gt;&lt;P&gt;For example, on your first comparison, you could create a field in the script as follows:&lt;BR /&gt;if([Transaction date] &amp;lt; [Inception date], 1, 0) AS [Flag Name]&lt;/P&gt;&lt;P&gt;Then in your set analysis, you could simply do:&lt;BR /&gt;sum({&amp;lt;[Flag Name]={1}&amp;gt;} gwp)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 17:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766792#M59325</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-12-07T17:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766992#M59342</link>
      <description>&lt;P&gt;That is brilliant thanks, I have got that working, how do I then add all the flags into one measure to only bring through where the flag = '1'?&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; BBNIFLAG04 = {'1'}, BBNIFLAG05 = {'1'} &amp;gt;}GrossWrittenPremium)&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this for example but I believe its looking for records which have both flags as '1' instead of bringing in any records which have any of the flag fields as '1', not all?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 12:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis/m-p/1766992#M59342</guid>
      <dc:creator>QlikBeginner1</dc:creator>
      <dc:date>2020-12-08T12:33:41Z</dc:date>
    </item>
  </channel>
</rss>

