cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pleibling
Helper I
Helper I

Problem to Sort a Filter Result

Hi,

 

i use a filter for Gallery, thats work:

 

Search(Filter(Filter(Ticketliste; Status.Value="Heute");Mitarbeiter.Value=User().FullName); ticketsuche.Text; "Title")

 

But now, i want to Sort it in other Order. For this i use:

 

Sort(Search(Filter(Filter(Ticketliste; Status.Value="Heute");Mitarbeiter.Value=User().FullName); ticketsuche.Text; "Title"), "Gemeldet")sort.png

 

But it doesn't work.

 

Where is the Error?!?

 

Thanks a lot for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User III
Super User III

@pleibling ,

Like this

Search(
   Sort(
      Filter(
         Ticketliste; 
         Status.Value="Heute" && 
         Mitarbeiter.Value=User().FullName
      );
      "Gemeldet"
   );
   ticketsuche.Text; 
   "Title"
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User III
Super User III

@pleibling ,

Like this

Search(
   Sort(
      Filter(
         Ticketliste; 
         Status.Value="Heute" && 
         Mitarbeiter.Value=User().FullName
      );
      "Gemeldet"
   );
   ticketsuche.Text; 
   "Title"
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

WarrenBelz
Super User III
Super User III

Hi @pleibling ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

pleibling
Helper I
Helper I

Hello Warren, at first - sorry for the delay, i was some days not at the computer.

 

Thanks a lot again, this works for me - you made my day again .. and again .. and again :).

 

But now i try your solution to sort descending - for this i try:

 

Search(
Sort(
Filter(
Ticketliste;
Status.Value="Heute" &&
Mitarbeiter.Value=User().FullName
);
"Gemeldet",SortOrder.descending
);
ticketsuche.Text;
"Title"
)

 

Like here: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort

 

But this doesn't work - any idea?!?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (981)