kmf
November 10, 2015, 3:20pm
1
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
kmf
November 12, 2015, 11:02am
3
Thank you very much I’ll try that
1 Like
kmf
November 20, 2015, 8:47am
4
OK, so I tried everything but couldn’t find the modulo function
Could you please help me and maybe put a screenshot up here ?
Thanks in advance.
NigelG
November 20, 2015, 9:24am
5
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.
2 Likes
NigelG
November 20, 2015, 9:52am
7
All credit to @NicolasDap and @Kackur
Very clever.
1 Like