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 Apps / Navigate screen based ...
Power Apps
Unanswered

Navigate screen based on roles

(0) ShareShare
ReportReport
Posted on by

I want to navigate to different screens based on roles. User, Admin

As when I take SharePoint list as a database for Users it works perfectly but when I use Dataverse it shows error in roles. 

Is it important to have a license for the role? I have made a custom table.

 

Set(
    User_role,
    LookUp(
        'Role Assigns',
        'Email Address' = email_vv.Text And Password = password_vv.Text
    ).Role
);
If(
    IsBlankOrError(User_role),
    Notify(
        "Incorrect Password or Username",
        NotificationType.Error
    ),

    If

   ( 'Role (Role Assigns)'.Admin=1 ,Navigate('Admin Menu Choice'),Navigate(Menu_choice))
   
    );
Reset(email_vv) & Reset(password_vv)
 
 
I am using this formulaa...
 
AdityaRana_0-1709782788962.png

 

 please help
 
 
Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,679 Super User 2024 Season 1 on at

    @AdityaRana - 

     

    What is the error message? What is the data type for this column?  "('Role (Role Assigns)"

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @AdityaRana, Using Dataverse will require a premium license for the users to use the app to begin with. As @Amik, what is exactly is the error you are getting?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard