Deductions & credits

I am having similar difficulty with expensing a roof replacement on a commercial property.  TurboTax (Premier, desktop) asked me if I wanted to deduct the full value this year, I selected that option. The cost is $23K and there is sufficient profit to cover that deduction.  The program confirmed my "estimated expense" for this year of $23K. The asset summary shows it in the Section 179 column. But, it is not being deducted from the net profit??