Skip to content

Data Formatting ​

Data Formatting instructions set the number format applied to data cells associated with the working list. They're Workview-specific - Cards and Excel handle number formatting at the component/cell level instead, so these instructions are simply skipped outside a Workview.

InstructionFormat patternExample output
Format 0,000Whole number, thousand separators1,234,568
Format 0,000.0One decimal place1,234,567.9
Format 0,000.00Two decimal places1,234,567.89
Format 0,000.000Three decimal places1,234,567.890
Format 0,000.0000Four decimal places1,234,567.8900
Format 0,000.00000Five decimal places1,234,567.89000
Format 0%Percentage, no decimals12%
Format 0.0%Percentage, one decimal12.3%
Format 0.00%Percentage, two decimals12.30%
Format 0.000%Percentage, three decimals12.300%
Format Items Using The Next InstructionApplies formatting to only the element(s) the next instruction specifies, rather than the whole working list.
Ignore New Formatting On Prior MembersA boundary marker - formatting instructions added after this point stop applying to elements added before it.

For formula-driven formatting - where the format itself depends on the element or context - see Apply Number Formatting Using Formula under Advanced Functions. These ten instructions are named shortcuts for the ten most common patterns in MODLR's underlying format syntax - see MODLR Number Formats for the full pattern reference (including k/m/b abbreviations with no dedicated Set Instruction) and how to reproduce the same formatting in a Card.

The same raw value formatted six different ways

The same raw value formatted four different ways

A format instruction applies to everything above it, until told otherwise ​

A Format instruction doesn't just format the element you just added - it applies to the entire working list built so far. In a set with mixed measures (some percentages, some currency), the last format instruction silently overrides any earlier one unless you mark a boundary with Ignore New Formatting On Prior Members:

1. Element: Units
2. Format 0,000
3. Ignore New Formatting On Prior Members
4. Element: Margin %
5. Format 0.00%

Without step 3, the 0.00% format from step 5 would apply retroactively to Units as well, overriding the 0,000 format set in step 2.

Without the boundary, the later percentage format overrides the earlier one retroactively; with it, each group keeps its own format