Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Get table of persons from 'registered' for every event from 'events'

(0) ShareShare
ReportReport
Posted on by 21

initialise

I have a list of events ('evm events')
-columns: ID, session series, session code, Titles

and a list of registrants ('evm registration')
-columns: ID, personen, eventID

Goal

Each record has a 'person' and the selected event. By storing the ID of the events in the 'EventID' field

For each event, I want to store an HTML table of persons in PDF.

 

Flow

In the flow, I run through all events with an ID.
I filter 'evm registration' the event.ID in registrants. EventID.

I plug that table into HTML. But it's all columns. This works fine but doesn't look like it. It's too many columns.

So I want to choose custom columns. And then it goes wrong. It creates an extra loop which then also crashes when testing.

 

Overview

Overvieuw flow.png

The colum that I want in HTML-file 

Output Filter.png

When I choose 'custom columns in advance options. Powerflow makes a second loop (Apply to each 2) Why? From then on, it doesn't work either

Problem.png

  • Valentijn Profile Picture
    21 on at
    Re: Get table of persons from 'registered' for every event from 'events'

    I would like to explain my goal with the screenshot below. So I want to go through the list evm_events where each evm_event.ID is used to filter evm_registration. Only the Person field I want as a result from that filter in an HTML table. The table will be given the title from the record of evm_event. the Html will be converted to PDF and emailed to the mail from evm_event.

    Valentijn_0-1698702098547.png

     

  • Verified answer
    Valentijn Profile Picture
    21 on at
    Re: Get table of persons from 'registered' for every event from 'events'

    Why 'fx Item(...)' as the value of {v}Select. I expect a field from 'List rows' .

    I then went on to search what you meant by 'fx Item(...)'. I arrived at the following and it worked:
    fx = Item()['field_name']

     

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: Get table of persons from 'registered' for every event from 'events'

    Just send the flow and data. I will build a sample for you.

    This is how I meant

    SudeepGhatakNZ_0-1698665339911.png

     

  • Valentijn Profile Picture
    21 on at
    Re: Get table of persons from 'registered' for every event from 'events'

    Thank you for replying so quickly. I applied the selection after the filter. I can then choose between two outputs of the filter: 'Item(a table item)' or 'Body'.
    - If I choose 'Item', the select goes straight back into a loop and the selected output changes directly to 'Body'
    - If I choose 'Body' then I can fill in the 'folder' of the 'select'. BUT what do I choose as Value. In the 'Dynamic content, I cannot choose columns of the filter. Only the columns from 'evm registration'. If I then choose 'person', an extra loop appears again.
    Know that I am using PowerApp and flow from Teams.
    Otherwise I try to make my flow using test data instead of the data fresh. And upload the export here.

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: Get table of persons from 'registered' for every event from 'events'

    @Valentijn ,

    It adds a loop because you are picking the "Person" field from an array.

    Try this,

    Add a Select action under the filter action and pick the Person's name or email field from the Filter action.

    Next Use the Output of the Select action inside Create HTML table action. 

    Let me know if you struggle with it.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1