Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Combining multiple records into one record?
khitch
<p>Hi,</p>
<p> </p>
<p>I am reading in data using union that looks like the following (see attached image).</p>
<p> </p>
<p>As you can see each wonum has data on different records. I want to combine the multiple records into one record in BIRT. Is this possible? At the moment it's grouped by wonum, but each record is output to its own report page.</p>
<p> </p>
<p>note: I've had to use union to get round an issue I have been having with joining the data on relationships.</p>
<p> </p>
Find more posts tagged with
Comments
wwilliams
<p>When you say one record do you mean one row? Can you draw a picture. in the thumbnail you have one work order and then the related records. the workorder table has one row and labtrans and matusetrans can have many records\rows</p>
khitch
<blockquote class="ipsBlockquote" data-author="wwilliams" data-cid="147315" data-time="1491939432">
<div>
<p>When you say one record do you mean one row? Can you draw a picture. in the thumbnail you have one work order and then the related records. the workorder table has one row and labtrans and matusetrans can have many records\rows</p>
</div>
</blockquote>
<p> </p>
<p>My bad I was meaning 2 rows, as there are 2 labtrans, matusetrans, etc. </p>
<p> </p>
<p>wonum | description | worktype | location | pluspcustomer | refwo | laborcode | startdate | starttime | etc..<br>
1234 desc wt loc pluspcust 1234 labcode1 sd1 st1 <br>
1234 desc wt loc pluspcust 4233 labcode2 sd2 st2 and so on ...</p>
wwilliams
<p>I'd try one chunk of sql like I showed on my previous post.</p>
khitch
<blockquote class="ipsBlockquote" data-author="wwilliams" data-cid="147321" data-time="1492000480">
<div>
<p>I'd try one chunk of sql like I showed on my previous post.</p>
</div>
</blockquote>
<p> </p>
<p>thanks,</p>
<p> </p>
<p>managed to sort it</p>