Do I understand correctly that you want to count linked defects to a particular issue type issues? Then you may want to define and import linked issues in the eazyBI issue cube first.
Please read more about that in the following community thread: Import issue links as dimension
Ilze, support@eazybi.com