Convert Numbers to European Format When Querying from a Database

I am querying data from a database into a table in Perspective. I have changed the session locale to Danish (da-DK) and also changed the regional settings in Windows to use European number formatting. However, the numbers in my table are still displayed using the American format (e.g., 1,000,000.00 instead of 1.000.000,00). How can I display the numbers using European formatting?

This looks like a long standing bug. Try the workaround in this post which seems to refresh the number format for the entire page: