Monthly recurring event using module expo-calendar - expo

I'm willing to create a recurring date based on "nth weekday of month"
E.g
if I select 30 of this month which is last friday it will repeat every month on last friday
but I don't find in documentation to achieve my need
Any help would be appreciated

Related

How to make the relative week filter to include date starting from Sunday?

When using the relative date filter suppose I select last 2 calendar week, assuming today is a Tuesday then it selects Last to last Sunday to Last Saturday.
Where as if I select last 2 week, then it selects Last to last Wednesday to today (Tuesday). How to make the filter select Last to last Sunday to today?
What you are describing can be achieved with a standard date slider. This isn't possible with a relative date filter.

AWS Quicksight: Display week as a number, grouped by month and not year

I need to display Week as number in AWS QuickSight.I understand, we can do this to get the week numbers: In the field wells, click the format option for the date field and on the left side-panel, enter 'w' in the Custom format field.
The issue is this gives the week number in the year. How do I get week number per month?
You can use calculated fields to calculate it.
It depends how you define "week of month". In a simple case, if you define first 7 days of a month as "week 1", the second 7 days as "week 2", etc, use this formula:
dateDiff(truncDate('MM', mydate), mydate, 'WK') + 1
I do a date-diff (in weeks) between first day of month (truncDate) to input-ed date.
Result:

eliminate weekend dates by shifting it on work dates

I have a worksheet in which there is some work that has to be done on any specific date monthly, weekly, quarterly, yearly and daily. I have a formula that auto shows the planned date on which any work has to be done. But there is a need for change in formula that I have only taken all the dates from Monday to Saturday as Sunday is off here.
The problem arises here. please see C13, D13, E13, date of December (12/8/2019) is Sunday. (please see FT13:FW13). so I want that if Sunday falls on any planned date it should roll over to Monday automatically. for example, if 12/8/2019 is sunday this should show up the planned date automatically in cell FV13 (12/9/2019) which is Monday. it means date should be auto roll from Sunday to Monday. however, I have got a formula that can round up the Sunday for monthly planned works. (you can see E12 ,FT12:FW12) but round up of dates is still needed for yearly and quarterly planned works.
https://docs.google.com/spreadsheets/d/1CXjQDjiP_xTnb8DcpsgQKmLyaaV9XX0NdisvcruuOfY/edit#gid=1924994592
you can simply do IF statement to correct the weekend dates acordingly:
=ARRAYFORMULA(IF(A2:A<>"",
IF(TEXT(A2:A, "ddd")="Sat", A2:A+2,
IF(TEXT(A2:A, "ddd")="Sun", A2:A+1, A2:A)), ))

Start week on monday in AWS Quicksight

I know I can change the date field granularity to week in AWS Quicksight, and I can also display the date by week number. But as far as I understand, Quicksight defines the start of a week on Sunday, and I need it to be Monday.
Is there any way to start the week on Monday in AWS Quicksight?
Here is a formula for a calculated field you can add that will group your dates by weeks starting on Mondays. You should be able just replace {date_date} with your field name and copy/paste this into the formula box (including the newlines) and it will do the trick.
addDateTime(
1,
'DD',
truncDate(
'WK',
ifelse(
extract(
'WD',
{date_date}
) = 1,
addDateTime(
-1,
'DD',
{date_date}
),
{date_date}
)
)
)
This field will equal the Monday that starts the week your date falls into.
You can put this all in one line but I added the line breaks for readability.
It essentials checks if the date is on a Sunday, and moves it to the previous week and then just adds a day to the normal trunc function so that the weeks begin on Monday.
Acoording to the documentation
https://docs.aws.amazon.com/quicksight/latest/user/truncDate-function.html
WK: This returns the week portion of the date. The week starts on Sunday in Amazon QuickSight.
you can use filters to start like here
This is still an issue when using filters and rolling dates as weeks in analytics.
There is an open thread in the AWS community forum.
https://community.amazonquicksight.com/t/starting-weeks-on-monday-show-gaps-on-custom-weekly-groupings/4222
As a I workaround for this, I would recommend defining a column (either in the dataset or as a calculated field) that represents the year_week_iso (ie. 2023-W01 or 202301 if you prefer to have an integer value).
This column can then be used to group data in order to show trends over time when the week begins on a Monday.
The integer version of this column can also be leveraged to show the most current week of data by setting up a Top 1 filter that is based off the max(year_week_iso_integer) →
example Amazon Quicksight filter to get current week

Power BI-Move on to the next working day

How can I use the Weekday formulae in powerBI?
The objective is if the current day is Saturday add 2 days to make it Monday(next working day) and if the current day is Sunday add 1 day to make it Monday and if its friday then add 3 days to make it the next working day.