Power App Functions

Search Text Box
Search('Personal Informations', TextInput1.Text, cr2bf_phonenumber, cr2bf_email)

Live Time
Text(Now(), "[$-en-US]dd/mm/yyyy hh:mm:ss AM/PM")


To show live date and time in Microsoft Power Apps, follow these steps:


✅ Step-by-step:

  1. Insert a Label onto your screen.

  2. Set the Text property of the label to:

Text(Now(), "[$-en-US]dd/mm/yyyy hh:mm:ss AM/PM")

This will display the current date and time in dd/mm/yyyy hh:mm:ss format.


⏱ To Make It Update Live (Auto Refresh):

Power Apps doesn't auto-refresh labels on its own, so to simulate a live clock:

  1. Add a Timer control to the screen (Insert > Input > Timer).

  2. Set these Timer properties:

    • Duration: 1000 (for 1 second)

    • Repeat: true

    • AutoStart: true

    • OnTimerEnd:

      Set(CurrentTime, Now())
  3. Then set the label’s Text to:

    Text(CurrentTime, "[$-en-US]dd/mm/yyyy hh:mm:ss AM/PM")
Role Base Access
If(
    User().Email = "adityabhati.bda24@aidtm.ac.in",
    Navigate(Screen3),
    Navigate(Home)
)




Or for immediate use on a screen, just use:
Office365Users.MyProfileV2().displayName



Office365Users.MyProfileV2().CompanyName & ", " & Office365Users.MyProfileV2().City


If(
    User().Email = "30180581@adani.com", Navigate(Home_PJ),
    User().Email = "30033159@adani.com", Navigate(Home_VJ),
    Navigate(Restricted)
)

<iframe 
  title="MIS Corp Services Power BI" 
  width="100%" 
  height="600" 
  src="https://app.powerbi.com/reportEmbed?reportId=f617f4f2-5427-4b05-aab6-d3ea355627ff&autoAuth=true&ctid=04c72f56-1848-46a2-8167-8e5d36510cbc&actionBarEnabled=true" 
  frameborder="0" 
  allowfullscreen="true">
</iframe>


Notify("Press F11 for fullscreen", NotificationType.Information, 5)


Set(fullscreenTipShown, false)

If(
    !fullscreenTipShown,
    Notify("Tip: Press F11 for fullscreen mode.", NotificationType.Information, 5),
    Set(fullscreenTipShown, true)
)


If(
    CountRows(Filter(UserAccess, Email = User().Email)) > 0,
    Navigate(Home_PJ),
    Navigate(Restricted)
)






If(
    CountRows(Filter(Authentications, Home_PJ = User().Email)) > 0,
    Navigate(Home_PJ),
    CountRows(Filter(Authentications, Home_Admin = User().Email)) > 0,
    Navigate(Home_Admin),
    CountRows(Filter(Authentications, Home_VJ = User().Email)) > 0,
    Navigate(Home_VJ),
    Navigate(Restricted)
)

Comments

Popular posts from this blog

SmartAgri - A Startup For Farmers

Data Normalization

How DeepSeek Beat ChatGPT