|
Re: Putting one row of a dataset to several table groups [message #1014911 is a reply to message #1014784] |
Tue, 26 February 2013 18:24   |
|
So, you have data like:
Subject | Category
Subject1 | Category1
Subject1 | Category2
Subject2 | Category1
etc...
And want to see something like:
Subject1
Category1
Category2
Subject2
Category1
?
Or something else? If I'm misunderstanding, could you please clarify with some sample data or a sample report I can run? Thanks!
Michael
Developer Evangelist, Silanis
|
|
|
Re: Putting one row of a dataset to several table groups [message #1015026 is a reply to message #1014784] |
Wed, 27 February 2013 08:49   |
Mark Mescher Messages: 21 Registered: July 2009 |
Junior Member |
|
|
Hi,
no, following data situation:
Category | Subject
category 1 | Testdata 1
category 1 | Testdata 2
category 2 | Testdata 3
category1;category2 | Testdata 4
Following grouping should be presented in table:
category 1
---- Testdata 1
---- Testdata 2
---- Testdata 4
category 2
---- Testdata 3
---- Testdata 4
As you see, Testdata 4 is assigned to two categories (and maybe more in productive), that is my problem. Do you have any ideas?
Thanx!
Bye
Mark
[Updated on: Wed, 27 February 2013 09:28] Report message to a moderator
|
|
|
Re: Putting one row of a dataset to several table groups [message #1015279 is a reply to message #1015026] |
Thu, 28 February 2013 02:34   |
|
You could use a scripted dataSet to split the dual category row into two rows. To do this, you'd just need to store the values from the original dataSet into arrays or something. Then, you'd access these arrays in your scripted dataSet to create your new result set. You could either split the rows when storing the values into your array(s) or split them when processing your data in the scripted dataSet. Let me know if you have questions.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01986 seconds