Shareholders' Equity (Additional Information) (Details) - USD ($) $ / shares in Units, shares in Millions |
3 Months Ended | |||
|---|---|---|---|---|
Oct. 27, 2018 |
Oct. 28, 2017 |
Jul. 28, 2018 |
Feb. 14, 2018 |
|
| Class of Stock [Line Items] | ||||
| Cash dividends paid per common share (in dollars per share) | $ 0.33 | $ 0.29 | ||
| Payments of dividends | $ 1,500,000,000 | $ 1,436,000,000 | ||
| Authorized additional repurchase amount | $ 25,000,000,000 | |||
| Remaining authorized repurchase amount | $ 14,000,000,000 | |||
| Shares repurchased for tax withholdings on vesting of restricted stock units (in shares) | 7 | 11 | ||
| Payments related to tax withholding for share-based compensation | $ 318,000,000 | $ 342,000,000 | ||
| Stock repurchase program | ||||
| Class of Stock [Line Items] | ||||
| Stock repurchases pending settlement | $ 130,000,000 | $ 180,000,000 | ||