Grouping From String
Posted: Tue Feb 12, 2013 12:21 am
I have a report that I need to create to take a variety of string values and turn them into a data source, then group like items within that datasource.
I've attached the sample data and the report as far as I've gotten it.
The original data comes from a string value with a ; delimiter that comes from a variety of lines in a datasource. I take all the string values and concatenate them together, then use a Substring formula to pull them out into individual lines. In the attached example, there are about 50 lines in the original datasource, each with a Quantity that defines how many subfields there will be in the string value on each line (Hardware.Comments), to a total of 202 individual subfields all together.
I have a couple of issues.
The first is how to set the count value for the second set of detail records so that it is equal to the total of the quantity from the first databand (Sum(Hardware.QTY))
The second is how to take all these subfields from the string broken out into individual records with the final data band and group them by like values and sum the Hardware.QTY for each like value.
The end result of this report should be a short list showing
223 - QTY ###
224 - QTY ##
etc.
https://dl.dropbox.com/u/99199395/310185-02.zip
Thanks for any help you can provide.
I've attached the sample data and the report as far as I've gotten it.
The original data comes from a string value with a ; delimiter that comes from a variety of lines in a datasource. I take all the string values and concatenate them together, then use a Substring formula to pull them out into individual lines. In the attached example, there are about 50 lines in the original datasource, each with a Quantity that defines how many subfields there will be in the string value on each line (Hardware.Comments), to a total of 202 individual subfields all together.
I have a couple of issues.
The first is how to set the count value for the second set of detail records so that it is equal to the total of the quantity from the first databand (Sum(Hardware.QTY))
The second is how to take all these subfields from the string broken out into individual records with the final data band and group them by like values and sum the Hardware.QTY for each like value.
The end result of this report should be a short list showing
223 - QTY ###
224 - QTY ##
etc.
https://dl.dropbox.com/u/99199395/310185-02.zip
Thanks for any help you can provide.