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 / Power Apps Calendar Te...
Power Apps
Answered

Power Apps Calendar Template-Sharepoint List- multiday events

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I was manipulating the premade calendar template in microsofts powerapps to make a calendar based off a list instead of connecting to my outlook account. Im having trouble with multiday events not showing up in the right side of the template (where is shows what events are happening). The picture is the current code in the line, just need help having an event the spans over multiple days show up on the right side. I was able to put in the items the first ("StartDate") and the last day of the event ("EndDate"). In my list, i only have two date columns. 

dankest_memes_0-1679577391640.png

 

Categories:
I have the same question (0)
  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    Hello @Anonymous ,

     

    The following formula should help you:

     

    Filter(
     datasource,
     And(
     StartDate <= selectedDate,
     selectedDate <= EndDate
     )
    )
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WiZey Thank you for the help, the code worked for the right side of the template. The only issue is that now its showing all the events for the month rather than just the events on that day. Any more help is appreciated. 

     

    dankest_memes_0-1679610011149.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    never mind that issue, I had input the selected date incorrectly and used different dates. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @WiZey Hey I need help on one more thing within my app. I wanted to get this error fixed and I haven't figured it out yet. One of the pictures is the powerapp and the other is the data set it is using. I just want the dots to start at the "StartDate" and go through until the "EndDate" from my list. Anything helps.

    dankest_memes_0-1679611514222.png

    dankest_memes_2-1679611664113.png

     

     

  • WiZey Profile Picture
    3,023 Moderator on at

    Check the dots' "Visible" property, you'll see they're based on the existence of an event at a date.

     

    If you want to make the dots visible based on the selected record of your gallery, you can change the dots' "Visible" property to something like this, if you're using the exact same calendar Power Apps gave you as a sample:

     

    Circle.Visible:
     And(
     Gallery.Selected.StartDate <= DateAdd(_firstDayInView;ThisItem.Value;TimeUnit.Days),
     DateAdd(_firstDayInView;ThisItem.Value;TimeUnit.Days) <= Gallery.Selected.EndDate
     )

     

    Or, if you want to use all the records at once, you can calculate the earliest "StartDate" and the latest "EndDate" to get a range of date. The "And()" function uses the variables "_startDate" and "_endDate" instead of the gallery's item.

     

    With(
     {
     _startDate: Min(Gallery.AllItems; StartDate);
     _endDate: Max(Gallery.AllItems; EndDate)
     };
     And(...)
    )

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard