FORMAT() Not Working in Calculated Field
Posted: 2021-08-29 15:47
I am trying to use the following FORMAT() function to format the number to have a 'Thousands' comma (e.g., 20000 --> 20,000)
but for some reason it does not do anything when used in Calculated Field (field name REMAINING), i.e., the number calculated or result is not formatted !!
For instance, if I enter 30000 in Estimated_Cost and 10000 I get the total in 20000 (not 20,000)
While the same command runs successfully in PHPMyAdmin
SELECT FORMAT( ( COALESCE(Estimated_Cost, 0) - COALESCE(Actual_Cost, 0) ), 0)
FROM Network_2022
WHERE Network_2022.id = '%ID%'
Any Clue ?
but for some reason it does not do anything when used in Calculated Field (field name REMAINING), i.e., the number calculated or result is not formatted !!

For instance, if I enter 30000 in Estimated_Cost and 10000 I get the total in 20000 (not 20,000)
While the same command runs successfully in PHPMyAdmin

SELECT FORMAT( ( COALESCE(Estimated_Cost, 0) - COALESCE(Actual_Cost, 0) ), 0)
FROM Network_2022
WHERE Network_2022.id = '%ID%'
Any Clue ?