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.

ibulatov

Trainee

  • "ibulatov" is male
  • "ibulatov" started this thread

Posts: 3

Date of registration: Feb 2nd 2011

  • Send private message

1

Wednesday, February 2nd 2011, 10:30pm

Meaningless intersections or how to relate select elements of 2 dimensions

I have two dimensions (among others): cost items and divisions. Divisions come in two types (peripheral and central). Each division type has its own cost items, but certain cost items' names are shared (meaning that the same name of the cost item may be used in both division types, which doesn't mean that it's one and the same cost - it's the same cost name, but the data will be different).
So how do I structure the cube, so it never displays the data items that are meaningless to me, like a cost item that doesn't belong to a division type.

tish1

Sage

Posts: 777

Date of registration: Jul 13th 2009

Location: Vienna / Austria

Occupation: Senior Consultant @ Vector SW DV GmbH

  • Send private message

2

Thursday, February 3rd 2011, 9:58am

Hi,

as a general rule:
two things that have the same meaning should not have the same name and
one thing should only have one distinct name

Regards.

Posts: 163

Date of registration: Feb 4th 2009

Location: berlin

  • Send private message

3

Thursday, February 3rd 2011, 10:01am

You do not have a lot of options structuring a cube. Think always of a star-schema. If you are having trouble understanding your elements in a dimension use alias function to give an element a meaningful name!

And I agree Tish post
sivgin

This post has been edited 1 times, last edit by "sivgin" (Feb 3rd 2011, 10:02am)


ibulatov

Trainee

  • "ibulatov" is male
  • "ibulatov" started this thread

Posts: 3

Date of registration: Feb 2nd 2011

  • Send private message

4

Thursday, February 3rd 2011, 11:44am

Thank you for you replies, but I am afraid I side-tracked you with my parenthesis statements. My question was not about naming things. To restate my question: each of the two division types has its own cost items (uniquely named this time). How do I arrange the dimensions or elements in them so that meaningless intersections either don't exist in the cube altogether or at least they are never displayed (so I don't get intersection of a cost item with a division type that doesn't belong to this division type)

James

Intermediate

Posts: 7

Date of registration: Sep 21st 2010

  • Send private message

5

Thursday, February 3rd 2011, 12:23pm

You can't restrict the intersections on the server. In any cube, all intersections between all elements are valid and may contain values, either input or calculated.

Take a spreadsheet for example, all row / column intersections are valid and you may enter data or formulae into any cell.

So, you will need to restrict the intersections in the front end. A couple of ways that spring to mind:

1. Create attributes on elements on Costs Items that can be used to determine which items should be visible when divisions are selected.

2. (Probably better) Create a cube with two dimensions, Cost Items and Divisions. Enter a value of 1 to indicate a valid combination. An advantage of this approach is you can add a time dimension to cope with changing relationships between cost items and divisions.

ibulatov

Trainee

  • "ibulatov" is male
  • "ibulatov" started this thread

Posts: 3

Date of registration: Feb 2nd 2011

  • Send private message

6

Thursday, February 3rd 2011, 2:02pm

James, thank a lot for advice. But if I created a second cube, how does the first (main) cube know that there is a second cube that defines some relations? Won't I need to relate these two cubes somehow?

And where exactly should I add 1 or 0?

This post has been edited 1 times, last edit by "ibulatov" (Feb 3rd 2011, 2:05pm)


garyrivas

Professional

  • "garyrivas" is male

Posts: 23

Date of registration: Mar 29th 2011

Location: Ecuador

Occupation: IT Working

Hobbies: BI

  • Send private message

7

Monday, April 11th 2011, 7:25pm

use attribute

I think the best solution is use attribute "Cost" for both dimensions.
Ing. Gary Rivas
------------------
[ Palo User @Ecuador ]

Rate this thread