<?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: Expression conditional when x-axis has 100+ data points in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493023#M184410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the dimension I need to count is a cyclic group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&amp;nbsp; &lt;/STRONG&gt;So I got it to work by doing this =COUNT(DISTINCT(DATE(FLOOR(Opened_At),'MM-DD-YYYY'))) &amp;lt;= 100 but it causes the expression to hide when I am in the month dimension of the group because the day count is greater than 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My group is made up of this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Opened_At)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStart(Opened_At)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(FLOOR(Opened_At),'MM-DD-YYYY')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(Opened_At)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 14:28:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-20T14:28:47Z</dc:date>
    <item>
      <title>Expression conditional when x-axis has 100+ data points</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493020#M184407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking for a way to hide the expression when the x-axis has 100 or more data points.&amp;nbsp; I have a bar/line graph with two expressions.&amp;nbsp; First expression (line w/ symbol) shows the number of tickets we open per day over the last 3 fulls months with month to date and a second expression (symbol) showing events that occured on those dates.&amp;nbsp; When I am viewing the bar/line graph for every day in my criteria, the second expression showing the events creates a line between the events but if I have under 100 days selected, the expression appears correctly as a symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read somewhere that it is a known issue with expressions that are set to symbol only so I would rather just hide the expression when 100 or more data points are present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493020#M184407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T14:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditional when x-axis has 100+ data points</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493021#M184408</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;If you are using Qlikview 11 you can hide expression by using Conditional option in expression tab, in conditional textbox just use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(DISTINCT DimensionName) &amp;lt;= 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This automatically hides when datapoints&amp;nbsp; exceeds 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493021#M184408</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-06-20T14:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditional when x-axis has 100+ data points</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493022#M184409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493022#M184409</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-06-20T14:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditional when x-axis has 100+ data points</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493023#M184410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the dimension I need to count is a cyclic group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&amp;nbsp; &lt;/STRONG&gt;So I got it to work by doing this =COUNT(DISTINCT(DATE(FLOOR(Opened_At),'MM-DD-YYYY'))) &amp;lt;= 100 but it causes the expression to hide when I am in the month dimension of the group because the day count is greater than 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My group is made up of this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Opened_At)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekStart(Opened_At)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE(FLOOR(Opened_At),'MM-DD-YYYY')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hour(Opened_At)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493023#M184410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression conditional when x-axis has 100+ data points</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493024#M184411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some thought I was able to toss this conditional together and it worked.&amp;nbsp; Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT(&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DATE(FLOOR(Opened_At),'MM-DD-YYYY')&lt;/SPAN&gt;)) &amp;lt;= 100 OR NOT GetCurrentField("DateTime") = '=&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;DATE(FLOOR(Opened_At),''MM-DD-YYYY'')&lt;/SPAN&gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 14:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-conditional-when-x-axis-has-100-data-points/m-p/493024#M184411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T14:46:25Z</dc:date>
    </item>
  </channel>
</rss>

