Significant Accounting Policies | Significant Accounting Policies Principles of Consolidation and Basis of Presentation Our consolidated financial statements are presented in accordance with accounting standards generally accepted in the United States of America, or U.S. GAAP, and include the accounts of Alteryx, Inc. and its wholly owned subsidiaries after elimination of intercompany transactions and balances. Prior to December 31, 2018, we met the definition of an emerging growth company, or EGC, under the Jumpstart Our Business Startups Act, or the JOBS Act. While we maintained EGC status, we were allowed under the JOBS Act to delay adoption of new or revised accounting pronouncements applicable to public companies until such pronouncements were made applicable to private companies and we elected to use this extended transition period. Effective as of December 31, 2018 we no longer qualified as an EGC and could no longer take advantage of this extended transition period. As a result, we adopted certain accounting pronouncements during the fourth quarter of 2018 which are applicable for our annual reporting period for the year ended December 31, 2018. We adopted the new revenue recognition accounting standard, codified as Accounting Standards Codification, or ASC 606, Revenue from Contracts with Customers , or ASC 606, effective January 1, 2018 on a modified retrospective basis (see Recently Adopted Accounting Pronouncements). Financial results for reporting periods during 2018 are presented in compliance with the new revenue recognition standard. Historical financial results for reporting periods prior to 2018 are presented in conformity with amounts previously disclosed under the prior revenue recognition standard, ASC 605, Revenue Recognition, or ASC 605. These financial statements include additional information regarding the impacts from the adoption of the new revenue recognition standard on our financial results for the year ended December 31, 2018 and also include the presentation of financial results for the year ended December 31, 2018 under ASC 605 for comparison to the prior year. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, disclosure of contingent liabilities at the date of the consolidated financial statements, and the reported amounts of revenue and expenses during the reporting period. Actual results could differ from these estimates and assumptions. On an ongoing basis, our management evaluates estimates and assumptions based on historical data and experience, as well as various other factors that our management believes to be reasonable under the circumstances, the results of which form the basis for making judgments about the carrying value of assets and liabilities. Concentration of Risk Financial instruments, which subject us to concentrations of credit risk, consist primarily of cash and cash equivalents, investments, and trade accounts receivable. We maintain our cash and cash equivalents and investments with three major financial institutions and a portion of such balances exceed or are not subject to Federal Deposit Insurance Corporation, or FDIC, insurance limits. We extend differing levels of credit to customers, do not require collateral deposits, and, when necessary, maintain reserves for potential credit losses based upon the expected collectability of accounts receivable. We manage credit risk related to our customers by following credit approval processes, establishing credit limits, performing periodic evaluations of credit worthiness and applying other credit risk monitoring procedures. Accounts receivable include amounts due from customers with principal operations primarily in the United States. As of December 31, 2018 one of our distributors made up 10.1% of our total accounts receivable balance. No other customers accounted for 10% or more of our accounts receivable balance or 10% or more of our revenue in any years presented. Fair Value of Financial Instruments We utilize valuation techniques that maximize the use of observable inputs and minimize the use of unobservable inputs to the extent possible. We determine fair value based on assumptions that market participants would use in pricing an asset or liability in the principal or most advantageous market. When considering market participant assumptions in fair value measurements, the following fair value hierarchy distinguishes between observable and unobservable inputs, which are categorized in one of the following levels: Level 1 Unadjusted quoted prices in active markets for identical assets or liabilities at the measurement date. Level 2 Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active near the measurement date; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. The fair value of our money market funds was determined based on “Level 1” inputs. The fair value of certificates of deposit, U.S. Treasury and agency bonds, and corporate bonds were determined based on “Level 2” inputs. The valuation techniques used to measure the fair value of certificates of deposit included observable market-based inputs for similar assets, which primarily include yield curves and time-to-maturity factors. The valuation techniques used to measure the fair value of U.S. Treasury and agency bonds and corporate bonds included standard observable inputs, including reported trades, quoted market prices, matrix pricing, benchmark yields, broker/dealer quotes, issuer spreads, two-sided markets or benchmark securities and data provided by third parties as many of the bonds are not actively traded. There were no marketable securities measured on a recurring basis in the “Level 3” category. We have not elected the fair value option as prescribed by ASC 825, The Fair Value Option for Financial Assets and Financial Liabilities , for our financial assets and liabilities that are not otherwise required to be carried at fair value. Under ASC 820, Fair Value Measurements and Disclosures, or ASC 820, material financial assets and liabilities not carried at fair value, such as our convertible senior notes and accounts receivable and payable, are reported at their carrying values. Cash and Cash Equivalents and Restricted Cash We consider cash and cash equivalents to include short-term, highly liquid investments that are readily convertible to known amounts of cash and so near their maturity that they present an insignificant risk of changes in the value, including investments that mature within three months from the date of original purchase. Amounts receivable from a credit card processor of approximately $0.4 million and $0.7 million as of December 31, 2018 and 2017 , respectively, are considered cash equivalents because they were both short-term and highly liquid in nature and are typically converted to cash within three days of the sales transaction. We had restricted cash of $1.0 million and $0.2 million as of December 31, 2018 and 2017 , respectively. This balance, presented in other assets on the consolidated balance sheet, relates to amounts required to be restricted as to use by our letter of credit associated with one of our leases and by our credit card processor. Investments in Marketable Securities Our investments consist of available-for-sale marketable securities. The classification of investments is determined at the time of purchase and reevaluated at each balance sheet date. We classify investments as current or non-current based on the nature of the securities as well as their stated maturities. Investments are stated at fair value. The net unrealized gains or losses on available-for-sale securities are recorded as a component of accumulated other comprehensive loss, net of income taxes. At each balance sheet date, we assess available-for-sale securities in an unrealized loss position to determine whether the unrealized loss is other than temporary. We consider factors including the significance of the decline in value as compared to the cost basis, underlying factors contributing to a decline in the prices of securities in a single asset class, how long the market value of the security has been less than its cost basis, the security’s relative performance versus its peers, sector or asset class, expected market volatility, and the market and economy in general, and, if determined to be other than temporary, will record an other than temporary impairment charge. Accounts Receivable, Allowance for Doubtful Accounts, and Sales Reserves Our accounts receivable consist of amounts due from customers and are typically unsecured. Accounts receivable are recorded at the invoiced amount and are non-interest bearing. The allowance for doubtful accounts is estimated and established by assessing individual accounts receivable over a specific age and dollar value, and all other balances are pooled based on historical collection experience. Additions to the allowance are charged to general and administrative expenses. Accounts receivable are written off against the allowance when an account balance is deemed uncollectible. We estimate a sales reserve based upon the historical adjustments made to customer billings. Such reserve is recorded as a reduction of revenue and deferred revenue. Assets Recognized from the Costs to Obtain a Contract with a Customer We record an asset for the incremental costs of obtaining a contract with a customer, including, for example, sales commissions and partner referral fees that are earned upon execution of contracts. We pay commissions for new product sales as well as for renewals of existing contracts, and partner referral fees only for new product sales. For customer contracts in which the commissions paid on new business and renewals are commensurate, we generally amortize these costs over the contractual term of the contract, consistent with the pattern of revenue recognition for each performance obligation. For customer contracts in which the commissions paid on new business and renewals are not commensurate and for partner referral fees, we amortize the costs on new business over an expected period of benefit, which we have determined to be approximately four years. The expected period of benefit was determined by taking into consideration our customer contracts, the duration of our relationships with our customers and the useful life of our technology. In capitalizing and amortizing deferred commissions and partner referral fees, we have elected to apply a portfolio approach. We include amortization of deferred commissions and partner referral fees in sales and marketing expense in our consolidated statements of operations. For the years ended December 31, 2018 , 2017 , and 2016 , we amortized to sales and marketing expense approximately $18.5 million , $11.3 million , and $9.4 million , respectively. See further discussion regarding the adoption of the provisions of ASC 606, including the provisions of subtopic 340-40, under Recently Adopted Accounting Pronouncements below. Royalties We pay royalties associated with licensed third-party syndicated data sold with our platform and we recognize royalty expense to cost of revenue when incurred. For the years ended December 31, 2018 , 2017 , and 2016 , we recognized royalty expense of approximately $7.2 million , $9.4 million , and $6.0 million respectively. Under certain of our contractual arrangements we prepay royalties. Property and Equipment Property and equipment are stated at historical cost, less accumulated depreciation and amortization. Depreciation of property and equipment is calculated using the straight-line method over the estimated useful lives of the assets. Leasehold improvements are amortized on a straight-line basis over the shorter of their estimated useful lives or lease terms. Useful lives by asset category are as follows: Computer equipment 3 years Furniture and fixtures 3 to 7 years Leasehold improvement Shorter of useful life or lease term Repairs and maintenance costs are charged to expense as incurred. Upon the sale or retirement of property and equipment, the cost and the related accumulated depreciation or amortization are removed from the accounts, with any resulting gain or loss included in our consolidated statements of operations and comprehensive income (loss). Intangible Assets Intangible assets consist primarily of acquired developed technology. We determine the appropriate useful life of our intangible assets by performing an analysis of expected cash flows of the acquired assets. Intangible assets are amortized over their estimated useful lives of two to eight years, using the straight-line method, which approximates the pattern in which the economic benefits are consumed. Impairment of Long-Lived Assets We review our long-lived assets for impairment whenever events or changes in circumstances indicate the carrying amount of such assets may not be fully recoverable. Recoverability of these assets is determined by comparing the forecasted undiscounted cash flows attributable to such assets to their carrying value. If the carrying value of the assets exceeds the forecasted undiscounted cash flows, then the assets are written down to their fair value. Fair value is determined based on discounted cash flows or appraised values, depending upon the nature of the assets. Business Combinations The results of businesses acquired in a business combination are included in our consolidated financial statements from the date of the acquisition. We allocated the purchase price, including the fair value of any non-cash and contingent consideration, to the identifiable assets and liabilities of the relevant acquired business at their acquisition date fair values. Any excess consideration over the fair value of assets acquired and liabilities assumed is recognized as goodwill. Contingent consideration payable in cash or a fixed dollar amount settleable in a variable number of shares is classified as a liability and recorded at fair value, with changes in fair value recorded in general and administrative expenses each period. Transaction costs associated with business combinations are expensed as incurred, and are included in general and administrative expense in the consolidated statements of operations and comprehensive income (loss). We perform valuations of assets acquired, liabilities assumed, and contingent consideration and allocate the purchase price to its respective assets and liabilities. Determining the fair value of assets acquired, liabilities assumed, and contingent consideration requires us to use significant judgment and estimates including the selection of valuation methodologies, estimates of future revenue, costs and cash flows, discount rates, the probability of the achievement of specified milestones, and selection of comparable companies. We engage the assistance of valuation specialists in concluding on fair value measurements in connection with determining fair values of assets acquired, liabilities assumed, and contingent consideration in a business combination. Goodwill Goodwill represents the excess of the purchase price over the fair value of net assets acquired in a business combination. We test goodwill for impairment in accordance with the provisions of ASC 350, Intangibles – Goodwill and Other, ASC 350. Goodwill is tested for impairment at least annually at the reporting unit level or whenever events or changes in circumstances indicate that goodwill might be impaired. Events or changes in circumstances which could trigger an impairment review include a significant adverse change in legal factors or in the business climate, unanticipated competition, loss of key personnel, significant changes in the use of the acquired assets or our strategy, significant negative industry or economic trends, or significant underperformance relative to expected historical or projected future results of operations. ASC 350 provides that an entity has the option to first assess qualitative factors to determine whether the existence of events or circumstances leads to a determination that it is more likely than not that the fair value of a reporting unit is less than its carrying amount. If, after assessing the totality of events or circumstances, an entity determines it is not more likely than not that the fair value of a reporting unit is less than its carrying amount, then additional impairment testing is not required. However, if an entity concludes otherwise, then it is required to perform an impairment test. The impairment test involves comparing the estimated fair value of a reporting unit with its book value, including goodwill. If the estimated fair value exceeds book value, goodwill is considered not to be impaired. If, however, the fair value of the reporting unit is less than book value, then an impairment loss is recognized in an amount equal to the amount that the book value of the reporting unit exceeds its fair value, not to exceed the total amount of goodwill allocated to the reporting unit. We have one reporting unit and we test for goodwill impairment annually during the fourth quarter of each calendar year. At December 31, 2018 , we determined our goodwill was not impaired as our fair value significantly exceeded the carrying value of our net assets. Revenue Recognition - ASC 606 Our revenue is derived from the licensing of subscription-based software, data subscription services, and professional services, including training and consulting services. The subscription-based license includes access to hosted services and software and post-contract support, or PCS, which provides the customer the right to receive when-and-if-available unspecified future updates, upgrades and enhancements, and technical product support. We implemented the provisions of ASC 606, and all related appropriate guidance, effective as of January 1, 2018 under the modified retrospective method. The core principle of ASC 606 is to recognize revenue upon the transfer of goods or services to our customers in an amount that reflects the consideration to which we expect to be entitled. In order to adhere to this core principle, we apply the following five-step approach: • identify the contract with a customer; • identify the performance obligations in the contract; • determine the transaction price; • allocate the transaction price to the performance obligations in the contract; and • recognize revenue when (or as) we satisfy a performance obligation. We only apply the five-step model to contracts when it is probable that we will collect the consideration we are entitled to in exchange for goods or services we transfer to the customer. Revenue is measured based on consideration specified in a contract with a customer, and excludes any taxes we collect concurrent with revenue-producing activities. Most of our contracts contain a fixed transaction price. Our subscription agreements typically range from one to three years and are billed annually in advance with net payment terms of 60 days or less. The primary purpose of our payment and invoicing terms is to provide customers with predictable ways to purchase our software and services, and not to provide customers with financing. Our contracts with customers typically contain multiple performance obligations. A performance obligation is a promise in a contract to transfer a distinct good or service to the customer. All of our licenses are sold as subscription-based, on-premise, licenses and are bundled with maintenance and support, or PCS, and cloud-based offerings. In addition to our on-premise licenses, we sell subscriptions to third-party syndicated data and provide professional service offerings primarily related to trainings for our customers. We allocate the transaction price of the contract to each performance obligation using the relative standalone selling price, or SSP, of each distinct good or service in the contract. We determine estimates of SSP based on sales of goods and services sold on a standalone basis, our overall pricing strategies, market conditions, including the geographic locations in which the products are sold, and market data. We review the SSP for each of our performance obligations at least every financial reporting period and update it when appropriate to ensure that the practices employed reflect our recent pricing experience and maximize the use of observable data. We recognize revenue when we satisfy a performance obligation by transferring control of a good or service to a customer. Revenue related to our subscription-based licenses is recognized at a point in time when the platform is first made available to the customer, or the beginning of the subscription term, if later. Revenue related to PCS, cloud-based offerings, and data subscriptions is recognized ratably over the subscription terms. Professional services revenue is recognized when the services are provided to the customer, or when they expire. Revenue Recognition - ASC 605 We applied the provisions of ASC 605 to revenue recognized during each of the years ended December 31, 2017 and 2016. In Note 3, Revenue , we have presented a comparison of the results under ASC 606 and ASC 605 for the year ended December 31, 2018. Revenue is recognized when all four revenue recognition criteria have been met: persuasive evidence of an arrangement exists, the product has been delivered or the service has been performed, the fee is fixed or determinable, and collection is probable or reasonably assured. Determining whether and when some of these criteria have been satisfied often involves exercising judgment and using estimates and assumptions that can have a significant impact on the timing and amount of revenue that is recognized. Invoiced amounts have been recorded in accounts receivable and in deferred revenue or revenue, depending on whether the revenue recognition criteria have been met. We account for revenue from software and related products and services in accordance with ASC 985-605, Software, or ASC 985-605. For the duration of the license term, the customer receives coterminous PCS. We do not provide PCS on a standalone or renewal basis unless the customer renews the software subscription license and, as such, we are unable to determine vendor specific objective evidence of fair value, or VSOE, of PCS. Accordingly, revenue for the subscription-based software licenses and PCS is recognized ratably beginning on the date the license is first made available to the customer and continuing through the end of the subscription term. We also recognize revenue from the sale of a hosted version of our platform which is delivered pursuant to a hosting arrangement. Revenue from hosted services is recognized ratably beginning on the date the services are first made available to the customer and continuing through the end of the contractual service term. Hosted revenue arrangements are outside the scope of ASC 986-605 software revenue recognition guidance as customers do not have the right to take possession of the software code underlying our hosted solutions. Our arrangements may include the resale of third-party syndicated data content pursuant to subscription arrangements, and professional services. Data subscriptions provide the customer the right to receive data that is updated periodically over the term of the license agreement, and revenue is recognized ratably over the contract period once the customer has access to the data. We recognize revenue from the resale of third-party syndicated data on a gross basis when (i) we are the primary obligor, (ii) we have latitude to establish the price charged, and (iii) we bear credit risk in the transaction. Revenue from professional services, which is comprised primarily of training and consulting services, is recognized as the services are provided. Multiple Element Arrangements We enter into multiple element revenue arrangements in which a customer may purchase a combination of software, data, and services. For multiple element arrangements that contain only software and software-related elements, revenue is allocated and deferred for the undelivered elements based on their VSOE. In situations where VSOE exists for all elements (delivered and undelivered), the revenue to be earned under the arrangement among the various elements is allocated based on their relative fair value. For arrangements where VSOE exists only for the undelivered elements, the full fair value of the undelivered elements is deferred and the difference between the total arrangement fee and the amount deferred for the undelivered items is recognized as revenue. If VSOE does not exist for an undelivered service element, the revenue from the entire arrangement is recognized over the service period, once all services have commenced. Changes in assumptions or judgments or changes to the elements in a software arrangement could cause a material increase or decrease in the amount of revenue recognized in a particular period. VSOE is determined for each element, or a group of elements sold on a combined basis, such as our software and PCS, based on historical standalone sales to third parties or the price to be charged when the product or service, or group of products or services, is available. In determining VSOE, a substantial majority of the selling price for a product or service must fall within a reasonably narrow pricing range. Revenue related to the delivered products or services is recognized only if (i) the above revenue recognition criteria are met, (ii) any undelivered products or services are not essential to the functionality of the delivered products and services, (iii) payment for the delivered products or services is not contingent upon delivery of the remaining products or services, and (iv) there is an enforceable claim to receive the amount due in the event that the undelivered products or services are not delivered. For multiple-element arrangements that contain both software and non-software elements, revenue is allocated on a relative fair value basis to software or software-related elements as a group and any non-software elements separately based on the selling price hierarchy. The selling price for each deliverable is determined using VSOE of selling price, if it exists, or third-party evidence of fair value, or TPE. If neither VSOE nor TPE exist for a deliverable, best estimate of selling price, or BESP, is used. Once revenue is allocated to software or software-related elements as a group, revenue is recognized in accordance with software revenue accounting guidance. Revenue allocated to non-software elements is recognized in accordance with SEC Staff Accounting Bulletin Topic 13, Revenue Recognition . Revenue is recognized when revenue recognition criteria are met for each element. Judgment is required to determine VSOE or BESP. For VSOE, we consider multiple factors including, but not limited to, product types, geographies, sales channels, and customer sizes and, for BESP, we also consider market conditions, competitive landscape, internal costs, gross margin objectives, and pricing practices. Pricing practices taken into consideration include historic contractually stated prices, volume discounts, where applicable, and price lists. BESP is generally used for offerings that are not typically sold on a standalone basis or when the selling prices for a product or service do not fall within a reasonably narrow pricing range. Revenue generated from sales arrangements through distributors is recognized in accordance with our revenue recognition policies as described above at the amount invoiced to the distributor. We recognize revenue at the net amount invoiced to the distributor, as opposed to the gross amount the distributor invoices their end customer, as we have determined that (i) we are not the primary obligor in these arrangements, (ii) we do not have latitude to establish the price charged to the end-customer, and (iii) we do not bear credit risk in the transaction with the end-customer. Deferred Revenue Deferred revenue includes amounts collected or billed in excess of revenue recognized. We recognize such amounts as revenue over the life of the contract upon meeting the revenue recognition criteria. Deferred revenue that will be recognized during the succeeding 12-month period is recorded as current deferred revenue and the remaining portion is recorded as non-current deferred revenue in our consolidated balance sheet, as adjusted for ASC 606 effective January 1, 2018. Cost of Revenue Cost of revenue is accounted for in accordance with ASC 705, Cost of Sales and Services , and consists of employee-related costs, including salaries and bonuses, stock-based compensation expense, and employee benefit costs associated with our customer support and professional services organizations, expenses related to hosting and operating our cloud infrastructure in a third-party data center, licenses of third-party syndicated data, amortization of acquired completed technology intangible assets, and related overhead expenses. Out-of-pocket travel costs related to the delivery of professional services are typically reimbursed by the customers and are accounted for as both revenue and cost of revenue in the period in which the cost is incurred. Research and Development Research and development expense consists primarily of employee-related costs, including salaries and bonuses, stock-based compensation expense, and employee benefits costs, depreciation of equipment used in research and development for our research and development employees, third-party contractor costs, and related allocated overhead costs. Product development expenses, other than software development costs qualifying for capitalization, are expensed as incurred. Software Development Costs Costs incurred in the development of new software products and enhancements to existing software products to be accounted for under software revenue recognition guidance are accounted for in accordance with ASC 985-20, Costs of Software to be Sold, Leased, or Marketed, or ASC 985-20. These costs, consisting primarily of salaries and related payroll costs, are expensed as incurred until technological feasibility has been established. After technological feasibility is established, costs are capitalized in accordance with ASC 985-20. Because our process for developing software is completed concurrently with the establishment of technological feasibility, no internally generated software development costs have been capitalized as of December 31, 2018 , and 2017 . We account for costs to develop or obtain internal-use software in accordance with ASC 350-40, Internal-Use Software, or ASC 350-40. We also account for costs of significant upgrades and enhancements resulting in additional functionality under ASC 350-40. These costs are primarily software purchased for internal-use, purchased software licenses, implementation costs, and development costs related to our hosted product which is accessed by customers on a subscription basis. Costs incurred for maintenance, training, and minor modifications or enhancements are expensed as incurred. Internal-use software is amortized on a straight-line basis over its estimated useful life, which is generally three years. Management evaluates the useful lives of these assets on an annual basis and tests for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. Development costs related to internal-use software were insignificant during the years ended December 31, 2018 , and 2017 and, therefore, have not been capitalized. Advertising Costs Advertising costs are expensed as incurred. We incurred advertising costs of approximately $9.1 million , $5.5 million , and $5.0 million for the years ended December 31, 2018 , 2017 , and 2016 , respectively. Such costs primarily relate to our annual customer conferences, online and print advertising as well as sponsorship of public marketing events, and are reflected in sales and marketing expense in our consolidated statements of operations and comprehensive income (loss). Stock-Based Compensation We recognize stock-based com |