How To Change Windows Time Format In Date/Time Window In Windows 10? - date

I have my short time format set to HH:MM:ss which includes the leading zero. But, instead the time format doesn't include the leading zero. Is it possible to include the leading zero into this time format?
EDIT: I'm currently not allowed to post images, the time format I am on about is when you click the time and date in the bottom right hand corner of Windows 10 and it then displays it in the top of the box that appears.
Many thanks,
William

Related

How do I format the date column in goggle sheets when the dates are of two different time zones?

I was working on a project using Goggle sheets and I decided to format my Date column, But after formatting, some rows were still left aligned instead of right aligned, Is there a way format it to make all columns right aligned?

Highlighting box for provisional data on Viz

I would like to create a box(shaded with a different color to the background) to show the fact that the last 3 days are provisional data. I want to do this on a line chart that has date on the x-axis and a value on the y-axis. If there is a filter on the dates displayed the box should only show up on the last three days relative to the current date(which is the last date in the date field).
I wrote about this use case in a recent blog post showing how to shade a Tableau chart. The same solution should apply here. Create a calculated field based on the dates you want to mark as provisional. Something like:
[Date]>=DATEADD('day',-3,{MAX([Date])})
Use that and format the shading. The article has the full explanation with images - it's a bit long to post in this response.

Tableau add trend line to discrete data?

I have run into this more times then I like, and I think it will continuously haunt me. I am creating reports/dashboards that report monthly or yearly or weekly data. The dates come in with just the last day of the period. For example, now I am working 2019 monthly report that is a bar chart with a trend line. Took me about 15 minutes to make in excel. However, we are trying to move everything into Tableau for dashboards. Trend line is always grayed out when using discrete dates and sometimes when using continuous dates. The dates are in the format DD/MM/YYYY so I can convert them as continuous but that skews the spacing on the X-Axis. I have messed around to get it to work but it takes time. I am shocked that this very basic thing does not work when Excel has been able to do it for a very long time. Does anyone know of a good work around? I have tried calculated the trend line myself, but do not see how I can add in the y=mx+B line that is generated. I am debating creating a data set just for this, but that seems long and hard way for something that I would have expected out of the box. Below is some basic data, in Excel it takes about 1 minutes to create a line chart, click (+) add trend line and your done.
I was not able to deal with the skew of the X-Axis very well but playing with the date it started and setting the major tick marks to monthly got me close. Looking at the picture below you will see the tick marks are not in the center of the bars but close. As for the trend line, I added a Dual axis on the same data that was the sum of all shown fields with no division by the parts (this is a stack mark bar chart). Since this is a basic line chart with continuous dates, a trend line is a simple click. I then removed the Tick Markets and set the opacity to 0% making the line invisible. I did not change the trend line so now that is all you can see. Seems like a long and hard way to do it, but it works. (UPDATE) Better fix, NEVER USE EOM always use First of Month.

Tableau constant reference line issue when changing date range

I have a few reference lines showing the previous year's averages. The problem I'm running into is when I select a smaller date range (like 10 days vs 90 days) the chart just cuts to that date range instead of resizing the entire chart so that you can look closer at the selected days. Is there a way around this?
This is not how I'd like it to look when I isolate down to a smaller timeframe:
Resolved...changed the date to discrete that fixed the issue.

Special kind of bar chart

So, I have a kind of "customized bar chart" here. Forgive my lack of drawing skills, I just slapped this together in MS Paint.
The idea is that we have a patient who is on a certain medication. The chart has the following attributes:
Each black line represents a visit date (so, the horizontal axis is a date series).
The chart should have a unique indicator for start date, end date, and when the patient paused and resumed taking the medication.
Each visit date (black line) should have a dosage amount attached to it. This does not have to be a symbol, it can be a value (e.g., 2400mg, 4800, etc).
It's sort of a cross between a Gantt chart and a bar chart, but is neither of the two specifically. There are start and end dates, with a bar-like representation across a time period, but there could be potential gaps between pause and resume dates as well.
Is a chart like this even possible in BIRT, or does it require advanced customization?
Let me know if you need anything clarified.
What you should be able to do is build a table for each medication, where the columns are the doses, and dynamically change the width of the columns. Some quick research indicates adjusting the column width in a table can be challenging but here is question about doing it to a crosstab
The easiest way might be to leave the column widths floating, and add characters (same color as background so they don't display). The characters are added based on time between visits and will cause the column widths to change accordingly. You can use highlights to change the background code based on JavaScript.
You may want to have a look at d3. It enables highly customizable chart.
For example, https://vida.io/documents/ZCzewTza4ZSzMWSBG.
BIRT 4.3 has support for D3.