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 / Help Desk Canvas App s...
Power Apps
Unanswered

Help Desk Canvas App show not completed tickets

(0) ShareShare
ReportReport
Posted on by 22

I am using the Help Desk App, currently I have the following screen

My Ticket Screen.jpg

I have the following logic that shows the tickets above under the My Ticket Screen

Refresh(HelpDesk);
ClearCollect(AllTickets,HelpDesk);
If(isAdmin ,
Set(TicketToRunFlow,First(Sort(AllTickets,Created,Descending))),
Set(TicketToRunFlow,First(Sort(Filter(AllTickets,Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName ),Created,Descending)))
);
If(RunFlow, HelpDeskFlow.Run("'" & TicketToRunFlow.ID & "'"));
If(RunFlow, Set(RunFlow,false))

 

I also have this logic under the My Ticket Screen Gallery Icon Screen

If(
isAdmin,
Sort(
AllTickets,
Created,
Descending
),
Sort(
Filter(
AllTickets,
Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName
),
Created,
Descending
)
)

 

I am looking to show only the items when my TaskStatus shows everything but the Completed Items

 

Anyone have any ideas on how to do that

 

Thanks

 

 

Categories:
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @Smatera9681 ,

     

    Do you want your TicketScreenGallery display all items except completed Items?

    You can add a filter condition to AllTickets.

    Please modify your second formula as below, and put it to Items property of gallery.

    If(isAdmin,Sort(Filter(AllTickets,TaskStatus in ["NOT STARTED","IN PROGRESS","DEFERRED","WAITING ON CSR"]), Created, Descending), Sort( Filter(AllTickets, (Author.Email = MyProfile.Mail || Author.Claims = MyProfile.UserPrincipalName) && TaskStatus in ["NOT STARTED","IN PROGRESS","DEFERRED","WAITING ON CSR"]), Created, Descending))

    Annotation 2019-10-24 181521.png

    Best Regards,

    Sik

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly.

     

  • Smatera9681 Profile Picture
    22 on at

    Unfortunately I added the information you had me add and this is what happens

     

    Untitled.jpg

     

    As you can see the syntax has some red in it, and nothing populates in my ticket like yours does in your above picture

     

    Any ideas on what i am missing?

  • Smatera9681 Profile Picture
    22 on at

    Does anybody have any insight on this? Any help would be greatly appreciated

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard