<?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: Expression in Alternate States in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973479#M960735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still it is not working. it is displaying -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2015 09:21:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-29T09:21:21Z</dc:date>
    <item>
      <title>Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973475#M960731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a straight table, need to display five columns,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustomerID, CustomerName, Group1Sales , Group2Sales , NetSales [Group1Sales - Group2Sales].&lt;/P&gt;&lt;P&gt;Here Group1Sales &amp;amp; Group2Sales are two alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screenshot below,&lt;/P&gt;&lt;P&gt;If I include the Year &amp;amp; Month column in the Straight Table, it displays correctly if I select Year &amp;amp; Month List Boxes [ which is not part of alternate states].&lt;/P&gt;&lt;P&gt;But when I remove the Year &amp;amp; Month Columns in Straight Table, it calculates the sales for all the years &amp;amp; months for the customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selected 2015 &amp;amp; Month Jan, Feb,Mar . The first straight table shows the correct values.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;IMG class="jive-image image-1" height="398" src="https://community.qlik.com/legacyfs/online/103190_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" width="670" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Second Example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;If Year 2014 &amp;amp; All the months selected, Then still the second straight table displays the same value as before.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; mso-bidi-font-family: 'Times New Roman'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri;"&gt;&lt;IMG class="jive-image image-2" height="333" src="https://community.qlik.com/legacyfs/online/103191_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" width="557" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="mso-bidi-language: AR-SA; mso-fareast-language: EN-US; mso-bidi-font-family: 'Times New Roman'; font-size: 11pt; mso-ansi-language: EN-US; mso-fareast-theme-font: minor-latin; font-family: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri;"&gt;Expression for Group1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Dollar',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerSales]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerSales&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; )/1000,'$#,##0.00'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Case',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerCases]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerCases&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ),'#,##0.00'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Each',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerEach]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerEach&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ),'#,##0.00')&lt;BR /&gt; )))&amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;$(=(vInputAmtMore/1000))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Dollar',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerSales]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerSales&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; )/1000,'$#,##0.00'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Case',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerCases]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerCases&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ),'#,##0.00'),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;Metrics&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;='Each',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;[yes]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;[CustomerEach]&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;"&amp;gt;=$(=vInputAmtMore)"&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;CustomerEach&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; ),'#,##0.00')&lt;BR /&gt; ))),) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide / suggest me to get the correct values in Group1 Sales if Year &amp;amp; Month not included in the Straight Table also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973475#M960731</guid>
      <dc:creator />
      <dc:date>2015-10-27T15:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973476#M960732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I assume that [yes] is the name of your alternate state for Group1?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;=If(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Dollar',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerSales)/1000,'$#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Case',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Each',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerEach ),'#,##0.00')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)))&amp;gt;=$(=(vInputAmtMore/1000)),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Dollar',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerSales)/1000,'$#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Case',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Only({[yes]}&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Each',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Num(Sum({[yes]&amp;lt;[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerEach&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; ),'#,##0.00')&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;))),)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might need to update the state in your variable vInputAmtMore if it is a expression also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 15:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973476#M960732</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-27T15:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973477#M960733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah Correct. [yes] &amp;amp; [no] is the alternate states for Group1 &amp;amp; Group2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But only Year &amp;amp; Month is not part of the Alternate States. Because based on the requirement, we should not have&lt;/P&gt;&lt;P&gt;two List Boxes for Year &amp;amp; Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest me how to integrate the impacts of selection of year &amp;amp; month in the alternate states.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973477#M960733</guid>
      <dc:creator />
      <dc:date>2015-10-28T13:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973478#M960734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First I want to point out an additional comma (,) at the end of the expression. Seems like a typo, but make sure you fix that part. For the expression with selection of Year and Month selection from inherited state, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;=If(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/SPAN&gt; Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Dollar',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerSales)/1000,'$#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Case',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Each',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerEach ),'#,##0.00')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;)))&amp;gt;=$(=(vInputAmtMore/1000)),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Dollar',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerSales)/1000,'$#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Case',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;If(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Only({[yes]}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;Metrics&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt; = 'Each',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Num(Sum({[yes]&amp;lt;[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;*{1&amp;lt;Year = $::Year, Month = $::Month&amp;gt;}&lt;/STRONG&gt;&amp;gt;} CustomerEach&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt; ),'#,##0.00')&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;))),)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 13:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973478#M960734</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-28T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973479#M960735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still it is not working. it is displaying -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 09:21:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973479#M960735</guid>
      <dc:creator />
      <dc:date>2015-10-29T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973480#M960736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the screenshot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103437_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 09:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973480#M960736</guid>
      <dc:creator />
      <dc:date>2015-10-29T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973481#M960737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Small changes I have done from your end,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;=if(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;If(Metrics='Dollar',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerSales )/1000,'$#,##0.00'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;if(Metrics='Case',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;if(Metrics='Each',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerEach ),'#,##0.00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;)))&amp;gt;=$(=(vInputAmtMore/1000)),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;If(Metrics='Dollar',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerSales] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerSales )/1000,'$#,##0.00'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;if(Metrics='Case',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerCases] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerCases ),'#,##0.00'),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;if(Metrics='Each',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;num(sum({[yes]&amp;lt;Year= $::Year,Month = $::Month,[CustomerEach] = {"&amp;gt;=$(=vInputAmtMore)"}&amp;gt;} CustomerEach ),'#,##0.00')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: white;"&gt;&lt;SPAN style="color: black; font-size: 12pt; font-family: 'Helvetica','sans-serif';"&gt;))),)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 12:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973481#M960737</guid>
      <dc:creator />
      <dc:date>2015-10-30T12:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Alternate States</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973482#M960738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing this. I knew I was close, but couldn't think of the correct syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 12:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Alternate-States/m-p/973482#M960738</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-30T12:05:18Z</dc:date>
    </item>
  </channel>
</rss>

