Finite-Lived Intangible Assets (Detail) - USD ($) $ in Millions |
Jun. 30, 2018 |
Jun. 30, 2017 |
|---|---|---|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 15,936 | $ 16,667 |
| Accumulated Amortization | (7,883) | (6,561) |
| Net Carrying Amount | 8,053 | 10,106 |
| Technology-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 7,220 | 7,765 |
| Accumulated Amortization | (5,018) | (4,318) |
| Net Carrying Amount | 2,202 | 3,447 |
| Customer-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 4,031 | 4,045 |
| Accumulated Amortization | (1,205) | (692) |
| Net Carrying Amount | 2,826 | 3,353 |
| Marketing-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 4,006 | 4,016 |
| Accumulated Amortization | (1,071) | (829) |
| Net Carrying Amount | 2,935 | 3,187 |
| Contract-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 679 | 841 |
| Accumulated Amortization | (589) | (722) |
| Net Carrying Amount | $ 90 | $ 119 |