<?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 Find All Values for Group Where Column Value Matches Column Value of Parameter Minimum in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Find-All-Values-for-Group-Where-Column-Value-Matches-Column/m-p/1922723#M75958</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I just started using Qlik Sense (second day - building off of another person's work), and I'm looking for help writing an expression to solve the following problem.&lt;/P&gt;
&lt;P&gt;So let's say I've collected the following data on sales figures by product at multiple locations for a few months now:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Full dataset" style="width: 328px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77943i2BDF009E930962E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion1.PNG" alt="Full dataset" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Full dataset&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My goal is to find the month with the lowest total sales figures for each location, along with the sales figures for each product that correspond to that month. I'm hoping to determine which product we were focusing on when we had lower sales, so we can pivot to targeting sales of a different product.&lt;/P&gt;
&lt;P&gt;This is my desired result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired result" style="width: 328px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77945i209CD8BD01149FF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion3.PNG" alt="Desired result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently, I've created a table object in my sheet, where I'm running the following expression under the "Measures" section in an attempt to get that table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Min({1&amp;lt;Year = {"2022"}&amp;gt;} Sales)&lt;/LI-CODE&gt;
&lt;P&gt;I've chosen "Location" as my row dimension, and "Product" as my column dimension. However, while I get the right rows/columns, I get the wrong values:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Current result" style="width: 327px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77944iED5DA760DF331F5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion2.PNG" alt="Current result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Current result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, it's pulling the minimum value observed for each column, so the product values don't add up to the total value. What I want it to do is find the month with the lowest total, then pull the amounts for the other products at that location for that same month.&lt;/P&gt;
&lt;P&gt;Please let me know how I can solve this problem! I know there are "Aggr" and "Match" functions in Qlik, but I've never worked with them before, and don't know if they apply to the problem at hand. Thank you in advance for the help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 12:23:27 GMT</pubDate>
    <dc:creator>bretg</dc:creator>
    <dc:date>2022-04-26T12:23:27Z</dc:date>
    <item>
      <title>Find All Values for Group Where Column Value Matches Column Value of Parameter Minimum</title>
      <link>https://community.qlik.com/t5/App-Development/Find-All-Values-for-Group-Where-Column-Value-Matches-Column/m-p/1922723#M75958</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I just started using Qlik Sense (second day - building off of another person's work), and I'm looking for help writing an expression to solve the following problem.&lt;/P&gt;
&lt;P&gt;So let's say I've collected the following data on sales figures by product at multiple locations for a few months now:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Full dataset" style="width: 328px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77943i2BDF009E930962E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion1.PNG" alt="Full dataset" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Full dataset&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My goal is to find the month with the lowest total sales figures for each location, along with the sales figures for each product that correspond to that month. I'm hoping to determine which product we were focusing on when we had lower sales, so we can pivot to targeting sales of a different product.&lt;/P&gt;
&lt;P&gt;This is my desired result:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Desired result" style="width: 328px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77945i209CD8BD01149FF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion3.PNG" alt="Desired result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Desired result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Currently, I've created a table object in my sheet, where I'm running the following expression under the "Measures" section in an attempt to get that table:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Min({1&amp;lt;Year = {"2022"}&amp;gt;} Sales)&lt;/LI-CODE&gt;
&lt;P&gt;I've chosen "Location" as my row dimension, and "Product" as my column dimension. However, while I get the right rows/columns, I get the wrong values:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Current result" style="width: 327px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/77944iED5DA760DF331F5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikQuestion2.PNG" alt="Current result" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Current result&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;As you can see, it's pulling the minimum value observed for each column, so the product values don't add up to the total value. What I want it to do is find the month with the lowest total, then pull the amounts for the other products at that location for that same month.&lt;/P&gt;
&lt;P&gt;Please let me know how I can solve this problem! I know there are "Aggr" and "Match" functions in Qlik, but I've never worked with them before, and don't know if they apply to the problem at hand. Thank you in advance for the help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 12:23:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Find-All-Values-for-Group-Where-Column-Value-Matches-Column/m-p/1922723#M75958</guid>
      <dc:creator>bretg</dc:creator>
      <dc:date>2022-04-26T12:23:27Z</dc:date>
    </item>
  </channel>
</rss>

