How to create on-demand subreports caption into number value

So, so I have a custom report to display a list of costs, and each list displays the total cost per category and there is a navigate function using the on-demand subreport to display detailed costs per category. when I want to export the custom report to excel for summing, the column cannot be summed. this is because the on-demand subreport caption that I use to display the cost per category must output a string value. My question is, is it possible to use a number value, so that when it is exported to excel it can be sum() and what is the best practice? Thank You.

this is my formula using On-demand Subreport caption [x-2]

  • 0

    I've never used that before. I'm interested to see what, if any, the answer is.

    You might be stuck. By definition, a caption is a text value. You might consider adding a macro to your spreadsheet to do the final bit of retouching to the values to convert and format them they way you want.