I'm using CR XI. And CR Server to batch run report.
I have a simple list report about ten columns. And the report is dealing with some one-to-many issues by concatenating data into one column.
EXAMPLE: An asset that's downloaded can have many forms I concatenate each into the Asset Forms column by doing some grouping in CR.
[tt]
AssetId DwnldDate AssetForms
13 11/1/07 PDF;HTML;Word
13 10/2/07 PDF;HTML;Word
14 9/24/07 PDF;Word
[/tt]
Now the user wants a new column called Asset Type. Another 1 to many - an asset can have many types (Presentation, Proposal, etc). Easy enough to concatenate together like I did with the Asset Forms info but the user wants the types broken out into individual columns because they want to do Excel pivot tables using asset type values. NOTE: There are about 50 different types and each asset doesn't have the same types associated with it necessarily. So I need my output to look something like:
[tt]
AssetId DwnldDate AssetForms Presentation Proposal Other
13 11/1/07 PDF;HTML;Word X X
13 10/2/07 PDF;HTML;Word X X
14 9/24/07 PDF;Word X
[/tt]
I'm already doing grouping in the report. I can leverage this to create a field with concatenated asset type info per download row like the AssetForms column. Then hide this new column. Then create 50 more columns one for each asset type and then search the concatenated asset type field for each columns specific type value and populate the new column.
Kicker is the asset types are dynamic and can change at a moments notice. Tomorrow there may be 51 asset types so there would need to be 51 columns - must modify the report.
Anyone know of a smart way of keeping the grouping I already have for asset forms, dynamically creating these type columns and populating them?
Thanks in advance!!!
I have a simple list report about ten columns. And the report is dealing with some one-to-many issues by concatenating data into one column.
EXAMPLE: An asset that's downloaded can have many forms I concatenate each into the Asset Forms column by doing some grouping in CR.
[tt]
AssetId DwnldDate AssetForms
13 11/1/07 PDF;HTML;Word
13 10/2/07 PDF;HTML;Word
14 9/24/07 PDF;Word
[/tt]
Now the user wants a new column called Asset Type. Another 1 to many - an asset can have many types (Presentation, Proposal, etc). Easy enough to concatenate together like I did with the Asset Forms info but the user wants the types broken out into individual columns because they want to do Excel pivot tables using asset type values. NOTE: There are about 50 different types and each asset doesn't have the same types associated with it necessarily. So I need my output to look something like:
[tt]
AssetId DwnldDate AssetForms Presentation Proposal Other
13 11/1/07 PDF;HTML;Word X X
13 10/2/07 PDF;HTML;Word X X
14 9/24/07 PDF;Word X
[/tt]
I'm already doing grouping in the report. I can leverage this to create a field with concatenated asset type info per download row like the AssetForms column. Then hide this new column. Then create 50 more columns one for each asset type and then search the concatenated asset type field for each columns specific type value and populate the new column.
Kicker is the asset types are dynamic and can change at a moments notice. Tomorrow there may be 51 asset types so there would need to be 51 columns - must modify the report.
Anyone know of a smart way of keeping the grouping I already have for asset forms, dynamically creating these type columns and populating them?
Thanks in advance!!!