I have the following label item (P5_CAT_CODE):

When value is 1 I would like to get it displayed in the label box as 0001.

I tried to apply format mask without success:

As you can see retrieving the database value still displays '1' instead of '0001':

Any tips?