Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Createing a 'Live' Queue

(0) ShareShare
ReportReport
Posted on by 206

Hello,

I am looking to create a basic queue using a PowerApp.  The queue will have a list of 30 names and each name will be allocated a job (if they're on shift) so...... Name1 is in Queue position 1 and when they are allocated a job they move to queue position 30 and all of the others move up one queue position.

 

If Name4 is in Queue position 4 and he is allocated a job (Names 1 to 3 are not on shift) I need Name4 to move to queue position 30, all of the others move up 1 queue position apart from Names 1 to 3 as they need to remain where they are due to not being on shift.

 

Does anyone have any idea how I can do this as my PowerApp design skills are not the best 

 

Thanks in advance

  • Verified answer
    Re: Createing a 'Live' Queue

    Hi @Station1901 ,

     

    The easiest way is to create a same gallery.They have the same line spacing and number of lines.

    Then you could use scrollscreen to make the height of the card large enough.

    vxiaochenmsft_0-1653616263160.png

    vxiaochenmsft_1-1653616272895.png

    vxiaochenmsft_2-1653616285034.png

     

    Notes: The gallery should be high enough that it has no scrollbar and the card's height should > gallery's height.

     

    Best Regards,

    Wearsky

  • Station1901 Profile Picture
    Station1901 206 on at
    Re: Createing a 'Live' Queue

    Thanks for this it works perfectly but i'd like if possible for it to show the 'queue' position. Can this be done ?

  • Re: Createing a 'Live' Queue

    Hi @Station1901 ,

     

    I did a sample for you.

    vxiaochenmsft_0-1653034239126.png

    ClearCollect(Col,{Name:"Name1"},{Name:"Name2"},{Name:"Name3"},{Name:"Name4"},{Name:"Name5"},{Name:"Name6"})

    vxiaochenmsft_1-1653034252891.png

    vxiaochenmsft_2-1653034260897.png

    Set(var,ThisItem.Name);Remove(Col,LookUp(Col,Name=var));Collect(Col,{Name:var})

     

    Result:

    AAA.gif

    Best Regards,

    Wearsky

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

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard