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 / Dynamically selecting ...
Power Automate
Suggested Answer

Dynamically selecting a table in excel

(0) ShareShare
ReportReport
Posted on by 17
Hi Automaters,

I am trying to build a flow that can help track check in-outs from a Power App in an excel spread sheet. Every day the formatted table (CheckInOut) in this .xlsx is copied and renamed to the day's date. 
 
In Power Apps once someone presses "check in" it should add to that day's sheet. Is there some way to dynamically assign the correct table in this spreadsheet? A new spreadsheet will be created at the start of every month too and I would like to dynamically track that if possible.
 
I assume this isn't as easy as formatting the date time as text and putting it in the Table section. Any advice?
Categories:
I have the same question (0)
  • Mira Ghaly Profile Picture
    11,413 Moderator on at
    Hi,
     
    I would say this would be a little bit complicated have you thought of building your check in - out on Microsoft Lists / Sharepoint instead of Excel?
     
    Using Sharepoint would be much easier and you can then pull the data to excel from sharepoint if required but if excel is required , i can still say there is a way to pull tables dynamically if needed but needs some work , I can try on my end and let you know
  • HarZ Profile Picture
    17 on at
    Hi Mira,
     
    I haven't thought about Microsoft Lists or SharePoint due to unfamiliarity. However, if it greatly simplifies the current process I am all ears as I do not believe Excel is required in any capacity.
  • Suggested answer
    Mira Ghaly Profile Picture
    11,413 Moderator on at
    Hi,
     
    So if you are happy with sharepoint lists then the process should be as below;
    You can use the below link to see how you can create a Microsoft  list https://support.microsoft.com/en-au/office/create-a-list-0d397414-d95f-41eb-addd-5e6eff41b083
     
    For the Microsoft List your columns should like Below:
    1. Column 1: Choose Type Person and this should be the person who is doing the check in - check out
    2. Column 2 : Should be a Date(It should be Date Time but do not include the Time) and this is the date of the Record so both the Person and Date should be always entered once per day
    3. Column 3: Check-In Time -> Date Time -> Include Time
    4. Column 4: Check-Out Time -> Date Time -> Include Time
     
    It should be something Similar to the below
     
     
    If you started your app from this list it will look like the below but of course you will need a lot of logic to handle for the user to check- in and check out by themselves
     
  • HarZ Profile Picture
    17 on at
    Hi Mira,
     
    Thank you for the detailed instructions on setting up a SharePoint for check in/outs. I'm still unsure on how to dynamically select this SharePoint in Power Automate and Power Apps however.

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard