XML 106 R94.htm IDEA: XBRL DOCUMENT v3.8.0.1
Shareholders' Equity (Additional Information) (Details) - USD ($)
$ / shares in Units, shares in Millions, $ in Millions
3 Months Ended 9 Months Ended
Apr. 28, 2018
Apr. 29, 2017
Apr. 28, 2018
Apr. 29, 2017
Feb. 14, 2018
Jul. 29, 2017
Class of Stock [Line Items]            
Cash dividends paid per common share (in dollars per share) $ 0.33 $ 0.29 $ 0.91 $ 0.81    
Payments of dividends     $ 4,433 $ 4,063    
Authorized additional repurchase amount         $ 25,000  
Remaining authorized repurchase amount $ 25,100   $ 25,100      
Shares repurchased for tax withholdings on vesting of restricted stock units (in shares)     16 16    
Payments related to tax withholding for share-based compensation     $ 541 $ 497    
Stock repurchase program            
Class of Stock [Line Items]            
Stock repurchases pending settlement $ 150   $ 150     $ 66