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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ClearCollection - logi...
Power Apps
Unanswered

ClearCollection - logical test not recognized

(0) ShareShare
ReportReport
Posted on by 80

Hi everyone,

 

  • on one side, I have a SPL. Which has dropdown list on my field called "status".
  • On the other side, In my Canvas App I am trying to apply a ClearCollection to Filter the status. but one of the logical test seems not working

please check the below image.

How should I write the code? I even tried putting "quotation marks" but still not working. Thanks for helping 🙂

 

Picture1.png

 

thanks a lot for helping!!! 🙂

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at

    @Corleone 

    You are missed all the quotation marks...

    ClearCollect(colActiveIssue, Filter('Craftmanship test', Status.Value = "New" or Status.Value = "Action set-follow up"))

     

    ---
    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."

  • Corleone Profile Picture
    80 on at

    Hi,

     

    your formula went through. but I think is not collecting anything.

    because afterwards I applied CountRows (colActiveIssue) - and the output is 0. When should be 3.

     

    Picture2.png

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Corleone 

    Can I see a sample of your dataset to determine why that might be the case?

     

    ---
    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."

  • Corleone Profile Picture
    80 on at

    Hi @mdevaney 

     

    please find it below.

    you would see the column... Status. and 3 reponses: 2 New and 1 action set - follow up.

     

    dataset.png

  • mdevaney Profile Picture
    29,993 Moderator on at

    @Corleone 

    What data type is your Status column in SharePoint?  Is it plain-text or is it Choices?

     

    ---
    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."

  • Corleone Profile Picture
    80 on at

    @mdevaney 

     

    Choices!

  • Corleone Profile Picture
    80 on at

    @mdevaney 

    what do you think? do you have any clue?

     

    thanks!! 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 194 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 150

Last 30 days Overall leaderboard