<?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: Variable Value not Displayed in Text Box in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1606513#M63092</link>
    <description>&lt;P&gt;Ended up having to do two things to make this work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I created a new variable called $(vDateToTable) that was just =$(vDateTo)&lt;/P&gt;&lt;P&gt;2) When I inserted the variable into the text box I slapped quotes around it: '$(vDateToTable)'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 13:10:22 GMT</pubDate>
    <dc:creator>bbergstrom</dc:creator>
    <dc:date>2019-07-26T13:10:22Z</dc:date>
    <item>
      <title>Variable Value not Displayed in Text Box</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589612#M63088</link>
      <description>&lt;P&gt;In Qlik &lt;U&gt;&lt;STRONG&gt;Sense&lt;/STRONG&gt;&lt;/U&gt; I have a variable that contains the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;$(vDateTo) -&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;If(GetSelectedCount(TimeframeFilterDate)=1,&lt;BR /&gt;If(GetFieldSelections(TimeframeFilterDate)='Previous week','$(vfDatePreviousWeekStart)',&lt;BR /&gt;If(GetFieldSelections(TimeframeFilterDate)='Previous month','$(vfDatePreviousMonthStart)',&lt;BR /&gt;If(GetFieldSelections(TimeframeFilterDate)='Previous 90 days','$(vfDatePrevious90DaysStart)',&lt;BR /&gt;If(GetFieldSelections(TimeframeFilterDate)='Previous 6 months','$(vfDatePrevious6MonthStart)',&lt;BR /&gt;If(GetFieldSelections(TimeframeFilterDate)='Previous 12 months','$(vfDatePrevious12MonthStart)'))))),&lt;BR /&gt;If('$(vFilterCheck)'='None',Date(Today()-32),Date(Min(DD_Date))))&lt;/P&gt;&lt;P&gt;If I put the above directly into a text box it works correctly.&amp;nbsp; If I create a variable with the above and only include the variable in a text box it still works correctly.&amp;nbsp; When I try to include it in an IF statement in the text box then it stops working:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;If(GetSelectedCount(TimeframeFilterDate)=0,$(vDateTo))&lt;/P&gt;&lt;P&gt;The above returns a blank text box.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 22:06:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589612#M63088</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2021-12-21T22:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Value not Displayed in Text Box</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589696#M63089</link>
      <description>&lt;P&gt;It looks like your If statement contradicts your variable, which only works when 1 selection of TimeframeFilterDate has been made.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 18:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589696#M63089</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2019-06-07T18:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Value not Displayed in Text Box</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589700#M63090</link>
      <description>change if condition to&lt;BR /&gt;f(GetSelectedCount(TimeframeFilterDate)=1,$(vDateTo))</description>
      <pubDate>Fri, 07 Jun 2019 18:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589700#M63090</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-06-07T18:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Value not Displayed in Text Box</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589719#M63091</link>
      <description>&lt;P&gt;why u have count "0'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If(GetSelectedCount(TimeframeFilterDate)=0,(=vDateTo))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;try this&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 00:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1589719#M63091</guid>
      <dc:creator>Channa</dc:creator>
      <dc:date>2019-06-08T00:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Variable Value not Displayed in Text Box</title>
      <link>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1606513#M63092</link>
      <description>&lt;P&gt;Ended up having to do two things to make this work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I created a new variable called $(vDateToTable) that was just =$(vDateTo)&lt;/P&gt;&lt;P&gt;2) When I inserted the variable into the text box I slapped quotes around it: '$(vDateToTable)'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 13:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variable-Value-not-Displayed-in-Text-Box/m-p/1606513#M63092</guid>
      <dc:creator>bbergstrom</dc:creator>
      <dc:date>2019-07-26T13:10:22Z</dc:date>
    </item>
  </channel>
</rss>

