<?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 Variable not working in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-not-working/m-p/12128#M859</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 (vLastInsDtWeek) with this expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(weekday(max(OrdItemInsDt))='sex',max({&amp;lt;OrdItemInsDt={*},OrdItemInsDtYear={'$(=vCurrentInsDtYear)'}&amp;gt;}OrdItemInsDtWeek), max({&amp;lt;OrdItemInsDt={*},OrdItemInsDtYear={'$(=vCurrentInsDtYear)'}&amp;gt;}OrdItemInsDtWeek)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression works fine alone, in a text and image box and when I insert it "directely" in another expression. But, in this other expression, when I try ti use the variable name, OrdItemInsDtWeek={'$(=vLastInsDtWeek)'}, it doesn't work! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what I might be doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 11:28:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-29T11:28:04Z</dc:date>
    <item>
      <title>Variable not working</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-not-working/m-p/12128#M859</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 (vLastInsDtWeek) with this expression: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(weekday(max(OrdItemInsDt))='sex',max({&amp;lt;OrdItemInsDt={*},OrdItemInsDtYear={'$(=vCurrentInsDtYear)'}&amp;gt;}OrdItemInsDtWeek), max({&amp;lt;OrdItemInsDt={*},OrdItemInsDtYear={'$(=vCurrentInsDtYear)'}&amp;gt;}OrdItemInsDtWeek)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression works fine alone, in a text and image box and when I insert it "directely" in another expression. But, in this other expression, when I try ti use the variable name, OrdItemInsDtWeek={'$(=vLastInsDtWeek)'}, it doesn't work! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what I might be doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 11:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-not-working/m-p/12128#M859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-29T11:28:04Z</dc:date>
    </item>
  </channel>
</rss>

