<?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: GetFieldSelections question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530921#M38217</link>
    <description>Have you selected the field from the field list? Is it possible that you have made a mistake typing in the field name?&lt;BR /&gt;&lt;BR /&gt;Why don't you try duplicating the app, deleting all of the tables other than the one containing the Year field and see what happens? If still not working, then post the reduced app, removing any sensitive data.</description>
    <pubDate>Wed, 16 Jan 2019 11:47:51 GMT</pubDate>
    <dc:creator>rbartley</dc:creator>
    <dc:date>2019-01-16T11:47:51Z</dc:date>
    <item>
      <title>GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530848#M38206</link>
      <description>&lt;P&gt;Hello everyone, I hope you can help me.&amp;nbsp;&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.qlik.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I created a filter using this field:&lt;/P&gt;&lt;P&gt;=[VE.Order Date.autoCalendar.Year]&lt;/P&gt;&lt;P&gt;in the "Budget" measure I inserted this expression:&lt;/P&gt;&lt;P&gt;if(GetFieldSelections([VE.Order Date.autoCalendar.Year])='2016', 1000, 1160)&lt;/P&gt;&lt;P&gt;so if I select 2016 I would like to see the value of 1000 under the Budget label, but this does not happen.&lt;/P&gt;&lt;P&gt;Where am I doing wrong?&lt;/P&gt;&lt;P&gt;I attach an image for greater clarity&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sells.png" style="width: 590px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3832i83CF1939C3FF77D0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Sells.png" alt="Sells.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530848#M38206</guid>
      <dc:creator>valnod_90</dc:creator>
      <dc:date>2024-11-16T06:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530865#M38207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is Year stored as a string or a number?&amp;nbsp;&amp;nbsp;Have you tried the following without the apostrophes (single quotes)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;if(GetFieldSelections([VE.Order Date.autoCalendar.Year])=2016, 1000, 1160)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 10:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530865#M38207</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-16T10:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530870#M38208</link>
      <description>Hi, i've tried but it doesn't work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2019 10:59:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530870#M38208</guid>
      <dc:creator>valnod_90</dc:creator>
      <dc:date>2019-01-16T10:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530878#M38210</link>
      <description>&lt;P&gt;I've just created a new app and added manual data with just one field (Year) and three values 2015,2016 and 2017.&amp;nbsp; I then added a filterpanel containing Year as dimension and a KPI with the definition:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(GetFieldSelections([VE.Order Date.autoCalendar.Year])='2016', 1000, 1160)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This works fine whether I use single quotes or omit the quotes.&amp;nbsp; Could you please post your app?&amp;nbsp; In the meantime, is the year field you are using linked with any other data table?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 11:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530878#M38210</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-16T11:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530902#M38213</link>
      <description>select 2016 and check what is the value for GetFieldSelections([VE.Order Date.autoCalendar.Year]) to find where the issue is .&lt;BR /&gt;&lt;BR /&gt;The above solution provided should work anyway.</description>
      <pubDate>Wed, 16 Jan 2019 11:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530902#M38213</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-01-16T11:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530912#M38214</link>
      <description>&lt;P&gt;I can not post the app, but I can say that the sales table is linked to others but not using the year field.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 11:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530912#M38214</guid>
      <dc:creator>valnod_90</dc:creator>
      <dc:date>2019-01-16T11:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530915#M38215</link>
      <description>&lt;P&gt;Ok, as per the suggestion above.&amp;nbsp; Create a text box or add a column to an existing table with the definition&amp;nbsp;&lt;SPAN&gt;GetFieldSelections([VE.Order Date.autoCalendar.Year])&amp;nbsp;, select Year 2016 and see what&amp;nbsp;the result of this&amp;nbsp;expression is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 11:36:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530915#M38215</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-16T11:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530918#M38216</link>
      <description>I created the text box as shown but it does not work, nothing appears by selecting the year.</description>
      <pubDate>Wed, 16 Jan 2019 11:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530918#M38216</guid>
      <dc:creator>valnod_90</dc:creator>
      <dc:date>2019-01-16T11:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530921#M38217</link>
      <description>Have you selected the field from the field list? Is it possible that you have made a mistake typing in the field name?&lt;BR /&gt;&lt;BR /&gt;Why don't you try duplicating the app, deleting all of the tables other than the one containing the Year field and see what happens? If still not working, then post the reduced app, removing any sensitive data.</description>
      <pubDate>Wed, 16 Jan 2019 11:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1530921#M38217</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-16T11:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: GetFieldSelections question</title>
      <link>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1531134#M38235</link>
      <description>&lt;P&gt;I've done it!&lt;BR /&gt;I created a calculated column in the table&lt;BR /&gt;OrderYear = year (OrderDate)&lt;BR /&gt;and in this way it worked, I do not know what problems it had with the other mode.&lt;/P&gt;&lt;P&gt;Thank you all for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/GetFieldSelections-question/m-p/1531134#M38235</guid>
      <dc:creator>valnod_90</dc:creator>
      <dc:date>2019-01-16T15:36:32Z</dc:date>
    </item>
  </channel>
</rss>

