Derivative Instruments - Schedule of Notional Amounts of Derivatives Outstanding (Details) - USD ($) $ in Millions |
Jul. 26, 2025 |
Jul. 27, 2024 |
|---|---|---|
| Derivative [Line Items] | ||
| Derivative notional amount | $ 10,065 | $ 8,919 |
| Foreign currency derivatives | ||
| Derivative [Line Items] | ||
| Derivative notional amount | 8,978 | 7,434 |
| Interest rate derivatives | ||
| Derivative [Line Items] | ||
| Derivative notional amount | 0 | 500 |
| Total return swaps—deferred compensation | ||
| Derivative [Line Items] | ||
| Derivative notional amount | $ 1,087 | $ 985 |