SEGMENT INFORMATION (Tables)
6 Months Ended
Jan. 31, 2017
Segment Reporting [Abstract]  
Schedule of Revenue by Geographic Area
The following table sets forth revenue by geographic area based on bill-to location (in thousands):
 
Three Months Ended
January 31,
 
Six Months Ended
January 31,
 
2016
 
2017
 
2016
 
2017
U.S.
$
61,720

 
$
102,173

 
$
118,448

 
$
205,044

Europe, the Middle East and Africa
20,982

 
33,272

 
37,343

 
57,520

Asia-Pacific
13,681

 
37,382

 
24,835

 
66,290

Other Americas
6,314

 
9,368

 
9,827

 
20,150

Total revenue
$
102,697


$
182,195

 
$
190,453

 
$
349,004