hi Everyone,
am trying to create a custom fiscal quarter in power apps from date picker. we have a fiscal year starting from Nov to Oct, so if the date picker select the date a Dec 1,2019 than the text input be FY20Q1
Solved! Go to Solution.
Something like this?
"FY"& Text( DateAdd( DatePicker3.SelectedDate, 2, Months ),
"yy" )& Switch(Text(DatePicker3.SelectedDate, "[$-en-US]mm"),"01","Q2","02","Q2","03","Q2","04","Q3","05","Q3","06","Q3","07","Q4","08","Q4","09","Q4","10","Q1","11","Q1","12","Q1")
Something like this?
"FY"& Text( DateAdd( DatePicker3.SelectedDate, 2, Months ),
"yy" )& Switch(Text(DatePicker3.SelectedDate, "[$-en-US]mm"),"01","Q2","02","Q2","03","Q2","04","Q3","05","Q3","06","Q3","07","Q4","08","Q4","09","Q4","10","Q1","11","Q1","12","Q1")
yeah let me give a try
hi @pokhani if you wish to try an alternative:
With(
{
_month: Month(yourDatePicker.SelectedDate),
_year: Year(yourDatePicker.SelectedDate)
},
With(
{
__month: If(_month = 12,_month - 11, _month + 1), //starting teh fiscal at Dec
__year: If(_month = 12,_year + 1, _year) //ensure all periods have the same year
},
"FY" & Right(__year,2) & "Q" & __month
)
)
Result
now 2019
01 jan 2019
hope it helps,
R
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
208 | |
98 | |
60 | |
51 | |
42 |
User | Count |
---|---|
258 | |
160 | |
85 | |
79 | |
57 |