Finite-Lived Intangible Assets (Detail) - USD ($) $ in Millions |
Dec. 31, 2024 |
Jun. 30, 2024 |
|---|---|---|
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | $ 45,135 | $ 44,509 |
| Accumulated Amortization | (19,750) | (16,912) |
| Net Carrying Amount | 25,385 | 27,597 |
| Marketing-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 16,489 | 16,500 |
| Accumulated Amortization | (3,499) | (3,101) |
| Net Carrying Amount | 12,990 | 13,399 |
| Technology-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 22,481 | 21,913 |
| Accumulated Amortization | (12,785) | (10,741) |
| Net Carrying Amount | 9,696 | 11,172 |
| Customer-related | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 6,030 | 6,038 |
| Accumulated Amortization | (3,444) | (3,051) |
| Net Carrying Amount | 2,586 | 2,987 |
| Contract-based | ||
| Finite-Lived Intangible Assets [Line Items] | ||
| Gross Carrying Amount | 135 | 58 |
| Accumulated Amortization | (22) | (19) |
| Net Carrying Amount | $ 113 | $ 39 |