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 / Export Gallery Filtere...
Power Apps
Unanswered

Export Gallery Filtered Data

(1) ShareShare
ReportReport
Posted on by 77

Hi,

Please assist, I have powerApp gallery that I need to export its filtered data, here's is my code so far:

 
ExportFilteredTickets.Run(Filter(Tickets,
And(
    Or(
        IsBlank(dpStartDate.SelectedDate),
        DateCreated >= dpStartDate.SelectedDate),
Or(IsBlank(dpEndDate.SelectedDate), DateCreated<=dpEndDate.SelectedDate),
Or(IsBlank(drpStatus.Selected.Status),Status = drpStatus.Selected.Status),
Or(IsBlank(drpSortByUnit.Selected.SASUnits), SAS_Unit = drpSortByUnit.Selected.SASUnits))),User().Email);
   Notify(
        "Export process started. You'll receive an email once completed.",
        NotificationType.Success, 3000);
Petrusottie1_0-1721051436632.png

 

 
I am getting the error that says: Invalid argument type (Table). Expecting a text value instead. "ExportFilteredTickets" flow is using the powerApps automate.
Categories:
I have the same question (0)
  • developingteal Profile Picture
    392 on at

    I would suggest sending json over to power automate, and the processing the json table. I have a feeling the data you are sending over is just ending up in text, rather than a table, and it is hard to format/send data over and match up exactly how it should be. Json should make things easier.

     

    Convert to json -> send table - > trigger flow

  • developingteal Profile Picture
    392 on at
    What's the status of this/ what's the current error?
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey,
     
    can u try this:
    ExportFilteredTickets.Run(
        Filter(
            Tickets,
            And(
                Or(
                    IsBlank(dpStartDate.SelectedDate),
                    DateCreated >= dpStartDate.SelectedDate
                ),
                Or(
                    IsBlank(dpEndDate.SelectedDate),
                    DateCreated <= dpEndDate.SelectedDate
                ),
                Or(
                    IsBlank(drpStatus.Selected.Status),
                    Status = drpStatus.Selected.Status
                ),
                Or(
                    IsBlank(drpSortByUnit.Selected.SASUnits),
                    SAS_Unit = drpSortByUnit.Selected.SASUnits
                )
            )
        ),
        User().Email
    );
    
    Notify(
        "Export process started. You'll receive an email once completed.",
        NotificationType.Success,
        3000
    );
    
    If the Post help you solve your issue, please mark it as verified answer and give it a like so we can help other in the community with similar issues 

    Greetings
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard