web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Show Check Icon in Gal...
Power Apps
Unanswered

Show Check Icon in Gallery

(0) ShareShare
ReportReport
Posted on by

@SebS 

 

Hello Seb,

 

I'm still finetuning my galleries. I thought it would be helpful to the user if they were sorted in the same order and if a checkmark would appear in the left gallery once they scanned the item. I managed to get the checkmark to show up for one scanned item, but not the other. The Visible property for the green checkmark icon in the left gallery is:

 

ThisItem.'Barcode Value' in galTools.Selected.'Barcode Value'

 

Why would it be working for the Notepad item that was scanned, but not the Envelope item?

 

GalleryCheck.png

In regard to sorting, the Items formula for the left-hand gallery is:

 

SortByColumns(
 Filter(
 'Admin Desk Tools',
 StartsWith(
 'TekTrace Bench ID',
 txtScanBenchBarcode.Text
 ) && Status.Value = "Active"
 ),
 "ToolDescription",
 SortOrder.Ascending
)

 

The Items formula for the right-hand gallery is:

 

ForAll(
 Distinct(
 colTracking,
 ThisRecord
 ),
 Value
)

 

I like the Distinct gallery formula as it prevents duplicates if they accidentally scan a tool twice, but I'm having trouble adding a Sort feature to it for the Tool Description column. The internal name of the column is "ToolDescription".

 

Thanks in advance for your help! I'm really pleased with how the app is coming along and it is all thanks to you!

Teresa

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at

    Hi @tagustin2020 ,

    I think you need

    ThisItem.'Barcode Value' in galTools.AllItems.'Barcode Value'

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • tagustin2020 Profile Picture
    on at

    @WarrenBelz 

    @SebS 

     

    Thank you, Warren! That did the trick!

    Success.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard