XML 51 R39.htm IDEA: XBRL DOCUMENT v3.22.1
Fair Value (Tables)
9 Months Ended
Apr. 30, 2022
Fair Value Disclosures [Abstract]  
Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis
Assets and liabilities measured at fair value on a recurring basis were as follows (in millions):
 APRIL 30, 2022JULY 31, 2021
FAIR VALUE MEASUREMENTSFAIR VALUE MEASUREMENTS
 Level 1Level 2Total
Balance
Level 1Level 2Total
Balance
Assets:
Cash equivalents:
Money market funds$3,119 $— $3,119 $5,694 $— $5,694 
U.S. government securities— 50 50 — 300 300 
Non-U.S. government and agency securities— 23 23 — — — 
Corporate debt securities— 43 43 — — — 
Commercial paper— 238 238 — 114 114 
Certificates of deposit— 40 40 — — — 
Available-for-sale debt investments:
U.S. government securities— 1,300 1,300 — 1,794 1,794 
U.S. government agency securities— 146 146 — 152 152 
Non-U.S. government and agency securities— 171 171 — 
Corporate debt securities— 8,479 8,479 — 8,910 8,910 
U.S. agency mortgage-backed securities— 2,058 2,058 — 2,862 2,862 
Commercial paper— 548 548 — 1,190 1,190 
Certificates of deposit— 212 212 — 295 295 
Equity investments:
Marketable equity securities242 — 242 137 — 137 
Other assets:
Money market funds750 — 750 750 — 750 
Derivative assets— 65 65 — 126 126 
Total$4,111 $13,373 $17,484 $6,581 $15,746 $22,327 
Liabilities:
Derivative liabilities$— $87 $87 $— $20 $20 
Total$— $87 $87 $— $20 $20