<?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: IF with multiple variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11091#M607933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are missing one bracket at the end for IF.&lt;/P&gt;&lt;P&gt;Even if it doesn't work, you may see values of your variables in separate text/image object to see if all is well with the variable values.&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>Mon, 12 Mar 2018 20:02:25 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2018-03-12T20:02:25Z</dc:date>
    <item>
      <title>IF with multiple variables</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11090#M607932</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;I have a below scenario where I am using multiple variables , am getting error like "expression is not correct"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #575757; text-decoration: underline;"&gt;Below are variables logic.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vBridge=&lt;/SPAN&gt;[Actuals/planning scenario Code]={'B'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vDisplayPrevisousTime=&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;prior_period_date-----------This is direct column&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vDisplayTime=&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;current_period_date-----------&lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;This is direct column&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: Arial, sans-serif; font-size: 13.3333px;"&gt;vDimensionalityForInternalTransfer=&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;IF(GetSelectedCount([Business Lvl 3 (Org Chart) Desc])=0,2,1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Main expression&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial, sans-serif; font-size: 10pt;"&gt;=IF(Dimensionality()&amp;gt;=$(vDimensionalityForInternalTransfer), &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;(Sum({$&amp;lt;$(vBridge), [Month End Indicator] = {'Y'} , [Report Date]={"&amp;gt;=$(=MonthEnd(AddMonths($(vDisplayPrevisousTime),1))) &amp;lt;=$(=MonthEnd($(vDisplayTime)))"}&amp;gt;}[Bridge External New Hire Labor Cost]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Please somebody have a look and let me know where exactly the error is, is this in logic or something I need to redesign.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Thanks &amp;amp; Reagrds&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2.0pt; margin-bottom: 2.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial',sans-serif;"&gt;Savita&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 10:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11090#M607932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-12T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: IF with multiple variables</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11091#M607933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are missing one bracket at the end for IF.&lt;/P&gt;&lt;P&gt;Even if it doesn't work, you may see values of your variables in separate text/image object to see if all is well with the variable values.&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>Mon, 12 Mar 2018 20:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11091#M607933</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-03-12T20:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: IF with multiple variables</title>
      <link>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11092#M607934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DigVijay, Thank you for your response.&lt;/P&gt;&lt;P&gt;Am new to Qlikview, and I tried your solution but it didnt work. The brackets are fine.&lt;/P&gt;&lt;P&gt;The expression is too complex I don know where its breaking.&lt;/P&gt;&lt;P&gt;Can you please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks &lt;/P&gt;&lt;P&gt;Savita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 05:47:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-with-multiple-variables/m-p/11092#M607934</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-16T05:47:07Z</dc:date>
    </item>
  </channel>
</rss>

