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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Visible if item exists...
Power Apps
Answered

Visible if item exists in list created by user + item created today/this week/this month

(0) ShareShare
ReportReport
Posted on by 30

Hello,

 

I have a form system that uses a sharepoint list as a data source. I'd like an icon to be displayed if the following is true, but I am having a hard time formatting it. Three icons in total:

1. Visible if Item exists in Sharepoint list made by current user AND item was made today/Date = today
2. Visible if Item exist in Sharepoint list made by current user AND item was made in current week (Sun-Saturday)
3. Visible if Item exists in Sharepoint list made by current user AND item was made in current month

 

Can anyone help me getting the syntax right for these? 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,408 Most Valuable Professional on at

    Hi @SamR ,

    Today

    IsToday(Created}

    Current month

    Month(Today) = Month(Created) && Year(Today) = Year(Created)

    Current week

    DateDiff(
     Created,
     Today(),
     Days
    } < 7 && 
    WeekDay(Created) < WeekDay(Today())

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • SamR Profile Picture
    30 on at

    Thanks @WarrenBelz !

    I have one follow up question that I should have mentioned. These check marks are not associated with list items themselves. That is, they are on a "home page" that users can use to get to different sharepoint list form submission screens.

    My hope is that users can take a quick glance at the home screen and see a green check mark if that respective form has been submitted for the day. Is this doable somehow? Maybe another method?

    Home screen:

    SamR_1-1631548765342.png

    And then clicking on one of the items takes you to the respective form with it's own sharepoint list as it's data source:

    SamR_2-1631548859381.png

     

  • WarrenBelz Profile Picture
    153,408 Most Valuable Professional on at

    @SamR ,

    I cannot see your model, but the principle is the same - you need to refer whatever record that is displaying to the logic I posted.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 405 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 280 Super User 2025 Season 2

#3
Kalathiya Profile Picture

Kalathiya 272

Last 30 days Overall leaderboard