• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Implementing a pivot table / cross table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Implementing a pivot table / cross table
      • From: Jean-François Veillette <email@hidden>
References: 
 >Implementing a pivot table / cross table (From: Rico Landefeld <email@hidden>)
 >Re: Implementing a pivot table / cross table (From: Jean-François Veillette <email@hidden>)
 >Re: Implementing a pivot table / cross table (From: Rico Landefeld <email@hidden>)
 >Re: Implementing a pivot table / cross table (From: Jean-François Veillette <email@hidden>)

  • Prev by Date: Re: Tales from the Dark Side
  • Next by Date: Re: Tales from the Dark Side
  • Previous by thread: Re: Implementing a pivot table / cross table
  • Next by thread: Re: Implementing a pivot table / cross table
  • Index(es):
    • Date
    • Thread