Stephen Bramlage
Analyst · Wells Fargo
Thank you, Darren, and good morning. Each of the three areas of our business performed well in the quarter, and that's a testament to our business model and the execution of our teams. Total revenue for the quarter was $3.8 billion, a decrease of $585 million or 13% from the prior year due to the lower retail price of fuel. Total inside sales for the quarter were $1.4 billion, an increase of $103 million or 8% from the prior year. For the quarter, grocery and general merchandise sales increased by $74 million to $997 million, an increase of 8%. Prepared Food and Dispensed Beverage sales rose by $29 million to $373 million, an increase of 8.5%.
Results were also favorably impacted by operating approximately 3% more stores on a year-over-year basis. Retail fuel sales were down $669 million in the first quarter due to a 24% decrease in the average retail price per gallon, that was partially offset by a 3.6% increase in gallons sold to $714 million. The average retail price of fuel during this period was $3.40 a gallon compared to $4.49 a year ago. As a reminder, we define gross profit as revenue less cost of goods sold, but excluding depreciation and amortization.
Casey's had gross profit of $878 million in the first quarter, an increase of $42 million or 5% from the prior year. This is driven by higher inside gross profit of $52.2 million or 10.3%, partially offset by a decrease of $11.2 million or 3.6% in fuel gross profit. Inside gross profit margin was 40.6%, up 80 basis points from a year ago. The Grocery and General Merchandise margin was 34.1%, that's an increase of 20 basis points from the prior year. Slight increase was due to a favorable mix shift with further penetration of private label products, a lower LIFO charge than in the prior year and favorable vendor funding.
Prepared Food and Dispensed Beverage margin was 58.2%. That's up 260 basis points from prior year. The category margin benefited from lower commodity costs, specifically cheese which was $2.04 per pound for the quarter. That compared to $2.49 per pound last year, a decrease of 18%. This positively impacted PF&DB margin by approximately 130 basis points. Margin also benefited from a lower LIFO charge than the prior year as our input costs softened which had an approximate 120 basis point impact.
We are in the midst of adjusting certain benefits associated with our Casey's Rewards platform, and during the quarter, these onetime changes positively impacted PF&DB sales and margin by approximately $4.9 million. However, because we were concomitantly running a summer-long promotional campaign of $0.89 fountain drinks, we did not see much of a net benefit from the program change. Fuel margin for the quarter was 41.6 cents per gallon, down 3.1 cents per gallon from the all-time high prior year's quarterly CPG. Fuel gross profit benefited by $20.2 million from the sale of RINs and that's up $2.5 million from the same quarter in the prior year.
Total operating expenses were up 3.2% and or $17.6 million in the first quarter. Nearly 3% of the total operating expense increase is due to unit growth as we operated 82 more stores than the prior year. Credit card fees decreased approximately $6 million due to lower retail fuel prices and that offset essentially all remaining operating expense increases. Same-store employee expense was approximately flat as the increase in wage rates was offset by the reduction in same-store hours. Depreciation in the quarter was $82.9 million, that's up $6.6 million versus the prior year, primarily due to operating more stores. Net interest expense was $12.5 million in the quarter, down $1.3 million versus the prior year, aided by rising interest rates on our cash balances.
As a reminder, about 16% of our debt is floating rate. The effective tax rate for the quarter was 23.6% compared to 24.6% in the prior year. That decrease was driven by a onetime benefit that we recorded due to an income tax rate reduction in the state of Nebraska. Net income was up versus the prior year to $169.2 million, an increase of 10.7%. EBITDA for the quarter was $316.9 million compared to $293 million a year ago, an increase of 8.2%. Our balance sheet remains in excellent condition, and we have ample financial flexibility. On July 31, we had total available liquidity of $1.3 billion.
Furthermore, we have no significant maturities coming due until fiscal 2026. Our leverage ratio, calculated in accordance with our senior notes is now 1.7x. For the quarter, net cash generated by operating activities of $229 million less purchases of property and equipment of $69 million resulted in the company generating $160 million in free cash flow. That compares to generating $194 million in the prior year.
At the September meeting, the Board of Directors voted to maintain the quarterly dividend at $0.43 per share. During the first quarter, we also repurchased approximately $30 million of stock and have $370 million remaining on our existing share repurchase authorization.
Investing in EBITDA and ROIC accretive growth opportunities remains our primary capital allocation priority. But as we mentioned at our Investor Day, our balance sheet affords us the opportunity to be more opportunistic than in the recent past with regards to share repurchase. In our press release and during this call, we have and well mentioned several pending acquisitions. These acquisitions will be funded with cash on hand. The pending transaction with EG Group is subject to regulatory approval and is expected to close this calendar year. As a result of the pending transactions, Casey's expects to add at least 150 stores in fiscal 2024.
We will revisit the entire annual outlook following our second quarter earnings call. Our August results for the current quarter are as follows: Same-store sales, both inside and fuel gallons are slightly below the midpoint of their respective annual outlooks. Fuel CPG through August was in the high 30s.
At current spot, cheese prices are modestly favorable versus the prior year, but less so than we experienced in the first quarter. Total operating expenses will be near the high end of our annual growth range in the second quarter, and that's primarily due to timing. I'd now like to turn the call back over to Darren.