Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Count rows in excel table

(0) ShareShare
ReportReport
Posted on by 34

here is my flow which trigger by power apps. i want to count rows list in Excel. i dont know why the veriable is not working for me. the veriable alwasy gives me a Zero. but if i trigger the flow by using "Manually trigger a flow", it does give a correct counter. any comment?

k7QwUYZYyO.pngjW1LpOe8cH.pngsYdQzASVno.png

  • EricDa Profile Picture
    34 on at
    Re: Count rows in excel table

    Yes. it's. but, thank you for you point the right dirction for troubleshooting "get file" action. by somehow, i'm able to get correct counter of rows. i did add some other actions before it and removed them. now, it works. 

  • v-jefferni Profile Picture
    on at
    Re: Count rows in excel table

    Hi @EricDa ,

     

    It's quite odd. If you delete the PowerApps trigger then use a Button trigger, will the flow work? Maybe it's a issue of trigger, you can try and use PowerApps V1 trigger, remove and add the flow in PowerApps studio then try to use the flow again.

     

    Best regards,

  • EricDa Profile Picture
    34 on at
    Re: Count rows in excel table

    Hi, Jeffer,

    thanks. here the screenshotxLlYSHXwlC.pngQ3Hbaer4NE.png

  • v-jefferni Profile Picture
    on at
    Re: Count rows in excel table

    Hi @EricDa ,

     

    Please show me the two actions in Edit mode.

     

    Best regards,

  • EricDa Profile Picture
    34 on at
    Re: Count rows in excel table

    Dear v-jefferni,

    here the screenshot for another "get file" action, it's the same config. but you are right, the output from "get file" aciton of powerapps flow is different with another one. how come?

    Vt8NQJoIyn.png

     

  • EricDa Profile Picture
    34 on at
    Re: Count rows in excel table

    thanks for your help, Dear v-jefferni, for my powerapps flow only has one "get file" action. it's to pick up file which status eq "New" ,by end of flow, the status will be change to "Completed" , so the next time all "completed" file will be skip for picking up. this flow can be run successfully which means there is file can be pickup, but only the veriable counter is zero.

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: Count rows in excel table

    Hi @EricDa ,

     

    Are these two Get files action exact the same, including filter query expression? It seems that the flow with PowerApps trigger get no file using the Get files action.

     

    Best regards,

  • EricDa Profile Picture
    34 on at
    Re: Count rows in excel table

    Hi V-jefferni,

    thanks for your reply. the action of "get files" is reading a file and pick up the status eq "new" from my sharepoint library. there is no special config

    g5M4TKoriM.png

  • v-jefferni Profile Picture
    on at
    Re: Count rows in excel table

    Hi @EricDa ,

     

    The first action "Get files (properties only)" has returned nothing when using PowerApps trigger. Do you have any custom configurations for this action?

     

    Best regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow