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 / Filter out Records fro...
Power Apps
Answered

Filter out Records from Sharepoint then Store it to Variable

(0) ShareShare
ReportReport
Posted on by 221

Hi, So here's what I'm trying to do.

1. Filter out records from a sharepoint (Vehicle unit number) having date_and_time_in as null.

JeffGimo_0-1604756316911.png

 

2. Store it (13,30,33,95) in a variable x.

3. I have a variable y having values numbers 1-100.

4. Subtract values of x from y (y-x). Is this possible? I have tried searching for similar problems but no luck.

 

Best Regards.

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

    @JeffGimo 

    Store the values in a Collection like this this

     

    ClearCollect(your_datasource_name, Filter(your_sharepoint_list, ‘Date and Time’= Blank()).’Vehicle Unit Number’

     

    No idea what you are asking in #3 and #4.  Variables don’t have multiple values in the vast majority of cases.

     

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

     

     

  • JeffGimo Profile Picture
    221 on at

    I mean variable y is an array. So I want to subtract the x(13,30,33,95) to y.

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @JeffGimo 

    Sorry, but there is no ‘array’ type variable in PowerApps.  Only text, number, date, boolean, image, screen, enum, record and table.

     

    How did you create this ‘array’ variable.  Please show your code.

     

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

  • JeffGimo Profile Picture
    221 on at

    Hello,

     

    Sorry. I mean table. 

    I want to remove 13,30,33,95 from table y (which is numbers 1-100).

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard