XML 18 R4.htm IDEA: XBRL DOCUMENT v3.19.1
CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Apr. 30, 2019
Apr. 30, 2018
Apr. 30, 2019
Apr. 30, 2018
Revenue:        
Total revenue $ 287,624 $ 289,413 $ 936,267 $ 851,709
Cost of revenue:        
Total cost of revenue 75,077 95,615 235,165 312,765
Gross profit 212,547 193,798 701,102 538,944
Operating expenses:        
Sales and marketing 245,703 169,860 655,907 466,466
Research and development 137,982 81,291 371,550 216,727
General and administrative 33,040 24,929 89,167 56,929
Total operating expenses 416,725 276,080 1,116,624 740,122
Loss from operations (204,178) (82,282) (415,522) (201,178)
Other expense, net (3,212) (4,235) (10,314) (5,285)
Loss before (benefit from) provision for income taxes (207,390) (86,517) (425,836) (206,463)
(Benefit from) provision for income taxes 2,423 (843) 1,005 3,329
Net loss $ (209,813) $ (85,674) $ (426,841) $ (209,792)
Net loss per share attributable to common stockholders—basic and diluted (in dollars per share) $ (1.15) $ (0.51) $ (2.38) $ (1.30)
Weighted-average shares used in computing net loss per share attributable to common stockholders—basic and diluted (in shares) 182,962,921 166,845,544 179,235,498 161,709,365
Product        
Revenue:        
Total revenue $ 184,794 $ 221,117 $ 646,072 $ 663,339
Cost of revenue:        
Total cost of revenue 29,528 66,680 114,755 235,059
Professional Services        
Revenue:        
Total revenue 102,830 68,296 290,195 188,370
Cost of revenue:        
Total cost of revenue $ 45,549 $ 28,935 $ 120,410 $ 77,706