Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example

Given the following raw data:

Customer_numberNameOrder_numberItem
2535Jon101544Zamioculcas
2888Mike101567Spider Lily
2535Jon101643Datura
2535Jon101899Dahlia
5788Jon102003Snapdragon
2888Mike102248Marguerite
2535Jon102282Windflower
2888Mike102534Elephant's Ear
2535Jon102612Chinese Evergreen
5788Jon102617Begonia
5788Jon102765Starfish Plant
2535Jon102947Hare's Foot Fern
2535Jon103001Venus Flytrap
3545Monique103006Red Flame Ivy

First create Create a group, using GROUPBY(#RawData!Customer_number), and GROUPBY(#RawData!Name).

...

Using GROUPFIRST(#RawData!Item;#RawData!Order_number), you can return the first item ordered by each customer.

...