<?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: Set expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281576#M401730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({(Cmb_Sector)* $}(ACTUAL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is my original set analysis with &lt;SPAN style="font-size: 13.3333px;"&gt;Cmb_Sector&lt;/SPAN&gt; as Alternate state and It is working properly. Now I want insert a variable CMB=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;match(BCOD,'NU00','HL00')&lt;/SPAN&gt;. Then It does not work. Even your Expression&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;BCOD={'$(CMB)'}&amp;gt;} ACTUAL) is not working.&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;Is there any this wrong with my variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2017 04:12:12 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2017-01-20T04:12:12Z</dc:date>
    <item>
      <title>Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281574#M401728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a set expression in my QV doc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;BCOD={$(CMB)},(Cmb_Sector)* $&amp;gt;}(ACTUAL))&lt;/P&gt;&lt;P&gt;The above is not working. my CMB Variable is defined&amp;nbsp; match(BCOD,'NU00','HL00')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Cmb_Sector is an Alternate state. Pls help me to correct the above&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 03:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281574#M401728</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-01-20T03:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281575#M401729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are you trying to do with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,(Cmb_Sector)* $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&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;SUM({&amp;lt;BCOD={'$(CMB)'}&amp;gt;} ACTUAL)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281575#M401729</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2017-01-20T04:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281576#M401730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUM({(Cmb_Sector)* $}(ACTUAL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is my original set analysis with &lt;SPAN style="font-size: 13.3333px;"&gt;Cmb_Sector&lt;/SPAN&gt; as Alternate state and It is working properly. Now I want insert a variable CMB=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;match(BCOD,'NU00','HL00')&lt;/SPAN&gt;. Then It does not work. Even your Expression&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SUM({&amp;lt;BCOD={'$(CMB)'}&amp;gt;} ACTUAL) is not working.&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;Is there any this wrong with my variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281576#M401730</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-01-20T04:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281577#M401731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also not entirely sure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, You can try similar this way and then try or Check Sushil reply and then see after that describe more if issue is still there&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;BR /&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;EM style="font-size: 13.3333px; font-family: Calibri; color: #0000ff;"&gt;sum({$&amp;lt;BCOD= {'$(CMD)'}::[Cmb_Sector] &amp;gt;} ACTUAL)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281577#M401731</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-20T04:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281578#M401732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This is because you are referencing the same two variables, which are affected by the selections in the default state.&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;BR /&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;try to calculate a another variable CMB2 = match({Cmb_Sector} BCOD,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'NU00','HL00'&lt;/SPAN&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM({&amp;lt;BCOD={'$(CMB2)'}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;,(Cmb_Sector)* $&lt;/SPAN&gt;&amp;gt;} ACTUAL)&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;BR /&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281578#M401732</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2017-01-20T04:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281579#M401733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the help of both of you. But none of the Expression is working. I simplified it as below. Still not working&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;BCOD={"NA00"},(Cmb_Sector)* $&amp;gt;}(ACTUAL))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 04:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281579#M401733</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-01-20T04:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281580#M401734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attaching herewith a sample QV document for Alternate State and kindly have a look at IT . I my pivot table there I want to show following infomation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ALL&amp;nbsp; Column&amp;nbsp; total of sales as shown there and is correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; G1 Column Sales Relating to GI Depeartments&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;G2 Column Sales Relating to G2 Depeartments&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But in Column G1 and G@ no data is shown&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Pls help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 06:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-expression/m-p/1281580#M401734</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2017-01-20T06:00:51Z</dc:date>
    </item>
  </channel>
</rss>

