You are not logged in.

Dear visitor, welcome to Palo Community Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

kardan

Trainee

  • "kardan" started this thread

Posts: 2

Date of registration: Aug 7th 2011

  • Send private message

1

Wednesday, August 31st 2011, 3:40pm

Problem setting up rule

I am having problems setting up rules to calculate based on the balance of a base element.

Basically what I want to do is include a base element in a calculated element depending on the value of the base element, i.e. if negative use for one calculated element, if positive use for another. My base values are monthly movement.

I can seem to get it working for the calculated element but when this then consolidates up for year to date balances it includes all movements.

Example:

Account 123 movements Jan 100, Feb -200, Mar +100

Calculated Account 123Pos with a rule ['123Pos'] = IF(['123']>0,['123'],0) shows JanYTD 100, FebYTD 0, MarYTD 0 - CORRECT

Calculated Account 123Neg with a rule ['123Neg'] = IF(['123']<0,['123'],0) shows JanYTD 0, FebYTD -100, MarYTD 0 - CORRECT

However, 123Pos Consolidates into POS and shows JanYTD 100, FebYTD 100, MarYTD 200 and 123Neg Consolidates into NEG and shows JanYTD 0, FebYTD -200, MarYTD -200 which is INCORRECT!!

Can someone please suggest how I can get this to consolidate correctly.

kardan

Trainee

  • "kardan" started this thread

Posts: 2

Date of registration: Aug 7th 2011

  • Send private message

2

Thursday, September 1st 2011, 8:25pm

Quite a few views, no suggestions yet?

This is quite a common approach in accounting such as for bank accounts being in Current Assets as 'Cash at Bank' if in credit but in Current Liabilities as 'Bank Overdrafts' of overdrawn, so it would be good to get a solution.

kratzer

Master

  • "kratzer" is male

Posts: 87

Date of registration: Feb 23rd 2006

Location: Karlsruhe

Occupation: IT

  • Send private message

3

Monday, September 5th 2011, 3:03pm

I suppose you need to separate your rules for N and C level. You need to specify specific rules for your POS and NEG consolidations on C-level which are different from the N-level rules.

Similar threads

Used tags

Rules

Rate this thread