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 / syntax help on ShowCol...
Power Apps
Answered

syntax help on ShowColumns and Filter

(0) ShareShare
ReportReport
Posted on by

Just need some help on syntax and is this possible ?

 

ShowColumns(Filter('[dbo].[Rebate_Sales_Cond_Maint]', Sales_Adj_Selection_YN = "Y");
'[dbo].[Rebate_Sales_Cond_Maint]',"Selection_Text","Selection_Col_DBNames")

 

Thanks

Dave

Categories:
I have the same question (0)
  • Verified answer
    LRVinNC Profile Picture
    2,297 on at

    The syntax of ShowColumns is ShowColumns(table, "column to show1", "column to show2") where table can be a filter.  So it appears to me you are filtering the table '[dbo].[Rebate_Sales_Cond_Maint]', based on the column Sales_Adj_Selection_YN =containing a value of "Y".   And it appears the fields you are wanted to return are "Selection_Text" and "Selection_Col_DBNames".  You seem to have a extra copy of your table name after your filter. 

     

    So based on my interpretation of what I see above, it looks like your syntax should be

    ShowColumns(Filter('[dbo].[Rebate_Sales_Cond_Maint]', Sales_Adj_Selection_YN = "Y"),
    "Selection_Text","Selection_Col_DBNames")

     

    Did I miss interpret what you are trying to accomplish?

     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard