Ok well perhaps if you add to that other discussion some of the members on that thread who have been doing such things might be able to help out (or understand your "didn't work for us" comment*)?
(* - the queries in that other discussion are likely to be specific to a particular PPM instance, so I would expect that you would still need to do some work 'tweaking' them for your instance, just use them as a guide perhaps?)