<?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 Using Set Analysis to Filter a Histogram by Date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450528#M97935</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to create a histogram from my data that selects for only the current date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I have this as my "Field":&lt;/P&gt;
&lt;P&gt;={&amp;lt;[DATE_FIELD] = {"$(=Date(Today(), 'M/D/YYYY'))"}&amp;gt;} [VALUE_FIELD]&lt;/P&gt;
&lt;P&gt;But this isn't filtering out the other dates. Is there another approach I should be taking?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 20:53:13 GMT</pubDate>
    <dc:creator>lankmachine</dc:creator>
    <dc:date>2024-05-08T20:53:13Z</dc:date>
    <item>
      <title>Using Set Analysis to Filter a Histogram by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450528#M97935</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to create a histogram from my data that selects for only the current date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, I have this as my "Field":&lt;/P&gt;
&lt;P&gt;={&amp;lt;[DATE_FIELD] = {"$(=Date(Today(), 'M/D/YYYY'))"}&amp;gt;} [VALUE_FIELD]&lt;/P&gt;
&lt;P&gt;But this isn't filtering out the other dates. Is there another approach I should be taking?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 20:53:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450528#M97935</guid>
      <dc:creator>lankmachine</dc:creator>
      <dc:date>2024-05-08T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis to Filter a Histogram by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450663#M97948</link>
      <description>&lt;P&gt;You must use an aggregation function somewhere. Otherwise the set analysis won't work.&lt;/P&gt;
&lt;P&gt;For example, you can use this as measure:&lt;BR /&gt;={&amp;lt;DATE = {"$(=Date(Today(), 'M/D/YYYY'))"}&amp;gt;} Sum(VALUE)&lt;/P&gt;
&lt;P&gt;And you can use this as dimension:&lt;/P&gt;
&lt;P&gt;=Aggr({&amp;lt;DATE = {"$(=Date(Today(), 'M/D/YYYY'))"}&amp;gt;} Only(DATE),DATE)&lt;/P&gt;
&lt;P&gt;Further, if you have the correct DateFormat in the script, e.g.&lt;BR /&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;
&lt;P&gt;then you don't need the formatting function in your set expression. Today() returns the correct format, so you can use&lt;BR /&gt;={&amp;lt;DATE = {"$(=Today())"}&amp;gt;} Sum(VALUE)&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 08:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450663#M97948</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2024-05-09T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis to Filter a Histogram by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450882#M97972</link>
      <description>&lt;P&gt;For the histogram, I'm not seeing any dimensions or measures that I can change. There are only fields, which I can add several to.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 16:44:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2450882#M97972</guid>
      <dc:creator>lankmachine</dc:creator>
      <dc:date>2024-05-09T16:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using Set Analysis to Filter a Histogram by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2491391#M102082</link>
      <description>&lt;P&gt;Hi HIC,&lt;/P&gt;
&lt;P&gt;Acc to Qlik Help: "There are some limitations to the dimension used in a histogram.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The dimension must be a numerical field.&lt;/LI&gt;
&lt;LI&gt;You cannot use a master dimension that was created using the expression editor, even if the resulting field is numeric.&lt;/LI&gt;
&lt;LI&gt;The dimension cannot be based on an aggregation function."&lt;BR /&gt;&lt;BR /&gt;My Calc Dim is:&amp;nbsp;=Num(Aggr(Only({&amp;lt;XY_FLAG={'Y'}&amp;gt;}SCORE),SCORE))&amp;nbsp;&lt;BR /&gt;It does not work. SCORE is Numeric Intiger field.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 07 Nov 2024 12:56:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Using-Set-Analysis-to-Filter-a-Histogram-by-Date/m-p/2491391#M102082</guid>
      <dc:creator>kavicsgym</dc:creator>
      <dc:date>2024-11-07T12:56:23Z</dc:date>
    </item>
  </channel>
</rss>

