Error in M language while Calculating Fiscal Quarter Errors: Expected to find a right parenthesis <‘)’>, but a keyword <‘then’> was found instead