Water Services. Revenue decreased $29.6 million, or 6.5%, to $422.6 million for the Current Period compared to $452.2 million for the Prior Period. The decrease was primarily due to lower water transfer and fluids hauling revenue primarily attributable to reduced activity and pricing pressure, partially offset by increases in revenues from flowback and well testing, rentals and containment.
Water Infrastructure. Revenue decreased by $4.5 million, or 4.1%, to $105.3 million for the Current Period compared to $109.8 million for the Prior Period, primarily due to reduced activity on our Bakken pipeline system.
Oilfield Chemicals. Revenue increased $1.4 million, or 1.1%, to $129.8 million for the Current Period compared to $128.4 million for the Prior Period, primarily due to higher friction reducer sales stemming from larger manufacturing capacity from our Midland, Texas plant, which more than offset the declining sale of guar related products.
Other. Other revenue decreased $50.5 million, or 63.7%, to $28.8 million for the Current Period compared to $79.2 million in the Prior Period as our Affirm subsidiary, sand hauling operations and Canadian operations were divested and wound down.
Costs of Revenue
Costs of revenue decreased $64.4 million, or 9.7%, to $600.6 million for the Current Period compared to $665.0 million for the Prior Period. The decrease was primarily due to $40.4 million lower costs from the combination of our Affirm subsidiary, sand hauling operations and Canadian operations, all of which were divested and wound down during the Current Period. Also impacting the decrease was $22.9 million lower Water Services costs, primarily due to aligning our cost structure to lower revenue, further discussed below.
Water Services. Cost of revenue decreased $22.9 million, or 6.7%, to $318.3 million for the Current Period compared to $341.2 million for the Prior Period. Cost of revenue as a percent of revenue was relatively flat, moving from 75.5% to 75.3%.
Water Infrastructure. Cost of revenue increased $1.9 million, or 2.4%, to $79.9 million for the Current Period compared to $78.0 million for the Prior Period. Cost of revenue as a percent of revenue increased from 71.0% to 75.8% primarily due to a decline in contribution from our high-margin Bakken pipeline system.
Oilfield Chemicals. Costs of revenue decreased $2.0 million, or 1.7%, to $113.6 million for the Current Period compared to $115.6 million for the Prior Period. Cost of revenue as a percent of revenue decreased from 90.0% to 87.5% due primarily to freight cost-savings from our Midland, Texas plant.
Other. Other costs decreased $40.4 million, or 58.6%, to $28.5 million for the Current Period compared to $68.9 million in the Prior Period, primarily due to the divestitures discussed above.
Depreciation and Amortization. Depreciation and amortization expense decreased $1.0 million, or 1.6%, to $60.4 million for the Current Period compared to $61.3 million for the Prior Period.
Gross Profit
Gross profit decreased by $18.7 million, or 17.9%, to a gross profit of $85.9 million for the Current Period compared to a gross profit of $104.7 million for the Prior Period, primarily due to $10.1 million lower gross profit from the combination of our Affirm subsidiary, sand hauling operations and Canadian operations, all of which were divested and wound down during the Current Period. Also impacting the decrease was $6.6 million lower gross profit from Water Services and $6.4 million lower gross profit from Water Infrastructure discussed above. These were partially offset by $3.4 million higher gross profit from Oilfield Chemicals and $1.0 million lower depreciation costs discussed above. Gross margin as a percent of revenue was 12.5% and 13.6% in the Current Period and Prior Period, respectively.