<?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: expr correct me ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760707#M1039048</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to hide the chart where more than one product is selected, stick it in the layout tab as a conditional show and put the GetSelectedCount &amp;lt;&amp;gt; 1 part in there - you'll also then want a textbox that appears if the inverse is true (so if GetSelected &amp;gt; 1) that tells the user to select only one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll then want the other part in your expression, assuming it's a straight table that will allow text to be shown, you'd want your expression to be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(vSum)=0 or $(vavg)=0 or $(vexp)=0, 'no data for this ', sum(...))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that it'll show 'No Data' if any of those = 0, but if it has values for them, show whatever you're wanting to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, put it all in a conditional show on the layout tab, and have either one or multiple textboxes appear if any conditions are true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jan 2015 11:01:23 GMT</pubDate>
    <dc:creator>morganaaron</dc:creator>
    <dc:date>2015-01-09T11:01:23Z</dc:date>
    <item>
      <title>expr correct me ?</title>
      <link>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760704#M1039045</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;&lt;/P&gt;&lt;P&gt;=if(GetSelectedCount(product)&amp;gt;1,'select only one value',if($(vSum)=0,'no data for this ' or if($(vavg)=0,'no data for this 'or if($(vexp)=0,'no data for this '))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if product count is greater than one&amp;nbsp; then need to show&amp;nbsp; 'select only one value'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if product count is equal or &amp;lt;1&amp;nbsp;&amp;nbsp; then it has check any above variables having&amp;nbsp; value '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it have then display&amp;nbsp;&amp;nbsp; 'no data to display'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here&amp;nbsp;&amp;nbsp; vsum is sum(sales) ,&amp;nbsp; vavg=avg(sales)&amp;nbsp;&amp;nbsp; vexpo is expensive of sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls give this if condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 10:38:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760704#M1039045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-09T10:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: expr correct me ?</title>
      <link>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760705#M1039046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(GetSelectedCount(product)&amp;gt;1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'select only one value',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($(vSum)=0 or $(vavg)=0 or $(vexp)=0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'no data for this ',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought worth mentioning, if one of your variables isn't zero, you currently aren't showing anything..!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 10:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760705#M1039046</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-01-09T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: expr correct me ?</title>
      <link>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760706#M1039047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if selected count 1 means i have to see the chart&lt;/P&gt;&lt;P&gt;in that selection field if no data means then i have too see 'nodata for this '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my variables wont be 0 always&amp;nbsp; but it has to check evry selection and if its not zero then i have too see data on chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if its 0&amp;nbsp; then i have see mess no data to display&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 10:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760706#M1039047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-09T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: expr correct me ?</title>
      <link>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760707#M1039048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to hide the chart where more than one product is selected, stick it in the layout tab as a conditional show and put the GetSelectedCount &amp;lt;&amp;gt; 1 part in there - you'll also then want a textbox that appears if the inverse is true (so if GetSelected &amp;gt; 1) that tells the user to select only one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll then want the other part in your expression, assuming it's a straight table that will allow text to be shown, you'd want your expression to be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if($(vSum)=0 or $(vavg)=0 or $(vexp)=0, 'no data for this ', sum(...))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that it'll show 'No Data' if any of those = 0, but if it has values for them, show whatever you're wanting to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, put it all in a conditional show on the layout tab, and have either one or multiple textboxes appear if any conditions are true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 11:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expr-correct-me/m-p/760707#M1039048</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-01-09T11:01:23Z</dc:date>
    </item>
  </channel>
</rss>

