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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help with list Shift T...
Power Automate
Unanswered

Help with list Shift Time off requests to Excel

(0) ShareShare
ReportReport
Posted on by

Hi,

Complete newbie to Power Automate, but I have managed to create my first flow which pulls data from Shifts Time off requests into Excel. I need to know a few things. How I can insert the Users name instead of UserID, and Reason instead of reason ID. Can't seem to find and answer i'm looking for, or how to put it together. Thanks in advance @Anonymous 

 

Categories:
I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    Can you share your flow to better understand your requirement?

     

    Cheers.

  • Community Power Platform Member Profile Picture
    on at

    Hi, Thanks for coming back to me. I have attached a picture, hope it makes sense to you.

    pic1.jpg

  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    This is the flow I made for your requirement, this does not mean that is the only one or that it cannot be optimized.

     

    First I declare two variables, "DisplayName" and "Time off reason"

     

    AnthonyAmador_0-1637852998624.png

    Then a called the two actions below.

     

    AnthonyAmador_1-1637853111336.png

     

    I create an "Apply to each" based on "Time Off Instances List". 

    AnthonyAmador_2-1637853302854.png

     

    In the Scope I get the "Time Off reason", first I filter the "List of Time Off Reasons" and then I set the Time off reason variable.

    AnthonyAmador_3-1637853899972.png

    AnthonyAmador_4-1637854070608.png

    AnthonyAmador_5-1637854301652.png

    AnthonyAmador_10-1637855279580.png

     

    In the Scope 2 I get the name of the user using the "Get user profile" action from Office 365 Users connector and then I set the Display Name variable.

     

    AnthonyAmador_6-1637854540840.png

     

    Finally I create the new row in the Excel table, all the flow should look like this. 

     

    AnthonyAmador_8-1637854811213.png

    AnthonyAmador_9-1637854860432.png

     

    Hope this helps. 

    Kind regards. 

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard