web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : vJ1V6fv1xySvnMbnCcmWFN
Power Apps - Building Power Apps
Answered

syntax help on ShowColumns and Filter

Like (0) ShareShare
ReportReport
Posted on 2 Feb 2021 21:55:01 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

  • Verified answer
    LRVinNC Profile Picture
    2,297 on 02 Feb 2021 at 22:16:36
    Re: syntax help on ShowColumns and Filter

    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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete