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 / trying to create the c...
Power Apps
Answered

trying to create the calendra view app from SP list_Need help

(0) ShareShare
ReportReport
Posted on by 1,994

Hi 


I saw Shane's video creating Calendar link to SP list.

I try to create with his but the prev mth and next mth does not show on the gallery and the current month is showing it's time with date, anyone can help?  Thank you

bbsin_0-1715072353719.png

I try to use Days and it does not work. So I use the timeunit.days

bbsin_1-1715072379335.png

 

 

Prev mth and Next mth is just empty

bbsin_3-1715072461004.png

 

 

 

Thank you

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @bbsin ,

     

    If you want the label showing the date value to not show for values that are outside of the selected month, set the Visible property of the label to:

     

    Month(DateValue(Self.Text)) = Month(varCalMonth)

     

    If you want the label to only show the date, but not the time, you can use the Text function to format the value in the Text property of the label:

    Text(
     <insert your current formula for the Text property of the label in the gallery here>,
     "mm/dd/yyyy"
    )
  • bbsin Profile Picture
    1,994 on at

    Thank you but why is the previous month button and next month button when clicked, all dates for the months does not have the date appear the dates on the gallery?
    not sure which part is not right.

    bbsin_1-1715157163789.png

     

  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @bbsin ,

     

    Can you please share the full OnSelect property of both buttons?

  • bbsin Profile Picture
    1,994 on at

    @BCBuizer 

    The on select button for Previous Month

    Set(varCalMonth, DateAdd(varCalMonth, -1,TimeUnit.Months));
    Set(varCalMonthFirstDayView, DateAdd(varCalMonth, - Weekday(varCalMonth,TimeUnit.Days)));

    button Next Month
    Set(varCalMonth, DateAdd(varCalMonth,1,TimeUnit.Months));
    Set(varCalMonthFirstDayView, DateAdd(varCalMonth, - Weekday(varCalMonth,TimeUnit.Days)))
     
    Gallery Item
    Sequence(If(DateDiff(varCalMonthFirstDayView, DateAdd(varCalMonth, 1, TimeUnit.Months), TimeUnit.Days)>36,42,35))


    date gallery that should to show the dd/mm/yy; the current mth is showing fine but not the prev and next mth
    Text(DateAdd(varCalMonthFirstDayView, ThisItem.Value, TimeUnit.Days), "dd/mm/yyyy")

    bbsin_0-1715222967288.png
    bbsin_1-1715223009461.png



    Thank you

     

  • Verified answer
    BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @bbsin ,

     

    One of the brackets for both buttons has been misplace causing an error when running the formula and hence the dates are not showing.

     

    Please try the below for the Previous Month button:

    Set(varCalMonth, DateAdd(varCalMonth, -1,TimeUnit.Months));
    Set(varCalMonthFirstDayView, DateAdd(varCalMonth, - Weekday(varCalMonth),TimeUnit.Days));

    and this for the Next Month button:

    Set(varCalMonth, DateAdd(varCalMonth, 1,TimeUnit.Months));
    Set(varCalMonthFirstDayView, DateAdd(varCalMonth, - Weekday(varCalMonth),TimeUnit.Days));
  • bbsin Profile Picture
    1,994 on at

    @BCBuizer , Great.  It work now.


    Thank you for your help. 🙂

  • bbsin Profile Picture
    1,994 on at

    @BCBuizer 

    Hi Can I check with you 

    why is the nested gallery not displaying any text?
    if I have two events of the same date start to end date different, will it display more than 2?

    Thank you

     

    bbsin_1-1715323181351.png

    SP list

    bbsin_7-1715323394233.png

     




    current button

    bbsin_5-1715323284635.png

     

     



    next mth button

    bbsin_4-1715323250654.png



    prev mth button

    bbsin_6-1715323320168.png



    Thank you

     

     

  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @bbsin ,

     

    In the formula for the Items property of the nested gallery replace LblCurrentDate.Text with the actual formula you have for that property.

     

    Indeed the gallery should show multiple items if there are multiple.

  • bbsin Profile Picture
    1,994 on at

    @BCBuizer 

    Strangely all the months are not displaying any items?

    bbsin_1-1715593402710.png

     

     

     

    Thank you

  • BCBuizer Profile Picture
    22,636 Super User 2026 Season 1 on at

    Hi @bbsin ,

     

    Can you please share the Items property of GalDayDetails and the Text property of lblCurrentDate?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard