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 Automate / How would you tackle t...
Power Automate
Unanswered

How would you tackle this project

(0) ShareShare
ReportReport
Posted on by 287

I store my company date in the Microsoft Dataverse.  The data is mostly orders from clients.  I have commissioned sales people.

I would like to pull up a page that shows all of the unpaid commissions (easy in a gallery) and have the ability to simply checkmark all of the items I wanted to pay and then have a pay button that when I hit it, it updates the commission pay date field to the current date for EACH item automatically.


It's easy for me to show the records with a filter query but I don't know how to somehow have power apps loop through the records that are shown and marked to pay and update each appropriate record with a value of the current date.

 

Anyone?

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @astrontelstar,

    Could you please tell me that if you want to update the commission pay date field to the current date once you hit the pay button?

    Since you know how to show the records with a filter query using a Gallery, I will give you a sample to describe how to update the pay date field to the current date.

    1). Add a Gallery and populate it with the data

    2). Inset a Pay button 

    3). Set the OnSelect property of the Pay button as below:

    Select(Parent);Patch(Pet2S,ThisItem,{PayDate:Today()}) // Pet2S is my Dataverse table name

    Note that every time you select a Pay button within a record, it will update the appropriate record with a value of the current date.

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard