List of numbers: duplicat values? Been struggeling for 2 days now

Hi everyone! If someone can help me with this, I would be ever so grateful Been struggeling for several daysâ€¦

The question is as follows: How to return a list of numbers which accept duplicate values?

I use states as a basis for a graph:

State 1: count = 2
State 2: count = 3
State 3: count = 5
State 4: count = 5

Which returns a list of numbers as follows: 2,3,5

Is there a smart way to maniplulate bubble to return 2,3,5,5 ?

Best regards, Endre

Hey @endrefyl

Sorry you have spent a couple of days on this. Thatâ€™s frustrating. Let me see if I can help.

When saving a list of numbers, Bubble doesnâ€™t allow duplicates. So Iâ€™m thinking, one way to do this might look like this:

Save each number as a separate thing and have a list of things instead. Then you can have duplicate numbers in your graph.

Hope that helps!

For All Your No-Code Education Needs:

• One-on-One Tutoring
• eLearning Hub
• Video Tutorials
• No-Code Classes

Thank you for your reply I did a workaround through states, which first converts all the numbers to a string, then replaces it with numbers and comma 1,2,3,4â€¦ and at last converts it to a list of numbers trough regex.

Best regards, Endre

2 Likes