Tableau Line Graph doesn't connect the current month - tableau-api

Hello as you can see in the image,
I have created a worksheet in which I'm trying to show the line graph trend of the number of tickets per month per track level(see filters)
However when i turn on the filter " Show Current Month" to True,
The line graph doesnt connect to the the current month which is Jan 2016
Is this beacuse Jan is a new Year in the graph ?
What can be the solution to the issue ?
Current month issues

Ensure that you are using Continuous date field. http://onlinehelp.tableau.com/current/pro/desktop/en-us/dates_continuous.html
And if your date field is continuous, then you only need one date field on the columns shelf (i.e. get rid of the blue Year([Event Date]) field from the Columns shelf and only keep the green one

Related

Tableau Fixed Max date registered by month

I want to create a graph line in tableau with a count distinct id per month.
I use an excel spreadsheet that is updated a few times per month but never on the same date, so I have different dates registered as months go by.
I want to use the last date registered per month so I can use that date to show month's trend through the years. Each id represent a different construction building, so it is expected that the same id can be found on different months.
This is what I tried: Tableau Fixed (LOD) formula the get last date registered per each month:
{ FIXED [id_constructionbuilding], MONTH([date_registered]): MAX([date_registered])}
Then I use rows and columns in tableau but I get more than one max date (my excel has 2020 and 2021 dates, so it's picking dates from October 2020 and October 2021 for example). Dates are order according to Spanish so you will see month and days shifted:
I would suggest updating your calculated field to:
{ FIXED [id_constructionbuilding],DATETRUNC('month', [date_registered]), DATETRUNC('year', [date_registered]):MAX([date_registered])}
This will keep the level of detail (LOD) to the id_constru..., month and year.

How to display date from a specific month in Excel Pivot Chart

I want my chart showing period from FEB-2020 to DEC-2021. However, if i filter away January, it will remove January for 2020 & 2021. This is because, "Years" & "Date" They are independent filters. How to only filter away JAN-2020 only?
I have figured out.
If create using pivot chart, we can either show month with no data or show month only data. However, show month with no data, u will show full year-month for 2020 which is unwanted.
For pivot chart, u have only 1 way to control month to display is to create dummy data for that month. Then, run a macro to delete "(blank)" legend.
Hit me up, if anyone interested to know more.☺

How to selectively filter based on a dimension?

Link to tableau graph
I want to selectively filter the above graph based on the year. For example, when I deselect December, I want only the 2018 values to be excluded while keeping the December values for the other years.
Tableau version: 2018.3.0
You can create a calculated field called something like "year-month of order date" that contains logic such as YEAR(Order Date) * 100 + MONTH(Order Date). Drag that field to the filter box and include it on the dashboard. Then the user can exclude any combination of year and month combination.

Altering x-axis for dates in Tableau

I have a data set that has dates for many years. I can easily filter the data by month or week, but I was hoping to change the X axis to make it start in October and end in April.
Is there a way to do this in Tableau without altering the original data and listed dates?
I don't know about it ending in April since that would not be a full 12 months but you can make it start in October. Right click on your date field > Default Properties > Fiscal Year Start. Then select October.

Error using [Today] in Sharepoint filter

I'm having issues creating a filtered view in a SharePoint list. The filter should display any results with a Created date from "this week". In my case, "this week" is from the previous Saturday through the upcoming Friday.
I get the error message "Filter value is not in a supported date format." when trying to create the filtered view.
Here are my filters:
Show the items when column
Created
Is Greater than or Equal to
[Today]-WEEKDAY([Today])
and when column
Created
Is Less than or Equal to
[Today]-WEEKDAY([Today])+6
What am I missing? And is it as simple as I'm guessing it probably is?
You can't use complex formula in Filters - you have to keep it simple like [Today]-30 for last 30 days.
The solution is to turn the problem on its head and add calculated columns to work out the start of the week and the end of the week then filter when the current date is between those dates (i.e. Start <= [Today] AND End >= [Today])
This post gives you more details - its based on the Current Calendar Month but the same technique can be sued for calendar week - see formula at bottom.
http://blog.pentalogic.net/2009/11/howto-filter-items-current-calendar-month-view-sharepoint/