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 / Priority list for each...
Power Apps
Unanswered

Priority list for each user

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I saw a few forums regarding priority list and how the priority re-locate and "move up" by itself once a task has been completed. But I was wondering if its possible to create a separate priority list for each user as well. 

 

For example, I have a SharePoint List with myriad of tasks that are assigned to different users. Something like this:

 

Task AUser A
Task BUser B
Task CUser A
Task DUser B
Task EUser A
Task FUser B

 

I want to create a function where each user can prioritize their own set of tasks:

User A

TaskPriorityStatus
A1On-going
C2On-going
E3On-going

 

User B

TaskPriorityStatus
B1On-going
D2On-going
F3On-going

 

And when a task is completed, the priority shifts:
User A:

TaskPriorityStatus
A1On-going
C Completed
E2On-going

User B:

TaskPriorityStatus
B Completed
D1On-going
F2On-going

 

Thanks in advance 🙂

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi @Anonymous 

     

    What you want to do is something like this.

     

    1. Add a Choice (single select) to your SharePoint list. Add a bunch of options (like what you have above as examples)

    2. In your Canvas App, on your New and EditForm, it will now list this column and people will be able to select it and change it as they wish.

     

    No real trick to it, its pretty straight forward

     

    Since you said function, I wasnt sure what you mean by function, so instead I simply gave what you would do.

     

    Some other details

    Normally you would have

    1. a gallery to list of all the Tasks, but filtered to that person

    2. They click a row and it takes them to an Edit form, which you would have added (like my above comments). That Edit Form, would have the Same Source as the Gallery, and in the Item property you would put, MyGallery.Selected

    -This would cause it to load the SharePoint item selected in the gallery

    3. You would have a Button, usually labelled Submit

    -The button code would be SumitForm(EditFormControlName).

    And thats it.

     

    You would usually have a + sign or something that says "Create New" in which case it would take them to the Form that is now in NEW mode, not  EDIT mode.

    Again using the same SubmitButton  to submit the form. I know i called it the EditForm but you can call it whatever. The new/edit mode is something you can do programmatically.

     


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @FLMike ,

     

    Thanks. But I think the solution you provided is missing the integral part of my scenario, which is the priority aspect. 

     

    If you take a closer look of the priority column in the scenario I gave, you would notice that the number shifts when a task has been completed by the assigned user. I saw a few forums using PATCH to do that, but most of their formulas are focusing on a singular priority list. But I need to provide a separate priority list for each user.

     

  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    @Anonymous 

     

    Woops so sorry, I saw the Status one and just totally spaced the Priority one.

    The premise is still the same for adding the column and letting them pick the priority.

     

    However, you didn't explain what the formula is for deciding to "Shift" the priority and auto-change it (which is how I read what you said).

     

    Can you give the example business logic needed to change priority and how to choose which Task it auto-gives new priority?

     

    But it sounds like you need a Power Automate flow to do that though, if you are planning to "auto-change/decide". The flow trigger would be when one is update/modified but with a Condition specifically on the Status field so you can see if its completed etc etc.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @FLMike ,

     

    I'm not too sure if its possible, but here goes:

     

    1. The user can filter tasks that are assigned to them. I think this one is pretty straightforward using gallery.

     

    2. They can manually assign a priority number (1-10) to their tasks, and they must assign it chronologically. So for instance, User A will start assigning Task A with priority 1, then C with 2, E with 3, so and so forth... I thought of using a dropdown field with the choice 1-10, but that wouldn't work because what's stopping User A from randomly assigning any number to any task? I wouldn't want the user to create unnecessary gaps in the priority list.

     

    3. And when a task is completed, the priority list will auto-arrange itself. For example, if task with priority 2 is completed, what was previously in priority 3 will be the new priority 2. Then 4 will be 3, 5 will be 4, etc...

     

    I hope this clarifies things up. 

  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    @Anonymous 

     

    Gotcha, Ok then I would do something like this. Well actually it still depends. How are these items created?

    And are they just using the Form in SharePoint or did you create a Canvas App that would make this so much easier?

     

    With a Canvas App + Flow you could do what you want easily, but in regular forms ugg my had hurts thinking about doing it there.

    lol


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Everything is via Canvas app

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 834

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard