<?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 if selected field then do expression1 else expression2 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120607#M18490</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 dashboard and filter with list of different analysis periods. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Analysis periods linked with list of expressions, which are using at dashboard like dynamic measure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I need expression which will show default expression if filter value don't selected, or expression which linked with filter value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Qlik Sense Desktop 2018-07-24 12.58.01.png" class="jive-image image-1" height="259" src="/legacyfs/online/208659_Qlik Sense Desktop 2018-07-24 12.58.01.png" style="height: 258.653px; width: 531px;" width="532" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Qlik Sense Desktop 2018-07-24 13.00.18.png" class="jive-image image-2" src="/legacyfs/online/208660_Qlik Sense Desktop 2018-07-24 13.00.18.png" style="height: 312px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I try with&amp;nbsp; but without success&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=if(GetSelectedCount(description)&amp;gt;0,$($(=PassengerAdultExprFieldCurrent)),$(ePassengerAdultExprFieldMTD))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks for you comments and advices!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2018 10:19:18 GMT</pubDate>
    <dc:creator>vadim_grab</dc:creator>
    <dc:date>2018-07-24T10:19:18Z</dc:date>
    <item>
      <title>if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120607#M18490</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 dashboard and filter with list of different analysis periods. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Analysis periods linked with list of expressions, which are using at dashboard like dynamic measure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I need expression which will show default expression if filter value don't selected, or expression which linked with filter value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Qlik Sense Desktop 2018-07-24 12.58.01.png" class="jive-image image-1" height="259" src="/legacyfs/online/208659_Qlik Sense Desktop 2018-07-24 12.58.01.png" style="height: 258.653px; width: 531px;" width="532" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="Qlik Sense Desktop 2018-07-24 13.00.18.png" class="jive-image image-2" src="/legacyfs/online/208660_Qlik Sense Desktop 2018-07-24 13.00.18.png" style="height: 312px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I try with&amp;nbsp; but without success&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=if(GetSelectedCount(description)&amp;gt;0,$($(=PassengerAdultExprFieldCurrent)),$(ePassengerAdultExprFieldMTD))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Many thanks for you comments and advices!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 10:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120607#M18490</guid>
      <dc:creator>vadim_grab</dc:creator>
      <dc:date>2018-07-24T10:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120608#M18491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So somehow your second expression (variable expansion) is not working. Could you try putting it separately and see if it is independently working or not? Then, you can start troubleshooting may be the variable declaration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 10:42:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120608#M18491</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-07-24T10:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120609#M18492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Tresesco B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They work excellent in other places, but do not in If statment dashboard...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vadim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 12:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120609#M18492</guid>
      <dc:creator>vadim_grab</dc:creator>
      <dc:date>2018-07-24T12:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120610#M18493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;true logic to use GetSelectedCount()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 12:39:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120610#M18493</guid>
      <dc:creator>vadim_grab</dc:creator>
      <dc:date>2018-07-24T12:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120611#M18494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe very interesting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression don't work:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(GetSelectedCount(description)&amp;gt;0,$($(=PassengerAdultExprFieldCurrent)),$(ePassengerAdultExprFieldMTD))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Expression work correct:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if(GetSelectedCount(description)=0,$(ePassengerAdultExprFieldMTD), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$($(=PassengerAdultExprFieldCurrent))&lt;/SPAN&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Logic is the same, the result is the opposite&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Is it bug? Why first expr don't work? second - working correct?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 10:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120611#M18494</guid>
      <dc:creator>vadim_grab</dc:creator>
      <dc:date>2018-07-25T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: if selected field then do expression1 else expression2</title>
      <link>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120612#M18495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I came across some posts saying - in QlikSense field selection functions had issues or did not work at certain areas (like, calculated dimension) in some earlier versions. Not sure, if this is something similar or not. I suggest you contact qlik support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 05:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/if-selected-field-then-do-expression1-else-expression2/m-p/120612#M18495</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-07-26T05:23:30Z</dc:date>
    </item>
  </channel>
</rss>

