How do I display only one data from several same data?

Please anyone can help me.
I want to display one data from several data with the same block as below.
image
From this block will produce 3 NameA, 1 NameB, 1 NameC and 2 NameD.
image
All I want is to display only one of those names
image
Please help me.

But it doesn't change the data in the global listData block

See two ways, one way pick a random item from list or if you want specific item knowing then index in list

I think he just wants to remove all the duplicates in the list...

If this is the case


4 Likes

Insert this piece of code before assigning the list to the ListView:

Edit: I was defeated :joy:

3 Likes

Does not delete data

Thank you very much, I will try it.

1 Like

nueva_lista

Lista_repetida.aia (2.1 KB)

3 Likes

There are also extensions that can do the same thing like ListUtils from AppyBuilder

image

2 Likes

Thank you for your attention @Juan_Antonio, @dora_paz, @nishyanthkumar

1 Like

My problem was solved this way. thank you very much @Juan_Antonio

1 Like

Here's a reusable procedure, like Juan_Antonio's version

P.S. These blocks can be dragged directly into your Blocks Editor workspace.

See A way to group projects by theme
for a demo.

1 Like

basically @dora_paz's solution but using the original list variable instead...

1 Like

Thank you for all @nishyanthkumar, @ABG, @Juan_Antonio and @dora_paz

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.