I want textbox with no data to show as 0

Stimulsoft Reports.JS discussion
Post Reply
ericp
Posts: 41
Joined: Mon Aug 21, 2023 9:22 pm

I want textbox with no data to show as 0

Post by ericp »

In my JSON, I have Projects and Fundings. Not all Projects have Fundings (projects without funding in the JSON don't have a property in the JSON).

I am trying to get the textbox in my databand to display 0 if there is no funding for a project (aka there is no found property) Currently it's only showing up if it finds properties in the JSON, but blank if not found
Attachments
Screen Shot 2023-10-27 at 10.50.34 AM.png
Screen Shot 2023-10-27 at 10.50.34 AM.png (603.16 KiB) Viewed 7510 times
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: I want textbox with no data to show as 0

Post by Max Shamanov »

Hello,

You can use conditions to achieve this.

Thank you.
drownlumbar
Posts: 1
Joined: Tue Dec 26, 2023 2:33 am

Re: I want textbox with no data to show as 0

Post by drownlumbar »

You can use additional conditions: if the value = 0, the result will be displayed blank.
connections game
Last edited by drownlumbar on Mon Jan 15, 2024 4:41 am, edited 1 time in total.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: I want textbox with no data to show as 0

Post by Lech Kulikowski »

Hello,

Thank you for the suggestion.
Post Reply