The people at crmswitch.com make a nice, simple distinction between ERP and CRM that is relevant to analytics. To paraphrase their recent post, ERP reduces capital costs through process efficiencies while CRM increases profits through greater sales volumes. Not every company uses both applications, especially among mid-market players.
However, using both in concert provides the greatest opportunity to use operational data to your competitive advantage. The key, then, is to blend the important data from each system to provide a holistic view of company operations.
Application software like Halo provides prebuilt integrations to all the major ERP and CRM systems as well as templates for supply chain analytics using the combined data. For example, our Sales and Operations Planning template pulls in data from both systems to simplify an otherwise manual and time consuming process.