cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mayarnaldo15
Helper I
Helper I

Include checkbox in Filter

Hi,

Both codes are working properly separately. I just don't know how I combine the two.

 

I have filter function by Department

SortByColumns(
    Filter(
        QAOversightApp,
        Department = DeptDropdown.SelectedText.Result
      
    ),
    "Modified",
    Descending
)

 

After filtering the department, I have to show the list with Follow-up only. The column type of Follow-up in Sharepoint list is Boolean

If(Checkbox1.Value=true, Filter(QAOversightApp, 'Follow-up' <> false), QAOversightApp)

 

mayarnaldo15_0-1634199751858.png

 

Any help is appreciated! 🙂 

Regards,

May

 

1 ACCEPTED SOLUTION

Accepted Solutions
PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @mayarnaldo15 ,

 

Something like below code will work in your case ? 

 

If(Checkbox1.Value=true, SortByColumns(Filter(QAOversightApp, Department = DeptDropdown.SelectedText.Result && 'Follow-up' <> false),
    "Modified",
    Descending
), SortByColumns(
    Filter(
        QAOversightApp,
        Department = DeptDropdown.SelectedText.Result
      
    ),
    "Modified",
    Descending
))

 

 

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

1 REPLY 1
PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @mayarnaldo15 ,

 

Something like below code will work in your case ? 

 

If(Checkbox1.Value=true, SortByColumns(Filter(QAOversightApp, Department = DeptDropdown.SelectedText.Result && 'Follow-up' <> false),
    "Modified",
    Descending
), SortByColumns(
    Filter(
        QAOversightApp,
        Department = DeptDropdown.SelectedText.Result
      
    ),
    "Modified",
    Descending
))

 

 

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,189)