Re: Implementing a pivot table / cross table
Re: Implementing a pivot table / cross table
- Subject: Re: Implementing a pivot table / cross table
- From: Rico Landefeld <email@hidden>
- Date: Fri, 17 Mar 2006 17:45:59 +0100
In your case, I do not know you model enough to indicate if a key-path
can be found from 'Failure' that will be used to segment it from one
bucket from the other. I guess 'Failure' to 'FailureAttribute' is a
to-many relationship. If you want to segment 'Failures' based on some
sort of elements inside that relationship, either add a method in
'Failure'
no, there are to-one relationships to the four "failure attribute"
entities. i can't use keypaths because the entities "origin", "outcome",
"occurence" and "cause" are hierarchical (recursive to-n relations, 4
levels). a possible questions is "how many failures occured with outcome
site->splices->wu-splices->leaky and origin
extern->subcontractors->companyxy". the "->" marks the level to sublevel
step. i need only one or two dimensional crosstables. but the dimensions
should be free configurable (which failure attribute and level). the
problem is that for an "origin" subcontractor at level 2, i have to
count the failures which are directly linked with subcontractor and all
failures which are linked with elements in the subcontractor subtree.
thank you four your class. but its hard to read for me, i don't speak
any french ;-). but i hope i'll figure out the basic ideas.
rico
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden