<?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: Need help for - Conditional enabling of Expression and Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893057#M1014826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do a static error message by using conditional calculation with a custom error message. To do it dynamically, I would use conditional display of a text box and conditionally hide the text box and show the table when the user selects both a metric and a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the conditional show of the table would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =GetSelectedCount(Dimension) &amp;gt; 0 And GetSelectedCount(Expresssion) &amp;gt; 0&lt;/P&gt;&lt;P&gt;And for the text box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=GetSelectedCount(Dimension) = 0 Or GetSelectedCount(Expresssion) = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the could be dynamic like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GetSelectedCount(Dimension) = 0. 'You need to select one or more dimensions. ', '') &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GetSelectedCount(Expression) = 0. 'You need to select one or more expressions.', '') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Apr 2015 10:59:09 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2015-04-23T10:59:09Z</dc:date>
    <item>
      <title>Need help for - Conditional enabling of Expression and Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893054#M1014823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created a &lt;STRONG&gt;Conditional enabling of Expression and Dimension&lt;/STRONG&gt; in Qlikview and I made a condition like that user have to select at least&amp;nbsp; one dimension and expression. But now I want to show dynamic error message in straight table as when user does not select any dimensions, he will get an error message and if user does not select any expression, he will get another error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I want to show error message based on the user selections. So how to do in straight table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893054#M1014823</guid>
      <dc:creator>ananyaghosh</dc:creator>
      <dc:date>2015-04-23T10:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for - Conditional enabling of Expression and Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893055#M1014824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can set a calculation condition on the chart itself, which you set to ensure a dimension and expression has been selected. You can then adjust the message that is displayed by the failed condition.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="calc condition.PNG" class="jive-image image-1" src="/legacyfs/online/84447_calc condition.PNG" style="width: 620px; height: 438px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893055#M1014824</guid>
      <dc:creator />
      <dc:date>2015-04-23T10:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for - Conditional enabling of Expression and Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893056#M1014825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The condition should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=if(GetFieldSelections(FieldName)&amp;gt;0,GetFieldSelections(FieldName),'Error- Dimension not selected')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same for the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to do it in a straight table, need a small sample data.&lt;/P&gt;&lt;P&gt;Do not attach the qvw as I have personal edition of qlikview..&lt;/P&gt;&lt;P&gt;Kindly attach a small excel or mention an inline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ankita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893056#M1014825</guid>
      <dc:creator>ankitaag</dc:creator>
      <dc:date>2015-04-23T10:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for - Conditional enabling of Expression and Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893057#M1014826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do a static error message by using conditional calculation with a custom error message. To do it dynamically, I would use conditional display of a text box and conditionally hide the text box and show the table when the user selects both a metric and a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the conditional show of the table would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =GetSelectedCount(Dimension) &amp;gt; 0 And GetSelectedCount(Expresssion) &amp;gt; 0&lt;/P&gt;&lt;P&gt;And for the text box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;=GetSelectedCount(Dimension) = 0 Or GetSelectedCount(Expresssion) = 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And the could be dynamic like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GetSelectedCount(Dimension) = 0. 'You need to select one or more dimensions. ', '') &amp;amp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GetSelectedCount(Expression) = 0. 'You need to select one or more expressions.', '') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 10:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-for-Conditional-enabling-of-Expression-and-Dimension/m-p/893057#M1014826</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-23T10:59:09Z</dc:date>
    </item>
  </channel>
</rss>

