Feeder calculation for unmatched dimension between cube

Post Reply
ram123
Posts: 38
Joined: Sun May 19, 2013 10:06 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2007

Feeder calculation for unmatched dimension between cube

Post by ram123 »

HI TM1 Team,

I am facing an issue to saving a feeder in Cognos tm1. My requirement is feeding data from one cube to another by using Rule. Source cube is having 3 dimension like month, currency and measure dimension and target cube is having 5 dimensions like Region, month, customer, product and measure.
Region dimension contain around 150 elements with 4 level of hierarchy.
Product dimension contain around 120 elements with no hierarchy.
Customer dimension contain around 600 elements with no hierarchy.
Month dimension contain around 13 elements with 1 level of hierarchy.
Currency is data in my Target cube.
Find the below Rule and Feeders I wrote for this Requirement
Rule: is in target
[Measure]=N:DB(‘Source Cube’,! Month,DB(‘Target Cube’,………,’Currency’),’Measure’);

Feeders: is in source
[Measure]=>DB(‘Target Cube’,’All Region’,! Month, ‘Total Product’,’Total Customer’,’Measure’);
Here Total element is consolidating element.
While saving Feeder it’s taking too much time. And Feeder file size is also increasing.
Please let me know is there any other way to write Rule or Feeders for such kind of requirement. Because in same application I have 4 more cube to load data into target with unmatched dimension. Due to this reason my application is getting stuck.
Thanks in advance………….
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Feeder calculation for unmatched dimension between cube

Post by declanr »

It would help if you could provide more detail on what measures you have etc

If you have a "volume sold" measure in your destination cube that is populated then its probably safe to assume that other measures such as "Net Sales Value" would only be relevant when there is a volume and as such you could do all the feeding within the "destination cube."
Declan Rodger
ram123
Posts: 38
Joined: Sun May 19, 2013 10:06 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2007

Re: Feeder calculation for unmatched dimension between cube

Post by ram123 »

declanr wrote:It would help if you could provide more detail on what measures you have etc

If you have a "volume sold" measure in your destination cube that is populated then its probably safe to assume that other measures such as "Net Sales Value" would only be relevant when there is a volume and as such you could do all the feeding within the "destination cube."
Measure Dimneion of target cube is containing around 20 element. here i am loading data for exchange rate to excahge rate in source.
source cube measure dimension Containg only exchage rate as a element.

thanks for reply.
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Feeder calculation for unmatched dimension between cube

Post by tomok »

ram123 wrote:here i am loading data for exchange rate to excahge rate in source.
Why in the world would you copy the exchange rate from one cube to another, when the end result is to load the same exchange rate for every region, product, and customer? That is extremely redundant. For foreign exchange calcs you should never do this in your scenario. Just reference the appropriate exchange rate from the source cube when writing the rule to calc the difference currencies. As declanr suggested, you must have a currency amount in the target cube already. Just use that to feed the exchange rate if you must. I also should add that you don't have to feed the exchange rate, regardless of which option you choose. Not feeding will only effect whether or nor the rate shows when you zero suppress a view off the target cube. The exchange calc will still happen regardless of whether or not the exchange rate cell is fed.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Re: Feeder calculation for unmatched dimension between cube

Post by mvaspal »

I agree with tomok: even if you really want to pull rates to your target cube, you do not really need to feed them. Rates should not be aggregated at all and it is very unlikely to use zero suppression in a view where there are only the rates displayed. So just simply write the rule if you really need it, and leave the feeder away. If you need rates to be displayed on C: elements too, just leave away the N: classifier.

If you feed totals for product, customer, region, it's not a wonder that saving the rule takes a long time.
ram123
Posts: 38
Joined: Sun May 19, 2013 10:06 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2007

Re: Feeder calculation for unmatched dimension between cube

Post by ram123 »

Thanks ,

My exchange rate cube ( which has 3 dimensions( Currency,Month,Measure) and which is loaded from ODBC) is feeding a Cost cube which has 6 different dimensions.

So when i am writing a feeder from exchange rate to cost cube i have to write feeder at consolidated level on the dimensions which are not present in my Exchange rate cube. when i am saving the feeder it is taking ages to save and memory for the application is also increasing.

Please suggest. ( changing the design is not an option)
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: Feeder calculation for unmatched dimension between cube

Post by Duncan P »

Could you explain why it is not possible to feed only from the cost amounts that are multiplied by the exchange rate? If the cost amount in local currency is zero then the converted amount is going to be zero as well.

If in spite of all this you still find it necessary to feed from the exchange rate then a way round save time problem is here. However I really think you should discuss this further before using this technique.
ram123
Posts: 38
Joined: Sun May 19, 2013 10:06 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2007

Re: Feeder calculation for unmatched dimension between cube

Post by ram123 »

Thanks for reply...

There is requierment that we need data at consolidate levle. Is there any way to write Feeders in source Cube.
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Feeder calculation for unmatched dimension between cube

Post by lotsaram »

ram123 wrote:Thanks for reply...

There is requierment that we need data at consolidate levle. Is there any way to write Feeders in source Cube.
I think you could be confusing here the requirement to consolidate the result of the calculation using the exchange rates. You certainly wouldn't ever need to consolidate the exchange rates themselves because as others have already said the result is meaningless.

Consolidating the translated values is a normal requirement but you would never do this from the exchange rate cube.
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Feeder calculation for unmatched dimension between cube

Post by David Usherwood »

Could I state this all rather more simply?
Rates.Don't.Need.Feeding
:)
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Feeder calculation for unmatched dimension between cube

Post by rmackenzie »

The situation overlooked by the answers so far is where the UI of the cube only allows a single cube-view and requires the forex rates in the drilldown for reporting purposes. E.g. I have accounts on rows and 3 measures on columns - local currency, reporting currency, forex rate; as I drill-down the accounts I still need to see the forex rate. In Excel, perhaps we'd solve this by having data from two cube views in an active form, but in clients limited to a single cube-view then perhaps the OPs design comes into play. If the rate is being pulled into the reporting cube then just feeding that calc from local currency would seem to be an option worth exploring.
Robin Mackenzie
Post Reply