Fair Value Measurements - Schedule of carrying value of our long-term investments (Details) - Level 3 - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jul. 31, 2026 |
Jul. 31, 2025 |
Jul. 31, 2024 |
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| Upward adjustments | $ 173 | $ 11 | $ 4 |
| Downward adjustments, including impairments | 0 | (51) | (2) |
| Net adjustments | $ 173 | $ (40) | $ 2 |
| X | ||||||||||
- Definition Equity Securities Without Readily Determinable Fair Value, Downward Price Adjustment And Impairment Loss, Annual Amount No definition available.
|
| X | ||||||||||
- Definition Equity Securities Without Readily Determinable Fair Value, Upward And Downward Price Adjustments And Impairment Loss, Net, Annual Amount No definition available.
|
| X | ||||||||||
- Definition Amount of gain from upward price adjustment on investment in equity security without readily determinable fair value. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|