<?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 IF Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274399#M871369</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;I have the following variables:&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/144247_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I would like to create an expression in a straight table that says something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Group=Fuel Oil then vFuelOil*(an expression I have created) or&lt;/P&gt;&lt;P&gt;If Group=Gasoline then vGasoline*(same expression as the above) or&lt;/P&gt;&lt;P&gt;If Group=MidDist then vMidDist*(same expression as the above)&lt;/P&gt;&lt;P&gt;else 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the above possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>danielnevitt</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274399#M871369</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;I have the following variables:&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/144247_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I would like to create an expression in a straight table that says something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Group=Fuel Oil then vFuelOil*(an expression I have created) or&lt;/P&gt;&lt;P&gt;If Group=Gasoline then vGasoline*(same expression as the above) or&lt;/P&gt;&lt;P&gt;If Group=MidDist then vMidDist*(same expression as the above)&lt;/P&gt;&lt;P&gt;else 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the above possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Daniel&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/IF-Statement/m-p/1274399#M871369</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274400#M871370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think we can.&amp;nbsp; but,&amp;nbsp; Can we have the expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274400#M871370</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-18T11:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274401#M871371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(Group = 'Fuel', vFuelOil * [expression],&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Group = 'Gasoline', vGasoline * [expression],&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Group = 'MidDist', vMidDist * [expression])))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274401#M871371</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-18T11:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274402#M871372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Group = 'Fuel', vFuelOil * [expression],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Group = 'Gasoline', vGasoline * [expression],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(Group = 'MidDist', vMidDist * [expression]&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;,0&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274402#M871372</guid>
      <dc:creator>varshavig12</dc:creator>
      <dc:date>2016-11-18T11:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274403#M871373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcio/Varsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you both for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 12:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274403#M871373</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2016-11-18T12:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: IF Statement</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274404#M871374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as a way for slight improvement, you can use Pick(Match()) here&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;STRONG&gt;Pick(Match(Group, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Fuel'&lt;/SPAN&gt; , 'Gasoline', 'MidDist'),&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="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vFuelOil ,&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=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;vGasoline,&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;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;vMidDist) * expression&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 12:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Statement/m-p/1274404#M871374</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-18T12:12:48Z</dc:date>
    </item>
  </channel>
</rss>

