community postAL Developmentcommunity - not Microsoftreviewed - checked by Opus

Dynamics 365 Business Central: How to change Zero (0) of Flowfield field to Dash (-) on the page

FlowField values can display a dash instead of zero using the BlankZero property on page fields, which works for both standard and custom fields but not editable fields.

post Dynamics 365 Lab

Yun Zhu · 2025-06-12 · 310 words · about 1 min

"FlowFields display the result of the calculation described in the CalcFormula Property."

Key points

  • FlowFields calculate and display results based on CalcFormula, such as inventory sums from ledger entries
  • The BlankZero property set to true hides zero values and displays them as blank or dash on pages
  • This formatting approach applies to custom fields and methods returning numbers, but does not work for editable fields
  • AutoFormatExpression and AutoFormatType properties control the underlying zero format behavior

Quotes

  • “FlowFields display the result of the calculation described in the CalcFormula Property.” (Explains the core purpose of FlowFields in calculating and displaying derived values from base tables)
  • “Just use the BlankZero Property.” (Provides the simple solution for replacing zero display with dash or blank on pages)
  • “This does not work for editable fields.” (Important limitation that prevents users from applying this approach to all field types)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

No source states these links: they share an object, a model read them, or a person found the same subject.

Heads up

  • gotcha: “But please note that this does not work for editable fields. This will normally display as 0.”

Context

  • Features: BlankZero property, FlowFields, CalcFormula, AutoFormatExpression, AutoFormatType

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.