I want the user just to only choose Month and Year in a JCalendar, and I want to set the day by default 30, besides February which is 28.
Is there any way to set up JCalendar like this?
Related
I'm trying to implement SingleDatePicker with days from the previous month falling in the first/last week of the month shown to be shown in a disabled state.
For example, if my current month in view starts on a Thursday, I want to show 3 days from previous month on the same month view, but disabled.
Is there any way I can do this?
In Tableau 10.5, I want to have my Week(date) start on a Monday, but it automatically starts on Sunday. How can I change this?
From one of the worksheets, right-click the Data Source, then select “Date Properties”. From here, you can modify Week Start Day, Fiscal Year Start and Date Format.
I am working on a dashboard where the user wants to change dates from a fiscal year to a calendar year from January 2017 going forward while keeping all data and continuing to display data prior to the change date in fiscal year format.
I have looked at using a calculated field with dateadd clocking the date back a month but it skews the data when the gap between fiscal and calendar month is rolled into 2017.
Has anyone encountered this issue?
I need to modify some Tableau dashboards so that they show from the previous month going back 12 months.
For example, it is August 2017 now, so the company wants to see the 12 months ending at July 2017. In other words: Aug 2016, Sept 2016, Oct 2016...June 2017, July 2017.
Using Tableau's relative date filter, users can easily select "previous month" (July 2017) or "previous 12 months" (Sept 2016-Aug 2017) on the relative date filter. But they can't choose previous month going back 12 months (Aug 2016-July 2017).
I was thinking of writing a formula that sets current month as 0, previous month as 1, month before that as 2 etc and that way I can filter to only show months 1, 2, ...12. And not show month 0, the current month.
Is this the best approach? I thought Tableau would have an option for this - surely a lot of companies want to see a year worth of data ending at the previous month? (Since the current month is not yet complete so they don't want to see a partial month's data).
Thanks for your ideas!
You are right about this being a common requirement. I do 'Last 12 months' filter too which excludes current month since it is not a full month.
In my case I have defined a True/False type calculated field which I use to filter records which show in the dashboards.
Here is the formula that I use:
DATEDIFF('month',[My Timestamp Field],Today()) < 13 and DATEDIFF('month',[My Timestamp Field],Today()) > 0
This is more of an usability problem/bug/question.
I wanted to add an event to occur on the end of the month for every month.
But if I choose October 31 and set Repeat Event -> Every Month, all months ending in 30 are left out (including 28-feb).
So, I could solve this by putting the end of the month at 30, and only miss out on February... But I need it to be on the 31, when the month ends in 31; 30 when it ends in 30; and 28 or 29 for February.
The Calendar app doesn't detect that I want it "Every Month at the end of the month".
I can't create an event for 30 and another for 31 because I would have the same event twice on months ending in 31.
So, anyone have a way around this?
Of course, going to each month and setting it is not an answer I'm looking for. And requesting 28-day 13-month calendars isn't either.
Set the graphic calendar solution aside, and try something like:
Repeat event <Monthly> on <first> <Friday>
Repeat event <Monthly> on <last> <day>
Translate that to a programmatic schedule as needed.
I am frustrated by the same issue. Although it is not a programming solution, you could solve it by setting the calendar item for the 1st of the month and set a reminder to popup on the day before the event.