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 Automate / Skip first row for Pow...
Power Automate
Answered

Skip first row for Power Apps Export button

(0) ShareShare
ReportReport
Posted on by 104

All, 

 

I have an export button in my Power App that triggers my flow to run and export the collection/gallery data into an excel file. 

 

 

I want to know if it's possible to export all the data besides the first row in my Power App.

 

aishak12_0-1641495497711.png

 

 

Parse JSON formula: 

 

{
 "type": "array",
 "items": {
 "type": "object",
 "properties": {},
 "Date": {
 "type": "string"
 },
 "EmployeeName": {
 "type": "string"
 },
 "Friday": {},
 "LaborCode": {},
 "Monday": {},
 "Phase": {},
 "Project": {},
 "Saturday": {},
 "Sunday": {},
 "Task": {},
 "Thursday": {},
 "Total": {},
 "Tuesday": {},
 "Wednesday": {}
 },
 "required": [
 "Date",
 "EmployeeName",
 "Friday",
 "LaborCode",
 "Monday",
 "Phase",
 "Project",
 "Saturday",
 "Sunday",
 "Task",
 "Thursday",
 "Total",
 "Tuesday",
 "Wednesday"
 ]
}
Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @aishak12 ,

     

    Do you want to get the data from the collection or Gallery except the first row?

    I have made a test for your reference.

     

    1. Here is my collection.

    vyujincuimsft_0-1641805477810.png

    2. You could use the Skip() function in Flow to remove items from the front of a collection, and return all the other items.

     

    skip(body('Parse_JSON'),1)

     

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#skip

    vyujincuimsft_1-1641805619448.png

    Result Screenshot:

    vyujincuimsft_2-1641805619452.png

    3. Besides, there is another method for your reference, you could use the LastN() function in the App to get the data except the first row.

     

    'PowerApp->yourflow'.Run(JSON(LastN(yourcollectionname,CountRows(yourcollectionname)-1)))

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-first-last#examples

    vyujincuimsft_3-1641805711441.png

    Result screenshot:

    vyujincuimsft_4-1641805711443.png

     

    Best Regards,

    Charlie Choi

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard