Forum Documentation Showcase Pricing Learn more

How to display one of two result in a repeating group?

Hi everyone,
Does anyone know how to display only every other result in a repeating group?
Let me be a little more specific : Let’s say my entries are as follows : A, B, C, D, E, F.
I only want to display A, C, E.

Thank you very much for your help.

Best regards

You have to use an attribute to filter the list you display in your Repeating Group.

For instance you could create a table with your letter list
A, B, C, D, E…
linked with the number
3, 2, 2, 3, 2

and then use the function :modulo 2 to get all the B, D, etc…
:modulo 3 to get all the A, C, E

Just an idea. There may have other ways to do it.

1 Like

Thank you very much :pray: I’ll try that

1 Like

OK, so I tried everything but couldn’t find the modulo function :pensive:
Could you please help me and maybe put a screenshot up here ?
Thanks in advance.

You need to do a :filtered and then look towards the bottom of the list in the Lis tFilter options. Here you will see “Advanced”.

Here you can do a mod check on a number. In this example I am only showing locations with an even number of likes. Not a great example I know !!

However, if you created a number sequence on your data, and did the above, you would only see even numbered rows.


Thank you so much :pray:

1 Like

All credit to @NicolasDap and @Kackur :smile:

Very clever.

1 Like