<?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: Merge Multiple rows for each item into one row in Reporting Service &amp; Alerting</title>
    <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1908406#M114</link>
    <description>&lt;P&gt;Do you mean you want to do it in the chart instead of script?&lt;/P&gt;
&lt;P&gt;In your screenshot what if you have just two measures created for last two columns and rest of them as dimensions?&lt;/P&gt;
&lt;P&gt;In the measures you can have expression Max(Date) to show single date.&lt;/P&gt;
&lt;P&gt;Not sure if I understand things correctly but if all the dimension values are same for multiple rows you can merge them in one row by using max(Date) as your measure.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 21:14:31 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2022-03-22T21:14:31Z</dc:date>
    <item>
      <title>Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906241#M108</link>
      <description>&lt;P&gt;I have multiple rows for each item. I want to merge them so everything for that item is on the same row. See example. I want the Last Received Date and Last Sale date to be on the same line for that item number&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="20%" height="47px"&gt;Item A&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;Description A&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;12-12-2019&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;04-17-2020(sales Date A&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="47px"&gt;Item A&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;Description A&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;12-12-2019&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;04-16-2020(Received Date A&lt;/TD&gt;
&lt;TD width="20%" height="47px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="29px"&gt;Item B&lt;/TD&gt;
&lt;TD width="20%" height="29px"&gt;Description B&lt;/TD&gt;
&lt;TD width="20%" height="29px"&gt;04-26-2020&lt;/TD&gt;
&lt;TD width="20%" height="29px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%" height="29px"&gt;06-24-2021&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Item B&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Description B&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;04-26-2020&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;06-23-21&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Item B&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Description B&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;04-26-2020&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;07-24-21&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="20%" height="25px"&gt;Item C&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;Description C&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;03-31-2021&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD width="20%" height="25px"&gt;08-09-2020&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906241#M108</guid>
      <dc:creator>akrueger</dc:creator>
      <dc:date>2024-11-15T22:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906254#M109</link>
      <description>&lt;P&gt;What if you have multiple different receive date for an item. I see item B got 6/23 and 7/24 receive date and the top row for Item B doesn't have a receive date, how do you want to merge, these three different values in one cell?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 23:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906254#M109</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-03-16T23:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906638#M110</link>
      <description>&lt;P&gt;Yes, we do have multiple received dates sometimes because item might have more than one receipt transaction. We want to get the max received date and max sales date on the same line for the one item.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 16:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906638#M110</guid>
      <dc:creator>akrueger</dc:creator>
      <dc:date>2022-03-17T16:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906799#M111</link>
      <description>&lt;P&gt;Do you need results as below?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Digvijay_Singh_0-1647561920549.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/74799i6CBF5F4194F8BED9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Digvijay_Singh_0-1647561920549.png" alt="Digvijay_Singh_0-1647561920549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Used below script -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source:&lt;BR /&gt;Load Item,Description,&lt;BR /&gt;Date#([Date1],'MM-DD-YYYY') as [Date],&lt;BR /&gt;Date#([Receive Date1],'MM-DD-YYYY') as [Receive Date],&lt;BR /&gt;Date#([Sales Date1],'MM-DD-YYYY') as [Sales Date]&lt;BR /&gt;inline [&lt;BR /&gt;Item, Description, Date1, Receive Date1, Sales Date1&lt;BR /&gt;Item A, Description A, 12-12-2019,,04-17-2020&lt;BR /&gt;Item A, Description A, 12-12-2019,04-16-2020 &lt;BR /&gt;Item B, Description B, 04-26-2020,,06-24-2021&lt;BR /&gt;Item B, Description B, 04-26-2020,06-23-21 &lt;BR /&gt;Item B, Description B, 04-26-2020,07-24-21 &lt;BR /&gt;Item C, Description C, 03-31-2021,,08-09-2020&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Final:&lt;BR /&gt;Load&lt;BR /&gt;Item,&lt;BR /&gt;Description,&lt;BR /&gt;Date,&lt;BR /&gt;Date(Max([Receive Date])) as [Receive Date],&lt;BR /&gt;Date(Max([Sales Date])) as [Sales Date]&lt;BR /&gt;resident Source&lt;BR /&gt;Group By Item, Description,Date&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Drop table Source&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 00:05:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1906799#M111</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-03-18T00:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1907926#M112</link>
      <description>&lt;P&gt;How can I group on expressions in QLIKVIEW&lt;/P&gt;</description>
      <pubDate>Mon, 21 Mar 2022 23:30:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1907926#M112</guid>
      <dc:creator>akrueger</dc:creator>
      <dc:date>2022-03-21T23:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1908388#M113</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="akrueger_1-1647981103376.png" style="width: 1164px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/75079iF0EB5C52513CD6AE/image-dimensions/1164x655?v=v2" width="1164" height="655" role="button" title="akrueger_1-1647981103376.png" alt="akrueger_1-1647981103376.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;See attached for sample report. We need all data for each item in line up in a single row&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 20:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1908388#M113</guid>
      <dc:creator>akrueger</dc:creator>
      <dc:date>2022-03-22T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merge Multiple rows for each item into one row</title>
      <link>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1908406#M114</link>
      <description>&lt;P&gt;Do you mean you want to do it in the chart instead of script?&lt;/P&gt;
&lt;P&gt;In your screenshot what if you have just two measures created for last two columns and rest of them as dimensions?&lt;/P&gt;
&lt;P&gt;In the measures you can have expression Max(Date) to show single date.&lt;/P&gt;
&lt;P&gt;Not sure if I understand things correctly but if all the dimension values are same for multiple rows you can merge them in one row by using max(Date) as your measure.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 21:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Reporting-Service-Alerting/Merge-Multiple-rows-for-each-item-into-one-row/m-p/1908406#M114</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-03-22T21:14:31Z</dc:date>
    </item>
  </channel>
</rss>

