<?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 How to put if statement dimension in drop down variable input box in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-put-if-statement-dimension-in-drop-down-variable-input/m-p/1996535#M82531</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;How can I put an if statement (dimension that is not defined in the load editor, but made by an if statement in the sheet) in a drop down input variable?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I put the if statement in the 'value' field, it does not work.&lt;/P&gt;
&lt;P&gt;The if statement is depending on the selected year: if the selected year in the filter is this year (2022), then "negotiation status year", otherwise&amp;nbsp;[Negotiation Status Next Year]:&lt;/P&gt;
&lt;P&gt;If($(=getfieldselections(Year))=Year,&lt;BR /&gt;[Negotiation Status Year],&lt;BR /&gt;[Negotiation Status Next Year])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put that if statement in the drop list, but I get '-':&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Femke_DPG_0-1666694167834.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92087i5040E389ABCC638B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Femke_DPG_0-1666694167834.png" alt="Femke_DPG_0-1666694167834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 10:37:28 GMT</pubDate>
    <dc:creator>Femke_DPG</dc:creator>
    <dc:date>2022-10-25T10:37:28Z</dc:date>
    <item>
      <title>How to put if statement dimension in drop down variable input box</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-put-if-statement-dimension-in-drop-down-variable-input/m-p/1996535#M82531</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;How can I put an if statement (dimension that is not defined in the load editor, but made by an if statement in the sheet) in a drop down input variable?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I put the if statement in the 'value' field, it does not work.&lt;/P&gt;
&lt;P&gt;The if statement is depending on the selected year: if the selected year in the filter is this year (2022), then "negotiation status year", otherwise&amp;nbsp;[Negotiation Status Next Year]:&lt;/P&gt;
&lt;P&gt;If($(=getfieldselections(Year))=Year,&lt;BR /&gt;[Negotiation Status Year],&lt;BR /&gt;[Negotiation Status Next Year])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I put that if statement in the drop list, but I get '-':&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Femke_DPG_0-1666694167834.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92087i5040E389ABCC638B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Femke_DPG_0-1666694167834.png" alt="Femke_DPG_0-1666694167834.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 10:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-put-if-statement-dimension-in-drop-down-variable-input/m-p/1996535#M82531</guid>
      <dc:creator>Femke_DPG</dc:creator>
      <dc:date>2022-10-25T10:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to put if statement dimension in drop down variable input box</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-put-if-statement-dimension-in-drop-down-variable-input/m-p/1996536#M82532</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/155326"&gt;@Femke_DPG&lt;/a&gt;&amp;nbsp; Could you please post sample data and also expected output?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 10:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-put-if-statement-dimension-in-drop-down-variable-input/m-p/1996536#M82532</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-10-25T10:34:44Z</dc:date>
    </item>
  </channel>
</rss>

