<?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: How to find Min and Max Values by Group in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694954#M725488</link>
    <description>&lt;P&gt;you could add it to data model but it may reduce flexibility.&lt;/P&gt;&lt;P&gt;i would say do it chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;unless there is a special scenario you need&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 15:27:41 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2020-04-20T15:27:41Z</dc:date>
    <item>
      <title>How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694927#M725485</link>
      <description>&lt;P&gt;I would like to find the Min and Max value of a column based on the grouping it belongs to.&amp;nbsp; Grouping is designated by a combination of the values in two columns.&lt;/P&gt;&lt;P&gt;The data looks like this:&lt;/P&gt;&lt;P&gt;Category &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sub Category &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Days&lt;/P&gt;&lt;P&gt;A &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; 1 &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;A &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; 1 &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; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A &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; 1 &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; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&lt;/P&gt;&lt;P&gt;So for Category A,1 the Min is 10 and the Max is 30&lt;/P&gt;&lt;P&gt;I attached a data sample for you.&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance :0)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694927#M725485</guid>
      <dc:creator>leale1997</dc:creator>
      <dc:date>2024-11-16T00:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694944#M725486</link>
      <description>&lt;P&gt;explain what you are trying to achive in more detail. because context matters.&lt;/P&gt;&lt;P&gt;e.g. if you are doing on a chart its simple as adding category and sub category as dimension and give measures min and max&lt;/P&gt;&lt;P&gt;if you want it in someway in the data model you will need to resident load and group by&amp;nbsp;category and sub category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694944#M725486</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-20T15:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694950#M725487</link>
      <description>&lt;P&gt;Good question.&amp;nbsp; As I give it more thought I actually have three groupings or columns to group by.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Category &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sub Category1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sub Category2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Days&lt;/P&gt;&lt;P&gt;A &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; 1&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;a&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;A &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; 1&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;A &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; 1&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; b&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 30&lt;/P&gt;&lt;P&gt;A&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; &amp;nbsp; 1&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; a&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;My initial thoughts were to incorporate a chart or straight table that might look something like this:&lt;/P&gt;&lt;P&gt;Product&amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp;Range&lt;/P&gt;&lt;P&gt;A,1,a&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp;5 - 10&lt;/P&gt;&lt;P&gt;A,1,b&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; 20 - 30&lt;/P&gt;&lt;P&gt;This would require the 'grouping' with Min&amp;amp;Max to only be in the chart or graph.&lt;/P&gt;&lt;P&gt;Now that you have me thinking about it more.&amp;nbsp; It might be easier to include the grouping in the data model?&amp;nbsp; It might also allow me more flexibility with buttons for drill downs and other analytics.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I add it to the data model?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694950#M725487</guid>
      <dc:creator>leale1997</dc:creator>
      <dc:date>2020-04-20T15:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694954#M725488</link>
      <description>&lt;P&gt;you could add it to data model but it may reduce flexibility.&lt;/P&gt;&lt;P&gt;i would say do it chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;unless there is a special scenario you need&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:27:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694954#M725488</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-20T15:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694959#M725489</link>
      <description>&lt;P&gt;ok.&amp;nbsp; So how would I include the grouping with Min and Max values in a chart?&amp;nbsp; I attached a better data set for you that has he second category added in.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note that what am initially trying to do is just group them in a table.&amp;nbsp; With 'Brand' and 'TA' being rows and Market being columns. Might actually be easier in a pivot table.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694959#M725489</guid>
      <dc:creator>leale1997</dc:creator>
      <dc:date>2020-04-20T15:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find Min and Max Values by Group</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694961#M725490</link>
      <description>&lt;P&gt;like i mentioned in the initial reply. when you give aggregations in a measure (sum, min, max avg ) it is automatically grouped according to the dimensions given.&lt;/P&gt;&lt;P&gt;so in you case you give Brand, TA, Market as dimensions. a measure like Min(Days) will give you minimum grouped by those dimension values. similary max(Days) will give you maximum groups by those dimensions&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 15:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-Min-and-Max-Values-by-Group/m-p/1694961#M725490</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-04-20T15:45:05Z</dc:date>
    </item>
  </channel>
</rss>

