How to: chapter numbering in heading as a field

Hello! How can I automatically number my chapters in the heading text?

What’s the goal
My document is made of the following pages:

  1. Prologue
  2. Chapter 1
  3. Chapter 2
  4. Chapter X

I want the number after “Chapter” to increase automatically each time I copy paste the title.
How can I get the chapter number as a field, starting from 1 at Chapter 1 (skipping Prologue) for every time the Chapter heading style is used? Because I’ve only made that style when I name a chapter.

My styles tree contains the following:

  • Heading 2 (unused)
    • Heading Chapter (inherits, actually used)

What I tried
I’ve found a field called Heading → Heading Number but when I use it it’s empty.

Your specification is ambiguous: do you require double numbering? Once in ordinary numbers at left and a second one at righr either in ordinary or Roman numbers?

This is possible but at the cost of a heavy manual operation for every heading.

To provide helpful answer, please provide OS name, LO version (exact release number not “the latest”) and save format.

This field returns “empty” until you have activated heading numbering. Have you configured it?