Data from repeat does not appear

I’m trying to display the data from a repeat on my page

I am able to show the visitors and rookies but I am not able to show the past winners
In order to show the past winners (among those that have registered first I use a repeat to extract the registered drivers then I use that to filer the historical winners t that track.

image

If I Open the API action is a browser I can see the data from “Past Winners” but when I try to use it as a repeat in the page I get nothing?

image

So what are you using as an expression on the page?

I am choosing “past winners” as the repeat for my column

same as I am choosing “rookies” as my repeat for the column that is appearing
image

Can you please paste the code including the parent and nested repeats?

<div class="row" id="visitorrepeat">

                                    <div class="col-2" dmx-repeat:visitors="ScheduleDetails.data.Visitors">
        indent preformatted text by 4 spaces
                                        <p dmx-text="Driver">A nice paragraph</p>

                                    </div>

                                </div>

                                <div class="row">

                                    <div class="col">

                                        <p class="small mb-0">past winners</p>

                                    </div>

                                </div>

                                <div class="row">

                                    <div class="col-2" dmx-repeat:repeat1="ScheduleDetails.data.repeat[0].PastWinners" id="winnerrepeat">

                                        <p dmx-text="Driver">A nice paragraph</p>

                                    </div>

                                </div>

Something is not quite right here.
How are both repeats related? They don’t seem to be related at all. The pastwinners query is inside a repeat in your server action and you have not used this repeat nowhere on the page.

Are you sure you have followed the nested queries tutorial? And are you sure your logic is correct, as it seems wrong to me:

I’ll have to take some time and read this later. I suspected it was due to the nature of the data “levels” but the fact I was seeing it in the output was making me wonder why it didn’t display, hopefully this will explain it. I need some time to review. thanks