1. Markus Eckert
  2. PowerBuilder
  3. Friday, 20 July 2018 06:28 AM UTC

Hi everyone

Let's say I have a DW with:

group1 customer_id
group2 order_id

Is there a good way to add a new group level in the middle so it looks like this:

group1 customer_id
group2 order_year
group3 order_id

Right now my only idea is to create a new group 3, copy all properties of group header/trailer 2 to the new group one by one, move all controls from group 2 to group 3 and go over all computed field expressions replacing "sum(... for group 2)" with the new group number.

Is there a smarter way to do this?

Regards,
Markus

David Peace (Powersoft) Accepted Answer Pending Moderation
  1. Friday, 20 July 2018 09:40 AM UTC
  2. PowerBuilder
  3. # 1

Hi Markus

Another way is to use edit source and renumber the groups, you will need to reorder them 1,2,3 afterwards. This will change most of the object correctly, but you might have to tweak the rest.

I just tried it on a dummy dw and it seemed a reasonable approach.

Regards

David

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.