Brainbreaker Custom Dimensions

Who can lead me to the next solution?

I have custom plugin with report / controller / api generated. I need to create a result that has custom dimensions bound to it using the Piwik methods to expose data. The data is then to be parsed using the existing DataTable.

The issues are: how to get the report to get all the values in a datescope; then subcategorize the values based on the custom dimensions and poll/compare them against running custom variables to exclude the usertypes that are set in the custom variables.

Who is the Piwik Master who can help me solve this?