Announcements
I have a gallery which changes sources (SQL views) based on If/Switch function.
Since last week the source does not return all columns from the source, but only first 12 columns.
It returns all the columns when used outside of If/Switch function.
Hi @Majlo
I would try to explictly specify the columns with the ShowColumns function. That might make the columns appear.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-table-shaping
Alternatively, you could try turning off 'explicit column selection' in the settings to see if that makes a difference.
Hi @timl ,
unfortunately I tried both of your suggestions and neither works.
It behaves slightly differently compared to usual 'explicit column selection' since I don't see the existing column at all, not only data in it
So I found the issue.
After the update in source db, some of the columns in some views changed their name to Expr1 etc. and since the names weren't unified it didn't show them
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 226 Super User 2026 Season 2
WarrenBelz 191 Most Valuable Professional
Mohsin Ali 167