Values Not Appearing Properly

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

Values Not Appearing Properly

Post by ericp »

Hello, I have been trying to create a "Project Changes" report, the goal of this report is to display the new values to a project if there was changes from the previous version.

Some background is that I am pulling the information from a JSON that has the following format:

[CurrentProjectRevision]
---[Values]
-----[CurrentProjectRevision.Funding]
-----[CurrentProjectRevision.Location]
[PreviousProjectRevision]
---[Values]
-----[PreviousProjectRevision.Funding]
-----[PreviousProjectRevision.Location]

I have been successful in creating relationships to get a lot of my base information to appear in just the [CurrentProjectRevision] and [PreviousProjectRevision] databands in Stimulsoft. The issue i'm running into now is that for the [Location] object that I created a relationship for, it is not always showing up (everything is working as expected, it's just the relationship that I created by having my Location values in my [ProjectRevision] databand.

I have attached the mrt file that I have been working on, along with the JSON file (I'm okay for it to just display the first value of the [Location]
I'm not sure if it is because my [Location] sub-array, has multiple objects within it, but I have been trying to solve this for a few days now. If you can please help, that would be great. Thank you!!
Attachments
Screenshot 2025-03-24 at 7.42.45 PM.png
Screenshot 2025-03-24 at 7.42.45 PM.png (819.02 KiB) Viewed 2596 times
Screenshot 2025-03-24 at 7.44.05 PM.png
Screenshot 2025-03-24 at 7.44.05 PM.png (800.38 KiB) Viewed 2596 times
FormatB-NDOT.json
(567.67 KiB) Downloaded 24 times
ProjectChanges.mrt
(236.41 KiB) Downloaded 19 times
Lech Kulikowski
Posts: 7193
Joined: Tue Mar 20, 2018 5:34 am

Re: Values Not Appearing Properly

Post by Lech Kulikowski »

Hello,

You try to show one value from LocationDetails on the master band, but there are records where several different values.
Could you explain it?

Thank you.
Attachments
Screenshot 2025-03-26 211153.png
Screenshot 2025-03-26 211153.png (210.87 KiB) Viewed 2121 times
ericp
Posts: 51
Joined: Mon Aug 21, 2023 9:22 pm

Re: Values Not Appearing Properly

Post by ericp »

Hey @Lech,

I was able to solve my question by just creating a panel inside my databand that linked to the LocationDetails. My report is working as expected now.

THanks!
Lech Kulikowski
Posts: 7193
Joined: Tue Mar 20, 2018 5:34 am

Re: Values Not Appearing Properly

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply