Table:
|  |  |  | Year Ended December 31, |  |  |
| --- | --- | --- | --- | --- | --- |
| (In thousands) | 2019 | 2018 | 2017 | 2019 % Change from 2018 | 2018 % Change from 2017 |
| Revenue | $161,216 | $140,326 | $69,879 | 14.9% | 100.8% |
| Gross profit | $104,896 | $100,708 | $43,817 | 4.2% | 129.8% |
| Gross margin % | 65.1% | 71.8% | 62.7% |  |  |
| Income from operations | $43,996 | $43,641 | $23,816 | 0.8% | 83.2% |
| Operating margin % | 27.3% | 31.1% | 34.1% |  |  |
Paragraphs:
Veradigm
Our Veradigm segment derives its revenue from the provision of data-driven clinical insights with actionable tools for clinical workflow, research, analytics and media. Its solutions, targeted at key healthcare stakeholders, help improve the quality, efficiency and value of healthcare delivery – from biopharma to health plans, healthcare providers and patients, and health technology partners, among others.
Year Ended December 31, 2019 Compared with the Year Ended December 31, 2018
Veradigm revenue increased during the year ended December 31, 2019 compared with the prior year comparable period due to an increase in organic sales. Gross profit and income from operations increased for during the year ended December 31, 2019 due to an increase in organic sales and cost reductions partially offset with headcount growth and hosting migration costs. The acquisition of Practice Fusion during the first quarter of 2018 also contributed to the increases.
Gross margin and operating margin decreased during the year ended December 31, 2019, compared with the prior year comparable period, primarily due to (i) an increase in hosting migration costs, (ii) costs associated with recent acquisitions, (iii) headcount growth and (iv) partially offset with other cost reductions.
Year Ended December 31, 2018 Compared with the Year Ended December 31, 2017
Veradigm revenue, gross profit, gross margin and income from operations increased during the year ended December 31, 2018 compared with the prior year comparable period primarily due to the acquisition of Practice Fusion during the first quarter of 2018. Operating margin decreased during 2018 primarily due to higher personnel costs related to incremental resources from the Practice Fusion acquisition and to support anticipated new hosting client golives.
Question:
What led to decrease in Gross margin and operating margin during the year ended December 31, 2019?
Answer: (i) an increase in hosting migration costs, (ii) costs associated with recent acquisitions, (iii) headcount growth and (iv) partially offset with other cost reductions.