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

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 Automate

#1
Valantis Profile Picture

Valantis 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard