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 / Not getting All Column...
Power Apps
Unanswered

Not getting All Columns from SharePoint

(0) ShareShare
ReportReport
Posted on by 99
Hi Everyone

Good day!

I have a gallery getting direct data from SharePoint but I'm using switch in items gallery to change data source.
 
However, it doesn't get all columns from that specific data source.

e.g. Datasource 1 has field1-field14, However it only returns field1-7

 
/** code in gallery items based on dropdown selected value **/

Switch(Dropdown.Selected.Value, 1, Datasource1, 2, Datasource2)


any suggestions on this? 

Thank you for your response
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,547 Most Valuable Professional on at
    Hi @Houji,
    Your issue is that Power Apps will not accept (properly anyway) the possibility of two different data sources in a Table control (gallery, drop-down etc) Items. It is a bit frustrating that it does not return an error, however my experience is that it rarely returns the expected output. You may have to rethink your model and have two galleries, one visible on each of the possible drop-down choices.
     
    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    LinkedIn   

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
WarrenBelz Profile Picture

WarrenBelz 509 Most Valuable Professional

#2
Haque Profile Picture

Haque 302

#3
11manish Profile Picture

11manish 265

Last 30 days Overall leaderboard