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 / Create a filter for a ...
Power Apps
Unanswered

Create a filter for a view column based on the curent user

(0) ShareShare
ReportReport
Posted on by 37

Hello,

I have a custom dataverse table (POs) and I want to create a view for this table.

The view will display the records with

a) status = 'Sign' and

b) 'Running Task' equals the current user.

'Running Task' is a text column in POs table that contains user first/last name (eg. 'John Doe').

I haven't found a way to accomplish the (b) in dataverse view.

First of all there is no such option for the filter I create.

 

skatzis_0-1718192618614.png

I don't know if it accepts functions like User().FullName but I doubt.

 

So, I thought maybe I can use the 'Add Related table' option in filters for 'Microsoft Entry ID' table that has the information I want.

 

I added a new relationship like that

 

skatzis_1-1718194627583.png

 

But it seems there is no way to use it in filters since the only option I have for 'Related table' is 'Contains/Not Contains Records'.

 

Is there any way to achieve that from Dataverse so as not to have to create filtering in my Canvas app?

 

Thank you,

Nikos

I have the same question (0)
  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hi @skatzis 

     

    Is Running Task is a Look Up?

     

    If it is not a Look Up Create it as a Lookup (Related to User Table) and you can use the Equals Current User filter.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • skatzis Profile Picture
    37 on at

    Hi rampprakash,

    I actually added a new column inside the table as lookup column for "Microsoft Entra ID".

    When I added data in the table, I get the user names in lookup correctly.

    But when I go to the view to add the filter and press the down arrow, oops!!! I have the error you see 

     

    skatzis_1-1718200819542.png

     

     

    skatzis_0-1718200580424.png

    I'll try again tomorrow and if I have the same error, I'll handle it from the canvas app.

    Unless you or someone else knows something about this error.

     

    Thank you!

  • gulshankhurana Profile Picture
    1,397 Moderator on at

    Hi @skatzis 

     

    The lookup column should be for User (systemuser) table of Dataverse, not Microsoft Entra ID. Then it would allow you to use current user filter.

     

    Kind regards 

    Gulshan

    Please give it a thumbs up 👍🏻 if you appreciate my efforts.

    If my answer helped you resolve your issue then please also mark it as a solution ✅  so that it helps others experiencing the same problem.

  • Fubar Profile Picture
    8,340 Super User 2025 Season 2 on at

    In Dataverse we would usually filter either on the Owner of the record or another Lookup on the record to the User(systemuser) table - both these types of fields give you a filter of Current User). 

    Unfortunately, the limitation is still the same as per https://powerusers.microsoft.com/t5/Microsoft-Dataverse/Model-Driven-app-filter-view-AAD-User/td-p/2186897

     

     

  • Suggested answer
    CU07030651-0 Profile Picture
    2 on at
    Create a colum of lookup type Choose in lookup field as User column 
     
    From relationship name u should see reaktion _table1_USersystemColum something like this 
    On the yiew side.
     
    In filter use "add a relationship table" .
    Use the colum name which u created the lookup with value as contained data and then add the row from the relationship table colum use User colum and the value as Equal current user
     
    See the picture attached

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard