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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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