Get value omitting tag

In a dropdown
I need to get all 2 items
Which belong to PARTE 1

From the month of ABRIL
should get

28/04/2024 18:00:00 a 28/04/2024 23:00:00
30/04/2024 22:00:00 a 01/05/2024 00:00:00

As you can see I am omitting the dates

Likewise when you choose the month of MAY

greetings

any suggestions?

Ramón
TIMAI2

I need to acquire what is marked with light blue

got to date with index 1

but when I put the incice 2
It combines values ​​1 and 2 making only 2 items appear
being 3

here is a detail

You must have asked this similar question 10 times over the last year, yet have learnt nothing!

  1. Start using Firebase properly, and set a tag for each item in your list, without repetition, this then makes it easy to return the data you want.

  2. If you do not want to do that, then return all the data for the tag ABRIL, and then parse the json returned into dictionaries/lists, then extract the data you need.

I understand

I have always acquired data by assigning the address through its equiteta

This time I jump from the month to the items, omitting the dates

thanks for the review I'll try it

Herewith an example of how you might store your data on Firebase:

BEFORE:

AFTER:

With this you should then be able to retrieve any value from any tag with a single call

(Unfortunately, Firebase sorts everything alphabetically in the console...)

with this example I can acquire only

PART 1
PART 2

should get
PART 1
PART 1
PART 2

That's why I can only get 2 items and that also affects the values.

I need to get this
image