...
- Create a database collector, using the datasource
Rating and Billing
, to read all the records from this table - Create a stream from this database collector
- Run analysis on the stream
Create
...
a stream for full channel list
- Add a new stream to your model to hold the full channel list:
- Create a stream using the Add a new Stream button in the hover menu from
Latest Package Update
- Give the new Stream the Name
Latest Package All Channels
- Create a stream using the Add a new Stream button in the hover menu from
- Drag all attributes from
Latest Package Update
toLatest Package All Channels
- To complete the configuration:
- Add a lookup pipe from
SOURCE_PACKAGE_CHANNELS
intoLatest Package All Channels
- Call the pipe
chan
- Go to the Order/Index section
- Press - Show Stream Attributes
- Drag
PACKAGE
from the left hand (input) list - Drag
Package
from the right hand (output) list over the top of the Order/Index attributePACKAGE
- Double click on the Order/Index attribute
PACKAGE
to edit its details: - Update the Index Expression from
_out.Package
to:in.Package
- Save your changes
This means that the lookup will match records in the reference data (SOURCE_PACKAGE_CHANNELS
) where PACKAGE
= Package
from the input pipe in
We must do this, rather than using the value of Package
from the output because we are using the lookup to drive an output multiplier – and output multipliers are calculated before the output is generated
...