Thank you, Juan. We start by looking at the SMB segment on page four, where sales landed at 1.5 billion, or 10.9% below last year. Eve mentioned that the continued economic uncertainty is still affecting demand in all markets. As in previous quarters, we saw low demand for computers and mobile phones. While the share of software and service sales increased somewhat, rising just above 12% due to a healthy trend for contracted recurring services in the Nordics. Combined with the weak hardware sales, there's been a lot of normal promotional sales due to clearance of supplier stocks ahead of the launch of AI-compatible PCs, which puts some pressure on gross margin.
This has been partly offset by a better mix and continued price discipline, but cost-saving programs have had a positive impact on overall costs but have been offset by cost inflation and currency effects over the weekend. I will come back to this later in the presentation. So, the lower sales, combined with the largely fixed cost base, have led to negative operational leverage and hence lower segment margins. All in all, the segment margin ended at 2.5% compared to 3.9% last year, and the total segment result ended at 37 million, compared to last year's 65 million. Going to page five, we look at the LCP segment, where sales in LCP were 4.0 billion in the quarter, up 1.2% year-on-year, helped by currency effects and organic growth was -0.8%.
This also represents a sequential growth versus a low Q2. As noted before, we have seen some volatility between quarters. The public sector was an important driver of the improvement, coming in with several new framework agreements, while the performance in large corporates was slower. From a geographical perspective, IT sales performance was strongest in Denmark and Norway. Gross margin slightly declined in the quarter, mainly due to new framework agreements with initially lower margins.
Margins were also negatively impacted by the country mix. On the other hand, we saw an increased share of sales reported on a net basis according to IFRS 15, which had a positive impact on the gross margin for the quarter. In these cases, only the gross margin is reported as sales. That results in a 100% gross margin. In addition, we had a sharp increase in take-back activities, which had a positive impact on margin enhancement.
We will come back to this later in the presentation. Stability remained fairly consistent. In total, the segment result was 130 million versus 141 million SEK last year, and the margin ended at 3.3% compared to 3.6% last year. On page six, we look at our cost development, which continues to focus on extracting synergies from integrations along with cost-cutting activities has improved the cost base, mainly due to a reduction in fees, which is down 9% from the beginning of the fiscal year 2022/23 and 5% year-on-year in the quarter.
However, cost reduction activities and a reduced number of fees could not fully offset cost inflation and currency fluctuations in the quarter, and the total cost was up 2%. We continue our optimization journey. For example, we still aim to capture further synergies from ERP harmonization, and overall, we aim to strike a balance between efficiency activities and being ready for when the market turns. Coming to page seven, we look at networking capital development and networking capital. Capital improved by over 180 million compared to the same quarter last year and ended at -200 million. So, we're back to negative numbers. This was partly driven by inventory reduction, which decreased by 106 million compared to last year, now standing at 925 million. Inventory is currently at a balanced and normalized level, which we aim to maintain in the upcoming quarters. There are minor movements up and down, of course, but we are still able to deliver on our service levels. Both accounts receivable and payables increased, mainly related to business volumes from last year. Payables were also affected by the timing of deliveries within specific major customer agreements, where we benefited from favourable payment terms. Overall, net working capital has bounced back from the high levels seen in Q2.
We always experience some timing effects in individual quarters, but our long-term target for net working capital remains around negative 100 million. We then move to cash flow and capital expenditures. On slide eight, summarizing what we've covered up until now. Despite the low result, cash flow for the period was $340 million. Looking at the details, we see that cash flow from operating activities before changes in working capital was 81 million, compared to last year's 146 million. The difference was mainly driven by higher taxes paid.
Cash flow from changes in working capital was 373 million, compared to last year's 289 million, primarily affected by the change in payables as previously described. Overall, the operating cash flow totaled 454 million. Second quarter cash flow from investing activities was negative 65 million, compared to negative 58 million last year. More on this in just a moment. Cash flow from financing activities was negative 49 million, which was flat compared to last year. Moving to capital expenditures, the total investments for the quarter were 149 million, affecting the cash flow by 65 million.
The majority of the 65 million was capital related to development, primarily the new common IP platform, which is crucial for our future operational efficiency and investments in tangible and intangible assets totalling 78 million, of which only 20 million affected the cash flow. The non-cash items mainly consisted of lease contracts.