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 / How to clear all rows ...
Power Automate
Answered

How to clear all rows in a datatable in PAD?

(1) ShareShare
ReportReport
Posted on by

Hello Everyone.

 

I have a flow that creates a datatable and, at the end of the flow, I want to delete all data in that datatable - how do I do that please?

 

Many thanks.

I have the same question (0)
  • Verified answer
    ThomasFonn Profile Picture
    273 on at

    You could overwrite the DataTable variable with the Set Variable-action and set the value to %''%

    which would be an empty variable.
    one thing to keep in mind of is that it changes type from "data table" to "text value" by doing that.
    In case you're gonna re-use the DataTable variable, you need to use the "Create new data table" action and give it the same name as before

  • CU-19081228-9 Profile Picture
    on at

    Thank you @ThomasFonn.  My flow basically loops, so, I can use your helpful advice to clear the datatable and set it to 'text value' type and then when my flow loops again it will recreate the same datatable with the same name.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard