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 / urgent help need how t...
Power Apps
Answered

urgent help need how to sort also by it category??

(0) ShareShare
ReportReport
Posted on by 1,994

HI 

 

anyone can help on the sort by it's category too when user select the tab to view by category and also with the drop down fro ["This Week","This Month","Next Month","Following 2 Months"] 

 

at the moment the dropdown is working fine but it's showing overall.. how to be able to display by category only when user click?? thank you

 

SortByColumns(
Filter(
'EventInfo(Admin)',
IsBlank(CalculatedStartdate) || (StartDateAdmin >= CalculatedStartdate && (IsBlank(CalculatedEnddate) || EndDateAdmin <= CalculatedEnddate)) && Category.Value = galCatTab.Selected.Name
),
"StartDateAdmin",
If(
IsBlank(SortDescending1) || SortDescending1,
Descending,
Ascending
)
)

 

Category.Value = galCatTab.Selected.Name - nothing happened when I click on the tab.. thank you

 

@StalinPonnusamy  - not sure if you can help too?  Thank you

 

bbsin_0-1631780962807.png

 

Categories:
I have the same question (0)
  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @bbsin 

    SortByColumns(
    Filter(
    'EventInfo(Admin)',
    (IsBlank(CalculatedStartdate) || (StartDateAdmin >= CalculatedStartdate && (IsBlank(CalculatedEnddate) || EndDateAdmin <= CalculatedEnddate))) && (IsBlank(galCatTab.Selected.Name) || Category.Value = galCatTab.Selected.Name)
    ),
    "StartDateAdmin",
    If(
    IsBlank(SortDescending1) || SortDescending1,
    Descending,
    Ascending
    )
    )
  • bbsin Profile Picture
    1,994 on at

    hi @StalinPonnusamy 

     

    Thank you it's working but I have a tab that is call overall, when I click on it this tab is not show all the records.

    bbsin_0-1631798100600.png

     

    The other specific tab will not be affect by the drop down right for this week, next month etc.  

     

    I have a question, if it happens that there no event with that month , week for any of the tabs.. is there any way to have a pop up stating no event happening now?  Thanks

     

    Thank you

  • Verified answer
    StalinPonnusamy Profile Picture
    Super User 2024 Season 1 on at

    Hi @bbsin 

     

    This query does not filter anything when the Overall tab is selected.

    SortByColumns(
    Filter(
    'EventInfo(Admin)',
    (galCatTab.Selected.Name = "Overall") ||
    ((IsBlank(CalculatedStartdate) || (StartDateAdmin >= CalculatedStartdate && (IsBlank(CalculatedEnddate) || EndDateAdmin <= CalculatedEnddate))) && (IsBlank(galCatTab.Selected.Name) || Category.Value = galCatTab.Selected.Name))
    ),
    "StartDateAdmin",
    If(
    IsBlank(SortDescending1) || SortDescending1,
    Descending,
    Ascending
    )
    )

     

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard