Duplicating Data
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I need to duplicate my data in the exact format it is currently in my data set. Please see the following example
Original Data:
A |
B |
C |
New Format:
A |
B |
C |
A |
B |
C |
Ideally I would be able to choose how many times this data is duplicated or set a limit for how many times it can duplicate. Please respond back with any potential solutions other than using the union to combine from my data source multiple times.
Solved! Go to Solution.
- Labels:
- Help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
an example workflow. you configure as many times as you want. click on the macro and the parameter appears
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I was thinkg also to use a interative macro.
Although the macro seems to be missing in your packed workflow?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Da_Norman
I'm a big fan of NOT using macros if there is a simple way to accomplish the task without one. Macros complicate the workflow and increase maintenance effort. This is a case where a few tools can produce the results that you want.
Here I add a RecordID and then a Group field set to 1. The Generate Rows creates the requested number of groups. The Sort orders as per the inpput and the final Select removes the RecordId and Group fields leaving only duplicates of your original data.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Amazing, thank you for sharing this. Exactly what I was looking for.
