Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

I am facing an issue wherein my gallery takes a long time (or shows no items) to display data after filtering

(0) ShareShare
ReportReport
Posted on by 280

My gallery is getting filtered whenever modern tablist is clicked.

The filtering formula entered in items property is 

 

Filter(TicketTables,'Issue Type' = If(TabList1.Selected.Value = "Network",[@'Issue Type'].Network,TabList1.Selected.Value = "Software",[@'Issue Type'].Software,TabList1.Selected.Value = "Hardware",[@'Issue Type'].Hardware,TabList1.Selected.Value = "Security",[@'Issue Type'].Security,TabList1.Selected.Value = "Compatibility",[@'Issue Type'].Compatibility,TabList1.Selected.Value = "Data Migration",[@'Issue Type'].'Data Migration',TabList1.Selected.Value = "Performance",[@'Issue Type'].Performance,TabList1.Selected.Value = "Maintainence",[@'Issue Type'].Maintenance,TabList1.Selected.Value = "Other",[@'Issue Type'].Other))
 
Can it be simplified. 'Issue Type' column is a global choice column in dataverse table "TicketTables"

 

  • WarrenBelz Profile Picture
    WarrenBelz 145,666 on at
    Re: I am facing an issue wherein my gallery takes a long time (or shows no items) to display data after filtering

    @PAJ ,

    Sorry, best I can think of presently.

  • PAJ Profile Picture
    PAJ 280 on at
    Re: I am facing an issue wherein my gallery takes a long time (or shows no items) to display data after filtering

    I tried this way , but in mobile view , gallery remains stuck with an empty item , and when i click multiple times , the item appears, 

    Any tips on how i can make it smooth. 

  • WarrenBelz Profile Picture
    WarrenBelz 145,666 on at
    Re: I am facing an issue wherein my gallery takes a long time (or shows no items) to display data after filtering

    Hi @PAJ ,

    This will shorten it a bit

    Filter(
     TicketTables,
     'Issue Type' = 
     Switch(
     TabList1.Selected.Value,
     "Network",
     [@'Issue Type'].Network,
     "Software",
     [@'Issue Type'].Software,
     "Hardware",
     [@'Issue Type'].Hardware,
     "Security",
     [@'Issue Type'].Security,
     "Compatibility",
     [@'Issue Type'].Compatibility,
     "Data Migration",
     [@'Issue Type'].'Data Migration',
     "Performance",
     [@'Issue Type'].Performance,
     "Maintainence",
     [@'Issue Type'].Maintenance,
     "Other",
     [@'Issue Type'].Other
     )
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard