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 / Displaying Only Popula...
Power Apps
Unanswered

Displaying Only Populated Fields for Selected Resource and Handling Dynamic SharePoint Columns

(1) ShareShare
ReportReport
Posted on by 32
Hello,
quite new to canvas apps.
I am building a Power Apps app that connects to a SharePoint list with around 100 columns.
Users should select a 'Resource Name', and fields with values only should be displayed.
 
Additionally, a specific user should be able to  add columns/deals in the app (which in turn will be added in SP) and those columns should be visible and editable for the other users.
Some columns might have missing data (empty cells) for certain resources. 
 
quick example of the sp structure below:
 
Manager Resource Name Deal1 Deal2 Deal3 Deal4 Deal5
John Smith Alice Johnson 50   50%    
John Smith Bob Brown   75%   15%  
Mary Davis Charlie Green 50 50      
Mary Davis Dana White       100%  
John Smith Eve Black 25% 25%   25% 25%
 
 
- The goal is to show only the columns with values when a specific Resource Name is selected in Power Apps. Other columns (e.g., empty deal columns) should be available in a ComboBox for the user to select and display if needed.
 
My questions is - what would be the best approach having in mind functionality and user experience to meet the above mentioned needs
I’ve tried using a Gallery for the Resource Name and a separate Form for the Deals. However, I’m struggling with how to conditionally show only the DataCards with values and manage the dynamic addition of new columns in the Form. Additionally, I experimented with transposing the deals into rows to utilize the Gallery control, but this approach complicates the monthly export of the SharePoint list, which needs to retain its original column structure.
 
Any suggestions are much appreciated.
thank you
Martin
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at
    Hi MMDDW 
    Unfortunately, you can do neither - dynamically refer to fields or add them from Power Apps. Fields need to be added in the SharePoint interface and you would need to hard-code any reference to fields, controls or data sources.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard