<?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 Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1700914#M451192</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to show the Monthwise Right Frequency in the line chart. I am using below expression.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=Num(Sum(Aggr(if(((Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId) - Count({&amp;lt;DCRIS_CUST_TYPE={'Retailer'},DCRVISITS_PER_MONTH ={'0'},DCRActive = {'Field Work','Meeting'},DCRIS_ACTIVE = {'Y'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId)-Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'},DCRIS_CUST_TYPE ={'Taxi Tour','DMS MT','DMS Rtl'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId))) &amp;gt;= Only({&amp;lt;DCRIS_CUST_TYPE ={'*'}-{'Taxi Tour','DMS MT','DMS Rtl'},DCRVISITS_PER_MONTH={'*'}-{'0'}&amp;gt;}DCRVISITS_PER_MONTH),1,0),DCRVentasysCustomerId)) /&lt;BR /&gt;(Count({&amp;lt;IS_ACTIVE = {'Y'}&amp;gt;}DISTINCT VentasysCustomerId) - Count({&amp;lt;CUST_TYPE={'Retailer'},VISITS_PER_MTH ={'0'},IS_ACTIVE = {'Y'}&amp;gt;}DISTINCT VentasysCustomerId)-Count({&amp;lt;IS_ACTIVE = {'Y'},CUST_TYPE={'Taxi Tour','DMS MT','DMS Rtl'}&amp;gt;}DISTINCT VentasysCustomerId)),'###.#%')&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;{&amp;lt;Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&lt;/P&gt;&lt;P&gt;Kindly help me how to show monthwise for this report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:41:47 GMT</pubDate>
    <dc:creator>dineshm030</dc:creator>
    <dc:date>2024-11-16T00:41:47Z</dc:date>
    <item>
      <title>Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1700914#M451192</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to show the Monthwise Right Frequency in the line chart. I am using below expression.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;=Num(Sum(Aggr(if(((Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId) - Count({&amp;lt;DCRIS_CUST_TYPE={'Retailer'},DCRVISITS_PER_MONTH ={'0'},DCRActive = {'Field Work','Meeting'},DCRIS_ACTIVE = {'Y'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId)-Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'},DCRIS_CUST_TYPE ={'Taxi Tour','DMS MT','DMS Rtl'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId))) &amp;gt;= Only({&amp;lt;DCRIS_CUST_TYPE ={'*'}-{'Taxi Tour','DMS MT','DMS Rtl'},DCRVISITS_PER_MONTH={'*'}-{'0'}&amp;gt;}DCRVISITS_PER_MONTH),1,0),DCRVentasysCustomerId)) /&lt;BR /&gt;(Count({&amp;lt;IS_ACTIVE = {'Y'}&amp;gt;}DISTINCT VentasysCustomerId) - Count({&amp;lt;CUST_TYPE={'Retailer'},VISITS_PER_MTH ={'0'},IS_ACTIVE = {'Y'}&amp;gt;}DISTINCT VentasysCustomerId)-Count({&amp;lt;IS_ACTIVE = {'Y'},CUST_TYPE={'Taxi Tour','DMS MT','DMS Rtl'}&amp;gt;}DISTINCT VentasysCustomerId)),'###.#%')&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;{&amp;lt;Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&lt;/P&gt;&lt;P&gt;Kindly help me how to show monthwise for this report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1700914#M451192</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2024-11-16T00:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1701239#M451206</link>
      <description>&lt;P&gt;Do you have a sample where we can see this?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2020 18:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1701239#M451206</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-05-12T18:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1701493#M451217</link>
      <description>&lt;P&gt;Before i apply YTD it is showing correct value.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_0-1589366747577.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33518iD96BA8A5EA4C53B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_0-1589366747577.png" alt="dineshm030_0-1589366747577.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After i Use this&amp;nbsp;Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"} expression, it is showing as wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dineshm030_1-1589366837748.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/33520iD01688CAA829244A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dineshm030_1-1589366837748.png" alt="dineshm030_1-1589366837748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;=Num(Sum({&amp;lt;Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}Aggr(if(((Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId) - Count({&amp;lt;DCRIS_CUST_TYPE={'Retailer'},DCRVISITS_PER_MONTH ={'0'},DCRActive = {'Field Work','Meeting'},DCRIS_ACTIVE = {'Y'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId)-Count({&amp;lt;DCRIS_ACTIVE = {'Y'},DCRActive = {'Field Work','Meeting'},DCRIS_CUST_TYPE ={'Taxi Tour','DMS MT','DMS Rtl'}&amp;gt;}DISTINCT DCR_DT&amp;amp;DCRVentasysCustomerId))) &amp;gt;= Only({&amp;lt;DCRIS_CUST_TYPE ={'*'}-{'Taxi Tour','DMS MT','DMS Rtl'},DCRVISITS_PER_MONTH={'*'}-{'0'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DCRVISITS_PER_MONTH),1,0),DCRVentasysCustomerId)) /&lt;BR /&gt;(Count({&amp;lt;IS_ACTIVE = {'Y'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DISTINCT VentasysCustomerId) - Count({&amp;lt;CUST_TYPE={'Retailer'},VISITS_PER_MTH ={'0'},IS_ACTIVE = {'Y'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DISTINCT VentasysCustomerId)-Count({&amp;lt;IS_ACTIVE = {'Y'},CUST_TYPE={'Taxi Tour','DMS MT','DMS Rtl'},Month,Calendar_Month = {"&amp;gt;=$(=date(YearStart(date#(max(Calendar_Month),'MM')),'MM'))&amp;lt;=$(=max(Calendar_Month))"}&amp;gt;}DISTINCT VentasysCustomerId)),'###.#%')&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 10:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Expression/m-p/1701493#M451217</guid>
      <dc:creator>dineshm030</dc:creator>
      <dc:date>2020-05-13T10:46:23Z</dc:date>
    </item>
  </channel>
</rss>

