<?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 Bar Chart by Dimension with Max Date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591189#M63100</link>
    <description>&lt;P&gt;I have a data set consisting of Jobs and Statuses with updated datetime joined as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq1.PNG" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13644i59367C488ED63664/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture_qq1.PNG" alt="Capture_qq1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq5.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13646i6B0092B58E8248B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_qq5.PNG" alt="Capture_qq5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to create a bar chart that shows the count of jobs with their latest status TAG based on TransactionTime within the selected date period (max of FullDate). The count should be 14, but if I add the TAG the count is over 14 due to the one-to-many relationship.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq3.PNG" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13647i7FF3090A4CE296A1/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture_qq3.PNG" alt="Capture_qq3.PNG" /&gt;&lt;/span&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13645i5685AC0A29B71FD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_qq2.PNG" alt="Capture_qq2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The proper chart should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq4.PNG" style="width: 489px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13649i0EAD35377611EBB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture_qq4.PNG" alt="Capture_qq4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My count formula is:&lt;/P&gt;&lt;P&gt;Count(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;[tMasterCalendar.FullDate] = {'$(=Max([tMasterCalendar.FullDate]))'},&amp;nbsp;&lt;/P&gt;&lt;P&gt;[TRANSACTIONTIME] = {"&amp;lt;$(=Max([tMasterCalendar.FullDate]))"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;[JOBID]&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;How do I get it to show the latest TAG only?&amp;nbsp;Should I add a set that makes TransactionTime = aggregated max of TransactionTime per JobID? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 07:57:57 GMT</pubDate>
    <dc:creator>ferrerosmoothie</dc:creator>
    <dc:date>2021-04-02T07:57:57Z</dc:date>
    <item>
      <title>Bar Chart by Dimension with Max Date</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591189#M63100</link>
      <description>&lt;P&gt;I have a data set consisting of Jobs and Statuses with updated datetime joined as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq1.PNG" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13644i59367C488ED63664/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture_qq1.PNG" alt="Capture_qq1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq5.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13646i6B0092B58E8248B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_qq5.PNG" alt="Capture_qq5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My goal is to create a bar chart that shows the count of jobs with their latest status TAG based on TransactionTime within the selected date period (max of FullDate). The count should be 14, but if I add the TAG the count is over 14 due to the one-to-many relationship.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq3.PNG" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13647i7FF3090A4CE296A1/image-size/small?v=v2&amp;amp;px=200" role="button" title="Capture_qq3.PNG" alt="Capture_qq3.PNG" /&gt;&lt;/span&gt;&amp;nbsp; &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq2.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13645i5685AC0A29B71FD2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture_qq2.PNG" alt="Capture_qq2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The proper chart should look like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture_qq4.PNG" style="width: 489px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13649i0EAD35377611EBB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture_qq4.PNG" alt="Capture_qq4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My count formula is:&lt;/P&gt;&lt;P&gt;Count(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;[tMasterCalendar.FullDate] = {'$(=Max([tMasterCalendar.FullDate]))'},&amp;nbsp;&lt;/P&gt;&lt;P&gt;[TRANSACTIONTIME] = {"&amp;lt;$(=Max([tMasterCalendar.FullDate]))"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;[JOBID]&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;How do I get it to show the latest TAG only?&amp;nbsp;Should I add a set that makes TransactionTime = aggregated max of TransactionTime per JobID? Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591189#M63100</guid>
      <dc:creator>ferrerosmoothie</dc:creator>
      <dc:date>2021-04-02T07:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart by Dimension with Max Date</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591192#M63101</link>
      <description>Why do you need [tMasterCalendar.FullDate] = {'$(=Max([tMasterCalendar.FullDate]))'},&lt;BR /&gt;how is fulldate field linked to table you are trying to count?&lt;BR /&gt;&lt;BR /&gt;Share a sample data if you can which gives an approximation of you data and data model</description>
      <pubDate>Wed, 12 Jun 2019 17:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591192#M63101</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-06-12T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart by Dimension with Max Date</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591206#M63102</link>
      <description>&lt;P&gt;Sample data is attached.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Fulldate&lt;/EM&gt; field in Calendar is linked to Job table via a DateBridge table with&amp;nbsp;&lt;EM&gt;Job ID&lt;/EM&gt; and &lt;EM&gt;pending date&lt;/EM&gt;. In this report, I filter down to one period (3/1 - 3/14), and I only want to count number of Jobs that are still pending by period end. So the =Max(FullDate) works.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture_qq6.PNG" style="width: 553px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/13652iF771B59C1E85E49A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture_qq6.PNG" alt="Capture_qq6.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The challenge is to also restrict the status to be the latest transaction time that is smaller than the max period date.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591206#M63102</guid>
      <dc:creator>ferrerosmoothie</dc:creator>
      <dc:date>2019-06-12T17:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart by Dimension with Max Date</title>
      <link>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591208#M63103</link>
      <description>try this&lt;BR /&gt;Count(&lt;BR /&gt;{&amp;lt;&lt;BR /&gt;[tMasterCalendar.FullDate] = ,&lt;BR /&gt;[TRANSACTIONTIME] = {"&amp;lt;$(=Max([tMasterCalendar.FullDate]))"}&lt;BR /&gt;&amp;gt;}&lt;BR /&gt;[JOBID]&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Bar-Chart-by-Dimension-with-Max-Date/m-p/1591208#M63103</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-06-12T17:54:57Z</dc:date>
    </item>
  </channel>
</rss>

