cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Collection

Hi All,

 

I have created a collection and a column named test. I am assigning test as true in the collection on a particular button click. Then I want to check if that column value in the collection is true. how can I do that?  

1 ACCEPTED SOLUTION

Accepted Solutions
rsaikrishna
Community Champion
Community Champion

@Anonymous 

 

Do you have just one column in the collection? 

 

If your collection colKeyValues contains as below, it will be easy to check:

Key Value
Test1 True
Test2 False

 

To get specific value, you can use the following PowerFx:

LookUp(colKeyValues, Key = "Test1").Value

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

View solution in original post

2 REPLIES 2
rsaikrishna
Community Champion
Community Champion

@Anonymous 

 

Do you have just one column in the collection? 

 

If your collection colKeyValues contains as below, it will be easy to check:

Key Value
Test1 True
Test2 False

 

To get specific value, you can use the following PowerFx:

LookUp(colKeyValues, Key = "Test1").Value

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
C-Papa
Super User
Super User

If you run the routine and then go to the formula line, double click on the collection name it will show all entries within that collection

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,543)