Printing the group header with a conditional

Stimulsoft Reports.WEB discussion
Post Reply
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Printing the group header with a conditional

Post by ventas.sofbusiness »

Hello, I'm creating a report that groups information initially by third party and then by reference document. Everything works correctly in the Stimulsoft report, but I have a problem: the report prints third-party information. I need it to print only if it meets the following condition or expression: {Sum(DataBand1, root_datos.Saldo_referencia) != 0}

I entered the above expression in the group header with the ENABLED option, but it still displays it. What can I do?

It's important to note that the report is created from a .json file.

I've attached the report, where you can see that the third party "1038126247 KATYA MARCELA PETRO ARGUMEDO - AGROCENTRO" appears in the printout when it shouldn't.

I've also attached the .mrt file for your help. Or, please guide me as to who I can contact for a solution.
Attachments
Relacion_cartera (4).mrt
(67.19 KiB) Downloaded 11 times
Auditoria de Relacion de Cartera.pdf
(147.62 KiB) Downloaded 11 times
Lech Kulikowski
Posts: 7446
Joined: Tue Mar 20, 2018 5:34 am

Re: Printing the group header with a conditional

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue. Try to check the last release 2025.4.1

Thank you.
Attachments
Screenshot 2025-10-08 230307.png
Screenshot 2025-10-08 230307.png (116.65 KiB) Viewed 624 times
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Re: Printing the group header with a conditional

Post by ventas.sofbusiness »

Oki, thanks. I'll run the tests as soon as possible to resolve this issue.
Lech Kulikowski
Posts: 7446
Joined: Tue Mar 20, 2018 5:34 am

Re: Printing the group header with a conditional

Post by Lech Kulikowski »

Hello,

You are welcome.
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Re: Printing the group header with a conditional

Post by ventas.sofbusiness »

Hi, I just downloaded the latest version of the reporter, and I created it in that version, and the same thing happens. It still shows me "KATYA..." on the third page.

I'll attach a photo where you can see that I did indeed download your latest trial version. You'll also see that if I click the preview option, it shows me Katya.
Attachments
Evidencia1.png
Evidencia1.png (136.34 KiB) Viewed 498 times
Evidencia2.png
Evidencia2.png (213.04 KiB) Viewed 498 times
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Re: Printing the group header with a conditional

Post by ventas.sofbusiness »

What a shame. I called the Relacion_cartera (4).mrt file in this downloaded version, and the error still persists.

Or should I do something to update the file to the new version of the reporter?
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Re: Printing the group header with a conditional

Post by ventas.sofbusiness »

I just installed it on my computer and it still didn't solve the problem.
Attachments
evidencia3.png
evidencia3.png (84.15 KiB) Viewed 491 times
Lech Kulikowski
Posts: 7446
Joined: Tue Mar 20, 2018 5:34 am

Re: Printing the group header with a conditional

Post by Lech Kulikowski »

Hello,

Try to use the following expression:
{Totals.Sum(GroupHeaderBand1, root_datos.Saldo_referencia) != 0}

Thank you.
Attachments
Relacion_cartera_modified.mrt
(67.23 KiB) Downloaded 8 times
ventas.sofbusiness
Posts: 6
Joined: Tue Oct 07, 2025 11:44 pm

Re: Printing the group header with a conditional

Post by ventas.sofbusiness »

Hello, thank you very much for this forum, which helped me find the solution in part. Also, thanks to Mr. Aleksey Andreyanov (Stimulsoft), who guided me via email and gave me the complete solution.

Excellent program, excellent support.
Lech Kulikowski
Posts: 7446
Joined: Tue Mar 20, 2018 5:34 am

Re: Printing the group header with a conditional

Post by Lech Kulikowski »

Hello,

We are always glad to help you! Please let us know if you need any additional help.
Post Reply