cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Cec123
Regular Visitor

Export to Excel with filter

I have created a flow and uploaded it to my canvas app. I am trying to set my syntax to only export the rows I select with radio (see picture below), my syntax is currently; 

 

Set(varfilelink,ExporttoExcel2.Run(JSON(Filter(ColObservation1, isSelected = true), JSONFormat.IncludeBinaryData)).filelink); Launch(varfilelink);

 

I know I need a filter, but it keep throwing an 'Error'. Is there another function I can use?

Cec123_0-1641513503944.jpeg

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bofeng-msft
Community Support
Community Support

HI @Cec123 :

You could try:

1\Set the Radio's Items property to

["True"]

2\Filter the data

Filter(TheGallery.AllItems,TheRadio.Selected.Value="True")

Best Regards,

Bof

 

View solution in original post

2 REPLIES 2
AngeloG
Frequent Visitor

An Idea is mark item as "selected" when you select it on your gallery (UpdateIf), then you cant use Filter to get only "selected items"

v-bofeng-msft
Community Support
Community Support

HI @Cec123 :

You could try:

1\Set the Radio's Items property to

["True"]

2\Filter the data

Filter(TheGallery.AllItems,TheRadio.Selected.Value="True")

Best Regards,

Bof

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,518)