Hi All,
If someone could please assist me with this expression, it would be appreciated.
I am creating a CSV report from a sharepoint list. On the SP list there are look up columns and one of the columns is an account code in the format of 4-7006. On the sharepoint list the column is a text column.
I have gotten as far as this expression concat('4-7', formatNumber(float(split(item()?['Course_x003a__x0020_GL_x0020_Cod/Value'], '-')[sub(length(split(item()?['Course_x003a__x0020_GL_x0020_Cod/Value'], '-')), 1)]), '000'))
When I run the report it is inserting an additional number 7, that is 4-77006 instead of 4-7006. I've tinkered with the expression but I can't figure out where I'm going wrong.
If anyone is able to assist me with this, it would be appreciated, thanks Liz