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 / Submitting a 12 Fiscal...
Power Apps
Answered

Submitting a 12 Fiscal Year items list.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi guys, im new to powerapps. Ive been using it for about two months now. My boss has me developing a Tracker app where the users have a button to automatically create a twelve month item list based off a submitted Start Date. He requested a a Fiscal Year column in the table as well.

 

I got it to work relatively well by creating the items based of the Start Date using the DateAdd function. So example, using Collect the list is created in SP with:

DateAdd(Date, 1, Months)

DateAdd(Date, 2, Months)

and so on..

 

The problem is the Fiscal Year though. Since our FY is from October to September i am having a difficult time creating the logic to enter the correct FY for the items based on the submitted Start Date. Setting a logic like:

 

"If Month>=10, Fiscal Year+1, Fiscal Year", doesn't work because if the Start Date submitted is 9/1/2020 then a 12 item list would be created rolling over into Jan of 2021. January's value is 1 which is less than 10 and returning a FY of 2020.

 

Im probably over thinking this but if anyone could assist with the logic it'd be much appreciated. 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You could create this table on your app's OnStart property and reference it when you need to do FY logic.

     

    ClearCollect(FiscalYearSchedule,
    Table(
    {FiscalMonth:1,MonthName:"October",MonthNumber:10}
    ,{FiscalMonth:2,MonthName:"November",MonthNumber:11}
    ,{FiscalMonth:3,MonthName:"December",MonthNumber:12}
    ,{FiscalMonth:4,MonthName:"January",MonthNumber:1}
    ,{FiscalMonth:5,MonthName:"February",MonthNumber:2}
    ,{FiscalMonth:6,MonthName:"March",MonthNumber:3}
    ,{FiscalMonth:7,MonthName:"April",MonthNumber:4}
    ,{FiscalMonth:8,MonthName:"May",MonthNumber:5}
    ,{FiscalMonth:9,MonthName:"June",MonthNumber:6}
    ,{FiscalMonth:10,MonthName:"July",MonthNumber:7}
    ,{FiscalMonth:11,MonthName:"August",MonthNumber:8}
    ,{FiscalMonth:12,MonthName:"September",MonthNumber:9}
    ))

     

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • AGroegelich Profile Picture
    140 on at

    You have to cheat. I would add a second (hidden) column numbered 1 to 12. Name the column for example FiscMonthNr. In your case October will be month 1 and September month 12.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous Thanks for this. Never though about using a collection since I've never used a collected table before. Your conversion table worked like a charm, although it look me a bit to rework my logic for it. Not only did it work, it optimized the variables and formulas i over complicated trying to figure this out. Thanks again!

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard