<?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: Evaluating a variable on straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105868#M759748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys, but nothing is working. So in the meantime I created same variable twice, one with an = mark and the other without as I'm using them on different objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 12:35:16 GMT</pubDate>
    <dc:creator>nkosinde13</dc:creator>
    <dc:date>2018-08-28T12:35:16Z</dc:date>
    <item>
      <title>Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105859#M759739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable that I created and I'm using it on a straight table as part of an expression, but it's not returning any value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;IF(SaleType1 = 'Total SBIB Sales Penetration',$(vTotal)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How do I evaluate a variable in an if statement?&amp;nbsp; Please assist. &lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105859#M759739</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105860#M759740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can use $1 in your variable expression and then pass the value of SalesType1 -&lt;/P&gt;&lt;P&gt;For Example -&lt;/P&gt;&lt;P&gt;vTotal = Sum(Sales) then you can replace it by Sum({&amp;lt;$1&amp;gt;}Sales) or &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SaleType1 = {&lt;/STRONG&gt;$1}&amp;gt;}Sales)&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;And then the expression (If using second expression)- $(vTotal(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Total SBIB Sales Penetration'&lt;/STRONG&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105860#M759740</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-21T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105861#M759741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;IF(SaleType1 = 'Total SBIB Sales Penetration',$(vTotal)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;you missed the ) at last and check your sales type1 value it is matched or not with your existing data &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 13:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105861#M759741</guid>
      <dc:creator>manoj217</dc:creator>
      <dc:date>2018-08-21T13:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105862#M759742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neelam. Thank you but I'm not understanding the example you gave me. Are you saying I should create a variable for &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Total SBIB Sales Penetration &lt;/STRONG&gt;then call the variable in the expression? I'm being confused by &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;$1&amp;nbsp; part in your comment. Can you please elaborate further. Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105862#M759742</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2018-08-22T09:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105863#M759743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoj, It's still not working. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:04:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105863#M759743</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2018-08-22T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105864#M759744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;IF(SaleType1 = 'Total SBIB Sales Penetration',"$(=vTotal)")&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;IF(SaleType1 = 'Total SBIB Sales Penetration','$(=vTotal)')&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105864#M759744</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-08-22T09:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105865#M759745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share the variable definition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105865#M759745</guid>
      <dc:creator>manoj217</dc:creator>
      <dc:date>2018-08-22T09:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105866#M759746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this resource for parameters in set analysis -&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-5624"&gt;$-Sign Expansions in QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the $1 is like defining the parameters where you can supply the values later while using the variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 12:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105866#M759746</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-22T12:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105867#M759747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Neelam, this is really helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 12:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105867#M759747</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2018-08-28T12:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating a variable on straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105868#M759748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys, but nothing is working. So in the meantime I created same variable twice, one with an = mark and the other without as I'm using them on different objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 12:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Evaluating-a-variable-on-straight-table/m-p/105868#M759748</guid>
      <dc:creator>nkosinde13</dc:creator>
      <dc:date>2018-08-28T12:35:16Z</dc:date>
    </item>
  </channel>
</rss>

