<?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 Need To Merge Rows and Create New Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1555087#M440623</link>
    <description>&lt;P&gt;I have an Excel file that I need to load into Qlikview where I need to take the original table and create a new table while also retaining the original table by doing the following and load both into the dashboard:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Roll up (Sum??)&amp;nbsp;Budget_Cost and Current_Cost to the estimate id level&lt;/LI&gt;&lt;LI&gt;Merge rows where estimate_item_id from the current row matches the previous row or vice-versa (Peek???) with the idea to get Budget_Cost and Current_Cost on one row - For example, rows 4&amp;nbsp;-&amp;nbsp;9 on the Original-Table tab should be&amp;nbsp;three rows in the attached sample data for the New-Table-Needed with one row having -748800 for both Budget and Current_Costs, one with -734400 for both and finally one with -662400 for both&lt;/LI&gt;&lt;LI&gt;A project_id can have multiple estimate id's and estimate id's can have multiple estimate_item_id's&lt;/LI&gt;&lt;LI&gt;I need to be able to tie the original table to the new table as the original table will have the detail behind the new table&lt;/LI&gt;&lt;LI&gt;The original table will reduce to 72 rows from 182&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've attached a spreadsheet with three tabs.&amp;nbsp; The first tab is the Original Data.&amp;nbsp; The second is the new table I need and the third tab is a sample pivot table I need to build in Qlikview.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:16:05 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2024-11-16T21:16:05Z</dc:date>
    <item>
      <title>Need To Merge Rows and Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1555087#M440623</link>
      <description>&lt;P&gt;I have an Excel file that I need to load into Qlikview where I need to take the original table and create a new table while also retaining the original table by doing the following and load both into the dashboard:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Roll up (Sum??)&amp;nbsp;Budget_Cost and Current_Cost to the estimate id level&lt;/LI&gt;&lt;LI&gt;Merge rows where estimate_item_id from the current row matches the previous row or vice-versa (Peek???) with the idea to get Budget_Cost and Current_Cost on one row - For example, rows 4&amp;nbsp;-&amp;nbsp;9 on the Original-Table tab should be&amp;nbsp;three rows in the attached sample data for the New-Table-Needed with one row having -748800 for both Budget and Current_Costs, one with -734400 for both and finally one with -662400 for both&lt;/LI&gt;&lt;LI&gt;A project_id can have multiple estimate id's and estimate id's can have multiple estimate_item_id's&lt;/LI&gt;&lt;LI&gt;I need to be able to tie the original table to the new table as the original table will have the detail behind the new table&lt;/LI&gt;&lt;LI&gt;The original table will reduce to 72 rows from 182&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I've attached a spreadsheet with three tabs.&amp;nbsp; The first tab is the Original Data.&amp;nbsp; The second is the new table I need and the third tab is a sample pivot table I need to build in Qlikview.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1555087#M440623</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2024-11-16T21:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need To Merge Rows and Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1555088#M440624</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This might be up your alley with your experience and knowledge.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 00:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1555088#M440624</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-03-12T00:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need To Merge Rows and Create New Table</title>
      <link>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1557299#M440988</link>
      <description>&lt;P&gt;I was able to solve the problem with set analysis without having to merge any rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.)&amp;nbsp;&lt;FONT color="#0000ff" size="3"&gt;Sum&lt;/FONT&gt;&lt;FONT size="3"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;estimate_id&lt;/FONT&gt;&lt;FONT size="3"&gt; = {&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;"*"&lt;/FONT&gt;&lt;FONT size="3"&gt;}, &lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;estimate_item_id&lt;/FONT&gt;&lt;FONT size="3"&gt; = {&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;"*"&lt;/FONT&gt;&lt;FONT size="3"&gt;}&amp;gt;} &lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;Budget_Cost&lt;/FONT&gt;&lt;FONT size="3"&gt;) //Labeled expression Budget Cost&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;2.) &lt;/FONT&gt;&lt;FONT color="#0000ff" size="3"&gt;Sum&lt;/FONT&gt;&lt;FONT size="3"&gt;({&amp;lt;&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;estimate_id&lt;/FONT&gt;&lt;FONT size="3"&gt; = {&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;"*"&lt;/FONT&gt;&lt;FONT size="3"&gt;}, &lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;estimate_item_id&lt;/FONT&gt;&lt;FONT size="3"&gt; = {&lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;"*"&lt;/FONT&gt;&lt;FONT size="3"&gt;}&amp;gt;} &lt;/FONT&gt;&lt;FONT color="#800000" size="3"&gt;Current_Cost&lt;/FONT&gt;&lt;FONT size="3"&gt;)&amp;nbsp; //Labeled expression&amp;nbsp;Current Cost&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;And then&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;3.) &lt;/FONT&gt;&lt;FONT size="3"&gt;(&lt;/FONT&gt;&lt;FONT color="#0000ff" size="3"&gt;[Budget Cost]&lt;/FONT&gt;&lt;FONT size="3"&gt; - &lt;/FONT&gt;&lt;FONT color="#0000ff" size="3"&gt;[Current Cost]&lt;/FONT&gt;&lt;FONT size="3"&gt;) &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 16:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-To-Merge-Rows-and-Create-New-Table/m-p/1557299#M440988</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-03-15T16:11:30Z</dc:date>
    </item>
  </channel>
</rss>

