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 / Circular reference err...
Power Apps
Answered

Circular reference error on a simple Search function

(2) ShareShare
ReportReport
Posted on by 8
Getting a "This rule creates a circular reference between properties error.." on a simple Search function where I am attempting to search a in the Items of a Gallery connected to a SP list:
 
Search(BadgeList,TextInput2.Text,"LastName")
 
I am following an example on Microsoft's on PowerApps site, but getting this error for some reason. Appreciate any assistance!
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Please add some details. Where did you exactly put this the wording is confusing
     
    Please share a picture.
     
    If you are inside the Gallery itself or self-references on a control within you will see this. Once I see the pictures and understand exactly where you put this code i can help you fix it.
     
    Also, if you can explain what you are doing with the output
  • Jellman Profile Picture
    8 on at
    Added a pic. 
    Trying to output items in a list when typing in a text box. Very simple at this point. 
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Yeah, you cannot do that, because you would be constantly filtering on your own filter that's what causes this to be a circular reference.
     
    Just for Kicks, if you try Filter, it won't break (or shouldn't)
    and use StartsWith 
     
    Filter(bleh, startsWith(TextInput2.Text))
     
    Unless you think they are looking for string like inside the last night, then we can do another solution
  • Jellman Profile Picture
    8 on at
    Like this? 
  • Verified answer
    ronaldwalcott Profile Picture
    3,866 Moderator on at
    The other way around
    Filter(BadgeList,StartsWith(LastName, TextInput2.Text))
     
    If LastName is a column in BadgeList
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at
     
    Yeah sorry was doing 120 things at one.
     
    flip it around as Donald said.
     
    Cheers!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 977

#2
Valantis Profile Picture

Valantis 664

#3
11manish Profile Picture

11manish 530

Last 30 days Overall leaderboard