Goal
I want to display numeric fields (such as table.Summe and table.Betrag) in Swiss formatting (1'035.45), while also allowing them to be filterable in Retool. Retool currently interprets the values as strings (not numbers) due to the presence of ' as a thousand separator, which blocks number-based functionality like filtering.
Challenges
- Formatting Issue: Retool does not natively accept
'as a thousand separator for numbers. - Filter Functionality: Filtering fails because Retool considers
'invalid for number formats, shows each value as 0. - Type Conversion: Since the fields are converted to strings for display formatting, they lose their numeric type, making numeric operations (like sum or filter) problematic.
Steps Taken So Far
I formatted numbers in CH format using the Intl.NumberFormat method:
{{ new Intl.NumberFormat('de-CH', { minimumFractionDigits: 2, maximumFractionDigits: 2 }).format(currentSourceRow.betrag) }}
-
This successfully displays the numbers with
'as the thousand separator and.as the decimal place. -
When it is string it shows:
- When it is number all values are 0:

MY Question:
- How can I format the numbers in my table to fit into Swiss formatting (
1'035.45) instead of (1,035.45) and still keep it as a number for filtering purposes?




