<?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 w/ Multiple Conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-w-Multiple-Conditions/m-p/1583919#M507940</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have looked at other posts related to my question but have had no luck finding an answer. Any help is appreciated.&lt;/P&gt;&lt;P&gt;I have a calculation that counts all approved claims for all months greater than the one selected.&lt;/P&gt;&lt;P&gt;However, I need to only count the approved claims when the claim was denied in the&amp;nbsp;month selected.&lt;/P&gt;&lt;P&gt;For example: WHEN [DETRMN_DISPOSITION] = 'Denied' FOR Only([DETRMN_RPT_MTH_DATE_SKEY])&amp;nbsp;THEN&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif" size="4" color="#000000"&gt;&lt;FONT size="3"&gt;count({$&amp;lt;[DETRMN_DISPOSITION]={'Approved'},[DETRMN_RPT_MTH_DATE_SKEY]={"&amp;gt;$(=Only([DETRMN_RPT_MTH_DATE_SKEY]))"}&amp;gt;} [DETRMN_AUTH_CLAIM_NBR])&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This is the formula I am using now but am getting all approvals regardless if it was denied.&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#0000ff"&gt;=count&lt;/FONT&gt;&lt;FONT size="1"&gt;({$&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_DISPOSITION]&lt;/FONT&gt;&lt;FONT size="1"&gt;={'Approved'},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_RPT_MTH_DATE_SKEY]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;"&amp;gt;$(=Only([DETRMN_RPT_MTH_DATE_SKEY]))"&lt;/FONT&gt;&lt;FONT size="1"&gt;}&amp;gt;} &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_AUTH_CLAIM_NBR]&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 13:25:35 GMT</pubDate>
    <dc:creator>byrnel0586</dc:creator>
    <dc:date>2019-05-23T13:25:35Z</dc:date>
    <item>
      <title>Set Analysis w/ Multiple Conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-w-Multiple-Conditions/m-p/1583919#M507940</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have looked at other posts related to my question but have had no luck finding an answer. Any help is appreciated.&lt;/P&gt;&lt;P&gt;I have a calculation that counts all approved claims for all months greater than the one selected.&lt;/P&gt;&lt;P&gt;However, I need to only count the approved claims when the claim was denied in the&amp;nbsp;month selected.&lt;/P&gt;&lt;P&gt;For example: WHEN [DETRMN_DISPOSITION] = 'Denied' FOR Only([DETRMN_RPT_MTH_DATE_SKEY])&amp;nbsp;THEN&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif" size="4" color="#000000"&gt;&lt;FONT size="3"&gt;count({$&amp;lt;[DETRMN_DISPOSITION]={'Approved'},[DETRMN_RPT_MTH_DATE_SKEY]={"&amp;gt;$(=Only([DETRMN_RPT_MTH_DATE_SKEY]))"}&amp;gt;} [DETRMN_AUTH_CLAIM_NBR])&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This is the formula I am using now but am getting all approvals regardless if it was denied.&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#0000ff"&gt;=count&lt;/FONT&gt;&lt;FONT size="1"&gt;({$&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_DISPOSITION]&lt;/FONT&gt;&lt;FONT size="1"&gt;={'Approved'},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_RPT_MTH_DATE_SKEY]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;"&amp;gt;$(=Only([DETRMN_RPT_MTH_DATE_SKEY]))"&lt;/FONT&gt;&lt;FONT size="1"&gt;}&amp;gt;} &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[DETRMN_AUTH_CLAIM_NBR]&lt;/FONT&gt;&lt;FONT size="1"&gt;) &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 13:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-w-Multiple-Conditions/m-p/1583919#M507940</guid>
      <dc:creator>byrnel0586</dc:creator>
      <dc:date>2019-05-23T13:25:35Z</dc:date>
    </item>
  </channel>
</rss>

