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 / Comparing Columns name...
Power Apps
Answered

Comparing Columns names to Row Titles

(0) ShareShare
ReportReport
Posted on by 82

I am building an app for someone to review a call centre contact. The contact is marked based on a variety of attributes and the user will mark each attribute as either yes, no or N/A.

 

This is then submitted as a form to a sharepoint list called "QA Form Entries" where the columns are the agent, the reviewer, and all of the attributes, along with a pass or fail on the call.

 

I have a separate list called "Attribute Descriptions" where the attributes are stored as rows, and each attribute has a name, score weight, and description as well as an yes/no column called "is zero score?" for if failing this attribute will fail the contact as a whole (such as if they didn't pass DPA). I have it stored this way so that the user can click an info box on any attribute in the form to pull up the description of that attribute, and since it is stored in the sharepoint it makes it easy to maintain if any of the attribute descriptions need amended.

 

Where I've gotten stuck is, working out whether the call passes or fails. I know I could code in a bunch of if statements so say, if any of these attributes are not a "Yes" or N/A, then fail then call. I'm wondering if there's a way to use the yes/no column in the attributes list, to then check those columns in the contact list without having to code for each individual one. This will make it easier to maintain if any of the attributes become automatic fail attributes in future as it would just require the box to be ticked in the sharepoint list.

 

I've attached screenshots of the list layouts for reference, any suggestions would be much appreciated. The furthest I've gotten is creating a collection of Attribute Names that are zero scores. Just not sure if it's possible to compare the list of attribute names to column names in a different list.

 

App is still in early development so if either list layout needs changed I can look in to that.

Attribute Descriptions.PNG
QA Form Entries.PNG
Zero Score list in PowerApps.PNG
Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @crdawson 

    You cannot reference column names of records in a dynamic way.  They must be spelled out in the formula.  

    PowerApps needs to have schema specifics all the time.  Your columns are part of that schema.

    When you specify lists list you have in the attribute descriptions, it is much easier to work with.  But when used as columns, it becomes a lot of extra work to type all those into your app formulas.

     

    You would not necessarily need a bunch of If statements to determine values, but you would need to specify formulas that have your column names in them.

     

    I hope this is helpful for you.

  • crdawson Profile Picture
    82 on at

    Thought that might be the case, thanks for confirming

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard