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 Apps / Return value into mult...
Power Apps
Suggested Answer

Return value into multiple variable from table

(0) ShareShare
ReportReport
Posted on by 20
on the basis of student ID i need to bring his name, age, address into three variable. how can i do it in powerapps.
 
Thanks.
I have the same question (0)
  • Suggested answer
    Nandit Profile Picture
    1,568 Moderator on at
     
    By student ID, do you mean the Email ID?
    If yes, here's how you can set the three variables either on OnStart or by using a button:
    Set(varName, Office365Users.MyProfileV2(User()).displayName);
    Set(varAge, DateDiff(Office365Users.MyProfileV2(User()).birthday, Today(), TimeUnit.Years));
    Set(varAddress, Office365Users.MyProfileV2(User()).streetAddress);
    
    or if you mean a student ID like this: 798876 or something similar.
     
    Where is the student ID stored?
     
    Kind regards, 
    Nandit
     
    If this answers your query, please mark this response as the answer.
    If its helpful, please leave a like. Thanks!
     
  • RS-26100114-0 Profile Picture
    20 on at
    Hi Nandit,
     
    Thanks a lot for the Reply.
     
    I have the table as follows-
    UserID UserPassword UserName UserDesignation UserAddress
    236 xxxtt Charles Manager Washington
    258 ttyyy Edward Senior Executive Detroit
     
    When I filter an user, I need to keep the UserName, UserDesignation, UserAddress in variables and would like to use as necessary.
     
    I want to know this, how can I do it. Hope I could explain.
     
    Thanks and appreciate your help, highly, in advance.
     
     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard