Link formatting

I'm linking dimensions to a spreadsheet for some math to be aplied to the linked dimension. Only I can't perform any math on a link that contains units. How do I remove the units from a linked dimension?