Hi @PierreJoubert ,
Could you please share a bit more about your scenario?
Do you mean that the Zero value (0) within the Whole field in your CDS Entity displayed as blank within your app rather than 0?
Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:
Please consider take a try to re-generate a new app based on your CDS Entity, then check if the issue is solved.
Also please consider remove the Whole number field from your CDS Entity, then add a new one, then edit your CDS Entity data in Excel (click "Edit data in Excel" option), populate Zero value (0) within the new added Whole Number field, and publish the modification. After that, generate an app based on your CDS Entity, check if the issue has been fixed.
If the issue still exists, as an alternative solution, you could consider take a try with the following workaround:
Within your Gallery, set the Text property of the Label to following:
If(
IsBlank(ThisItem.WholeNumberColumn),
0,
ThisItem.WholeNumberColumn
)
Within your Edit form, set the Default property of the Whole Number field Text Input box to following:
If(
IsBlank(ThisItem.WholeNumberColumn),
0,
ThisItem.WholeNumberColumn
)
Please take a try with above solution, check if the issue is solved.
Best regards,