cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Filter command with ShowColumn

Hello Geeks,

 

Need help to filter the showColumns function data with field 'Status' ="Available".

ShowColumn(VehicleMaster,"Model","Rate")

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Filter command with ShowColumn

@shoebwk 
If Status is a Choices type column in SharePoint do this:

 

ShowColumns(Filter(VehicleMaster, Status.Value="Available"),"Model","Rate")

 

 

Otherwise, do this:

 

ShowColumns(Filter(VehicleMaster, Status="Available"),"Model","Rate")

 

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Super User III
Super User III

Re: Filter command with ShowColumn

@shoebwk 

I have corrected my small syntax error above.  Please Accept as Solution for my response above 🙂

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: Filter command with ShowColumn

@shoebwk 
If Status is a Choices type column in SharePoint do this:

 

ShowColumns(Filter(VehicleMaster, Status.Value="Available"),"Model","Rate")

 

 

Otherwise, do this:

 

ShowColumns(Filter(VehicleMaster, Status="Available"),"Model","Rate")

 

 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Microsoft
Microsoft

Re: Filter command with ShowColumn

Hi@shoebwk,

Could you please share more about your scenario?

Do you want to filter the "Model" and "Rate" based on the Status field value?

Is there a Gallery for your filtering? I assume that you use the Gallery to filter the columns.

@mdevaney has provided the correct direction, however, there is a small error with syntax. It is ShowColumns() rather than ShowColumn().

Please set the Items property of the Gallery as below:

 

ShowColumns(Filter(VehicleMaster,Status="Available"),"Model","Rate")

 

If the Status is a Choice column, modify the formula as below:

ShowColumns(Filter(VehicleMaster,Status.Value="Available"),"Model","Rate")

If you could not solve the problem, please provide more details.

Best Regards,

Qi

Highlighted
Super User III
Super User III

Re: Filter command with ShowColumn

@shoebwk 

I have corrected my small syntax error above.  Please Accept as Solution for my response above 🙂

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,856)