<?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: Using a variable in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30496#M5066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[CleanMonth]={'$(vNextSalesPeriod)'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;[CleanMonth]={'$(=vNextSalesPeriod)'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;[CleanMonth]={'$(=$(vNextSalesPeriod))'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 20:09:30 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-02-28T20:09:30Z</dc:date>
    <item>
      <title>Using a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30495#M5065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM({$&amp;lt;[CleanMonth]={'2017/01'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly. When I try to add in a variable in its place, I return no results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;[CleanMonth]={$(vNextSalesPeriod)}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vNextSalesPeriod is a value from a database table which returns 2017/01 and shows correctly when I reference it in a text box. Do I need to wrap it in something else to get it to read in the variable? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 19:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30495#M5065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-28T19:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30496#M5066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[CleanMonth]={'$(vNextSalesPeriod)'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;[CleanMonth]={'$(=vNextSalesPeriod)'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({$&amp;lt;[CleanMonth]={'$(=$(vNextSalesPeriod))'}, [ProdType]={'129'}&amp;gt;} Net_Revenue_Value)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30496#M5066</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-28T20:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30497#M5067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed with Sunny; add single quotes around dollar-sign expansion for the month field &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 20:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-a-variable-in-set-analysis/m-p/30497#M5067</guid>
      <dc:creator>shilpan</dc:creator>
      <dc:date>2018-02-28T20:42:27Z</dc:date>
    </item>
  </channel>
</rss>

