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 get all registe...
Power Automate
Unanswered

How to get all registered items of a user in sharepoint with Power Automate

(0) ShareShare
ReportReport
Posted on by 4

Hola, estoy construyendo un flujo donde tengo dos listas, una de USUARIOS y VENTAS. Ambas tienen un ID en común con el usuario pero quiero unir estas dos listas y obtener el nombre y todas las ventas registradas en una tabla html.

 

Algo como esto

.........................................

Nombre

........................................

1

2

3

4

5

-----------------------

Gracias por tu ayuda

 

Categories:
I have the same question (0)
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jENNYg112 ,

    Do you want to merge the 'Name' column in the USER list and the 'Sale' column in the SALES list into one html table with the same user ID?

    If so,I did a test for your reference.

    In my scenario:

    HTML Table:

    vyetonggumsft_1-1710218923455.png

    My USERS List:

    vyetonggumsft_5-1710219491713.png

    My SALES List:

    vyetonggumsft_6-1710219523815.png

    My Flow:

    vyetonggumsft_7-1710219648023.png

    vyetonggumsft_2-1710219128225.png

    vyetonggumsft_8-1710219830678.png

    vyetonggumsft_3-1710219439029.png

    item()?['ID']
    item()?['Name']
    item()?['Sale']
    body('Select_2')
    body('Select')
    item()?['ID']
    items('Apply_to_each')?['ID']
    item()?['Name']
    
    {
    "Name":@{replace(replace(replace(variables('String'),'"',''),'[',''),']','')},
    "Sale":@{items('Apply_to_each')?['Sale']}
    }

    Note that if your column names are different from the column names in my test, please change the column names in the expression when you quote it.

    Best Regards,

    Sunshine Gu

     

  • jENNYg112 Profile Picture
    4 on at

    Hi 
    I have a question, if each USER has more than two sales, is this also listed?

    What can I do in that case? 

    Thank you very much for your help 😁

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jENNYg112 ,

    Could you please post screenshots of your USERS and SALES lists?

    This will help me better understand what you mean and help you solve the problem.

     

    Best Regards,

    Sunshine Gu

  • jENNYg112 Profile Picture
    4 on at

     

    Sure, thanks for your help

     

    jENNYg112_1-1710372372588.png

    jENNYg112_2-1710372452858.png

     

     

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @jENNYg112 ,

    I did a test again.

    Please check this test.

    My USERS List:

    vyetonggumsft_1-1710427974513.png

    My SALES List:

    vyetonggumsft_2-1710428004757.png

    The Result:

    vyetonggumsft_9-1710428919009.png

    My Flow:

    vyetonggumsft_0-1710427925654.png

    item()?['IDUser']
    item()?['Name']

    vyetonggumsft_3-1710428217200.png

    item()?['IDS'] 
    item()?['Sale']
    body('Select_2') 
    body('Select') 
    item()?['IDUser'] 
    tems('Apply_to_each')?['IDS'] item()?['Name']
    

    vyetonggumsft_4-1710428390824.png

    body('Filter_array')
    {
    "Name":@{replace(replace(replace(variables('String'),'"',''),'[',''),']','')},
    "Sale":@{items('Apply_to_each')?['Sale']}
    }

    vyetonggumsft_5-1710428527656.png

    item()?['Name']
    union(body('Select_4'),body('Select_4'))

    vyetonggumsft_8-1710428783469.png

    outputs('Compose')
    item()?['Name']
    items('Apply_to_each_2')
    {
    "Name":@{items('Apply_to_each_2')},
    "Sale":@{body('Join')}
    }

    Best Regards,

    Sunshine Gu

     

    If I solve your problem, please mark my reply as a solution so that I can help more people in the future.

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 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard