<?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 QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225683#M619885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="155156" alt="Capturar.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155156_Capturar.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tenho uma tabela que mostra um determinado valor referente a mar 2017, porém precisaria que essa coluna pegasse o mes da dimensão e calculasse o valor de 6 meses atrás...e isso se repetisse para os outro, tipo, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 2017 iria calcular = jan2017 -180 dias&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fev 2017 iria calcular = fev2017 -180 dias&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;E assim por diante...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tentei fazer usando set analysis, mas não muda nada:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SUM({&amp;lt;C1_CLAS_N4 = {'310101'} , &lt;STRONG&gt;MES_ANO = {"=MONTHNAME(MES_ANO - 180)"}&lt;/STRONG&gt;&amp;gt;} VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Alguém sabe com fazer para eu buscar o valor da dimensão menos um numero de dias e dai sim somar o valor?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 13:45:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-03T13:45:06Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225683#M619885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bom dia.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="155156" alt="Capturar.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155156_Capturar.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tenho uma tabela que mostra um determinado valor referente a mar 2017, porém precisaria que essa coluna pegasse o mes da dimensão e calculasse o valor de 6 meses atrás...e isso se repetisse para os outro, tipo, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jan 2017 iria calcular = jan2017 -180 dias&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fev 2017 iria calcular = fev2017 -180 dias&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;E assim por diante...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Tentei fazer usando set analysis, mas não muda nada:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SUM({&amp;lt;C1_CLAS_N4 = {'310101'} , &lt;STRONG&gt;MES_ANO = {"=MONTHNAME(MES_ANO - 180)"}&lt;/STRONG&gt;&amp;gt;} VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Alguém sabe com fazer para eu buscar o valor da dimensão menos um numero de dias e dai sim somar o valor?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225683#M619885</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T13:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225684#M619886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Off course, That should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SUM({&amp;lt;C1_CLAS_N4 = {'310101'} , &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;MES_ANO = {"$(=MONTHNAME(MES_ANO - 180))"}&lt;/STRONG&gt;&amp;gt;} VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SUM({&amp;lt;C1_CLAS_N4 = {'310101'} , &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;MES_ANO = {"$(=AddMonths(MonthName(MES_ANO),-6))"}&lt;/STRONG&gt;&amp;gt;} VALOR)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225684#M619886</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-03T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225685#M619887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know ehy not works...=/&lt;/P&gt;&lt;P&gt;When i put this, the values turn 0...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225685#M619887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T14:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225686#M619888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, check what format the field MES_ANO has. Assuming it is created using the function MonthName(), then the expression should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;C1_CLAS_N4 = {'310101'} , MES_ANO = {"$(=MonthName(AddMonths(MES_ANO, -6))"}&amp;gt;} VALOR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If MES_ANO does not have the format MMM YY as returned by the function MonthName() you need to use the Date() function instead with the right mask to display as exactly the MES_ANO does.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:10:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225686#M619888</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2017-03-03T14:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225687#M619889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, i used MonthName(), but i tried any way, bu t not works...=/&lt;BR /&gt;I will attach a example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225687#M619889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T14:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225688#M619890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, attached there are a sample what i need. In second column i need it valeus be a same value reference six month ago...But set analysis don't work...if someone can help me...Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 18:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1225688#M619890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-03T18:47:18Z</dc:date>
    </item>
  </channel>
</rss>

