Closing the loop with business intelligence