web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filtering data from Da...
Power Automate
Unanswered

Filtering data from Datatable control

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

I created a form due to Plumsail Forms and would like in thw flow to filter data from Data table control and split it into two separate arrays. One array for items with “Category 1”. Another array for items with “Category 2”.

 

How can I make it?

 

Thanks!

Categories:
I have the same question (0)
  • Brad_Groux Profile Picture
    4,556 on at
    Re: Filtering data from Datatable control

    What do you mean by datatable control? Which connector are you referring to for this datatable control? Plumsail Forms does not include a datatable control. Please be as thorough as possible when describing the Flow architecture you are seeking. 

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • v-bacao-msft Profile Picture
    on at
    Re: Filtering data from Datatable control

    Hi @Snuff ,

     

    Could you share the details of your Forms design?

    If you can, please consider export Forms  and provide for us as an attachment so that we can provide a suitable solution.

    Also if you want to store each column value in separate array, you could refer to the following method.

    For example, my DataTable has two fields, Column1 and Column2, which can use array variables to store field values in specified array.

    Initialize two array variables, traverse the value of the DataTable, and append the field values to the specified array.

    Image reference:

    17.PNG18.PNG

     

    Best Regards,

  • Snuff Profile Picture
    10 on at
    Re: Filtering data from Datatable control
    Hello @v-bacao-msft
    Thank you very much
    Can you please explain more detailed how you created the flow after initialize variable part? How did you put Column1 and Column2 as an action?
  • v-bacao-msft Profile Picture
    on at
    Re: Filtering data from Datatable control

    Hi @Snuff ,

     

    Column1, Column2 are Compose actions, I renamed them, so this is displayed.

     

    My DataTable has two fields, the column names are Column1, Column2.

     

    For the sake of clarity, I show Apply to each using a separate screenshot.

     

    Best Regards,

  • Snuff Profile Picture
    10 on at
    Re: Filtering data from Datatable control

    Hello @v-bacao-msft

    I'm sorry I didn't really get it. I did absolutely the same as was on your first message but I got stuck here. Can you please show me what I should do the next?

     

     Untitled.png

  • v-bacao-msft Profile Picture
    on at
    Re: Filtering data from Datatable control

    Entire Flow:

     

    33.PNG

  • Snuff Profile Picture
    10 on at
    Re: Filtering data from Datatable control

    Hello @v-bacao-msft

     

    Okay now I got it. I chose compose action and put their column 1 and column 2.
    could you also expand apply to each action?

     

    Untitled2.png

  • v-bacao-msft Profile Picture
    on at
    Re: Filtering data from Datatable control

    Please see my first post.

     

     

  • Snuff Profile Picture
    10 on at
    Re: Filtering data from Datatable control

    Hello @v-bacao-msft

    Thank you very much!

     

    The final result of my flow should be generation of two docs documents. I need to generate two separate docx documents with data from column 1 and data from column2 with the help of Plumsail Documents. Could you please help me with that?

     

    Thank you

  • v-bacao-msft Profile Picture
    on at
    Re: Filtering data from Datatable control

    I think you can use Create file action in SharePoint or OneDrive to generate the word file.

    1.PNG

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard