Hi
I am exporting a collection from power apps to CSV file via an instant flow (by clicking export button).
When I export the collection, the order of the columns is by default in ascending order.
I want to give a custom order and state which column should come first followed by which column. How to do it? Any help is much appreciated.
ForAll( gallery.allitems,
Collect(
coldataexport,
{
Device_Name: ThisRecord.Device_Name,
Policy_Name: ThisRecord.Policy_Name,
Rule_Name: ThisRecord.Rule_Name,
}
)
);
Concurrent(
Notify("Downloading report",NotificationType.Information),
Set(Varfilelink,export1.Run(JSON(coldataexport,JSONFormat.IgnoreBinaryData & JSONFormat.IgnoreUnsupportedTypes)).file)); Launch(Varfilelink);Notify("Report Download complete",NotificationType.Success);)