<?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 Group By (Empty Values) in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834405#M9506</link>
    <description>&lt;P&gt;You can use generic load for this that will unpivot your group and you can have brand as your cell value&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Generic-Load/ba-p/1473470" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Generic-Load/ba-p/1473470&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you must do it on front-end, i would do this:&lt;/P&gt;&lt;P&gt;=aggr( only({&amp;lt;group = {'car'} &amp;gt;} brand), id)&lt;/P&gt;&lt;P&gt;=aggr( only({&amp;lt;group = {'bike'} &amp;gt;} brand), id)&lt;/P&gt;&lt;P&gt;I chose only() (assuming there is only 1 bike or car per id.&amp;nbsp; You could choose concat() or maxstring() or whatever else you want to show in the case if there is &amp;gt; 1 record per id.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 15:37:45 GMT</pubDate>
    <dc:creator>stevejoyce</dc:creator>
    <dc:date>2021-09-07T15:37:45Z</dc:date>
    <item>
      <title>How to Group By (Empty Values)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834401#M9505</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i cant solve my problem, maybe you can. It looks easy, but i have no idea.&lt;/P&gt;&lt;P&gt;So lets say, i have 2 tables:&lt;/P&gt;&lt;P&gt;1. Data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="virus190_0-1631027522580.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61520i188C46F4015FFEA4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="virus190_0-1631027522580.png" alt="virus190_0-1631027522580.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. ExtraData:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="virus190_1-1631027557713.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61521iDE6E05BD0776D391/image-size/medium?v=v2&amp;amp;px=400" role="button" title="virus190_1-1631027557713.png" alt="virus190_1-1631027557713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now i want to create a table that looks like that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="virus190_2-1631027719671.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61522i2094D87AEFE75AFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="virus190_2-1631027719671.png" alt="virus190_2-1631027719671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to use Masterelemts (for exampe) if(Group='Car',Brand), but then i get empty values like that:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="virus190_3-1631027808711.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61523i2DB61F9E9FA1F54D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="virus190_3-1631027808711.png" alt="virus190_3-1631027808711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What is the right way to solve this? With the data load editor? I tried but couldn't&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834401#M9505</guid>
      <dc:creator>virus190</dc:creator>
      <dc:date>2021-09-07T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By (Empty Values)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834405#M9506</link>
      <description>&lt;P&gt;You can use generic load for this that will unpivot your group and you can have brand as your cell value&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Generic-Load/ba-p/1473470" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Generic-Load/ba-p/1473470&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you must do it on front-end, i would do this:&lt;/P&gt;&lt;P&gt;=aggr( only({&amp;lt;group = {'car'} &amp;gt;} brand), id)&lt;/P&gt;&lt;P&gt;=aggr( only({&amp;lt;group = {'bike'} &amp;gt;} brand), id)&lt;/P&gt;&lt;P&gt;I chose only() (assuming there is only 1 bike or car per id.&amp;nbsp; You could choose concat() or maxstring() or whatever else you want to show in the case if there is &amp;gt; 1 record per id.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834405#M9506</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-09-07T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By (Empty Values)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834409#M9507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe something like this.&lt;/P&gt;&lt;P&gt;Sample Dataset&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;BR /&gt;ID,GROUP,BRAND&lt;BR /&gt;1,Car,RG&lt;BR /&gt;1,Bike,SETH&lt;BR /&gt;1,Airplane,SSRYN&lt;BR /&gt;2,Car,SHRTHB&lt;BR /&gt;2,Bike,SRHS&lt;BR /&gt;2,Airplane,SBF&lt;BR /&gt;3,Car,SNFBDF&lt;BR /&gt;3,Bike,NSFGBNSG&lt;BR /&gt;3,Airplane,SFHNSR&lt;BR /&gt;4,Car,NFGBNS&lt;BR /&gt;4,Bike,FGBSFGNB&lt;BR /&gt;4,Airplane,SFHNSFHN&lt;BR /&gt;5,Car,SFNSR&lt;BR /&gt;5,Bike,NSFHNSFH&lt;BR /&gt;5,Airplane,SNFHN ];&lt;/P&gt;&lt;P&gt;Output :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshutoshBhumkar_0-1631029555271.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/61524i422AC78FDD750888/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshutoshBhumkar_0-1631029555271.png" alt="AshutoshBhumkar_0-1631029555271.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Expressions :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Car - Only({&amp;lt;GROUP = {"Car"}&amp;gt;}BRAND)&lt;/P&gt;&lt;P&gt;Bike -&amp;nbsp;Only({&amp;lt;GROUP = {"Bike"}&amp;gt;}BRAND)&lt;/P&gt;&lt;P&gt;Airplane -&amp;nbsp;Only({&amp;lt;GROUP = {"Airplane"}&amp;gt;}BRAND)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 15:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834409#M9507</guid>
      <dc:creator>AshutoshBhumkar</dc:creator>
      <dc:date>2021-09-07T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Group By (Empty Values)</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834416#M9508</link>
      <description>&lt;P&gt;thank you very much for the quick help, i only want to do some of the values, so the second is good and i only have only 1 value per id, so this works for me perfectly!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 16:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/How-to-Group-By-Empty-Values/m-p/1834416#M9508</guid>
      <dc:creator>virus190</dc:creator>
      <dc:date>2021-09-07T16:02:36Z</dc:date>
    </item>
  </channel>
</rss>

