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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filtering question whe...
Power Apps
Unanswered

Filtering question when the record returns a date when a PowerAutomate flow was triggered

(0) ShareShare
ReportReport
Posted on by 50

Hi.

 

I have a gallery that is being filtered by the 'Training Team Required' column. There are 3 choices: Yes, No, Needs Evaluation.

 

If a user chooses 'Yes' or 'Needs Evaluation' on the form, it triggers a PowerAutomate workflow that sends an email to the Training Team. In the gallery it shows the time it was sent. The time after the 'Yes' and 'Needs Evaluation' selection is preventing the filter from working because the filter is only looking for the words 'Yes' or 'Needs Evaluation'. The date stamp is confusing it.

 

EuniceG11_0-1688053449422.png

 

To filter the gallery, I have a combo box with the following formula pulling in the choices from the SP list:

Choices([@'PMO Portfolio List'].'Is the Training Team required?')

 

On the gallery's Item property, I have the following code set up:

Filter(
'PMO Portfolio List',
IsBlank(ComboBox7.SelectedItems.Value) || IsEmpty(ComboBox7.SelectedItems) ||
'Work Status'.Value = ComboBox7.Selected.Value, SortOrder.Ascending,
Or(IsBlank(ComboBoxTrainingRequirement.SelectedItems.Value) || IsEmpty(ComboBoxTrainingRequirement.SelectedItems.Value) ||
'Is the Training Team required?'.Value in ComboBoxTrainingRequirement.SelectedItems.Value, SortOrder.Ascending
))

 

Note: ComboBox7 is filtering on a different SP column i.e. 'Work Status'

 

My question is this....

How can I change this so that the training filter works when a user selects 'Yes' or 'Needs Evaluation'? Would it be possible to use the StartsWith function in some way? I'm not a coder, so figuring this out is outside my skill level, I'm afraid. Any help would be gratefully received!

Categories:
  • turnerj3 Profile Picture
    2,039 on at

    Not exactly sure where this needs to go in your formula, but you could use this as one of your Or's:

    StartsWith('TrainingTeamRequired'.Value,"yes") ||StartsWith('TrainingTeamRequired'.Value,"Needs") 

     

  • EuniceG11 Profile Picture
    50 on at

    I tried that but it didn't work, unfortunately 😞

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @EuniceG11 ,

     

    It seems the Gallery only includes items from the SP list, where also includes a Choices column. But how did you make the time stamp concatenated with the selection in the Gallery? What is in Text property of the Training Label within the Gallery?

     

    Your formula looks good, since it's filtering the list based on Training Team Required column values and ComboBoxTrainingRequirement multiple selected values, both of where do not involve timestamp. 

     

    Best regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard