I have two cubes: Sales cube and BuyerLimit cube. In sales cube it is displayed all the quantity that is sold to buyers. In BuyerLimit cube there is a QuantityLimit measure, that is maximum quantity that our company is willing to sell (actually ship) to particular buyer acording to buyer's credit rating. Some of the buyers are problematic and so we don't want to ship them too much products, just to protect ourself of not getting paid for this products if buyer gets into financial problems.
Sales cube:
- Measure: QuantitySold, QuantityLimit (=>gets data from BuyerLimit cube)
- Market dimension --> market_total --> continents --> counties --> buyer --> buyer's_invoice
- TimeOfInvoice dimension (with hierarchy)
- TimeOfInvoiceExperation dimension (with hierarchy)
- OrganizationalUnit (with hierarchy)
- SalesType (with hierarchy)
- InvoinceType (with hierarchy)
BuyerLimit cube:
- Measure: QuantityLimit
- Market dimension --> market_total --> continents --> counties --> buyer
Notice, that BuyerLimit and Sales cube have common "Market dimension" which have exactly the same member structure except BuyerLimit does not have a buyer's_invoce level. This is reasonable, because QuantityLimit is only valid on buyer level.
In Sales cube I need QuantityLimit measure from BuyerLimit cube. So I wrote the rule in Sales cube:
Code: Select all
SKIPCHECK;
['QuantityLimit']=DB('BuyerLimit', !Market, 'QuantityLimit');
According to documentation feeder should be written into BuyerLimit rules, so I did:
Code: Select all
['QuantityLimit']=>DB('Sales',!Market, 'QuantityLimit', TimeOfInvoiceTopMember, TimeOfInvoiceExperationTopMember, OrganizationalUnitTopMember, SalesTypeTopMember, InvoinceTypeTopMember);
How to write feeder that should feed second cube without cube explosion?
My system: TM1 v9.5.2 64-bit on Windows 2008 RC2 64-bit.
Thanks