I have a date at position A in a Word2016 document and want to have that date plus e.g. 6 month at another given position B in the same document. My idea is to calculate the new date at position B with a reference to the date at position A. How could I do this?
Related
We are using chart.js lib Version 3.7.1.We have multichart graph with line and bars. Both using time scale on x axis, but one has one month value, while second has one day value.
example:
const dailyAxis = [27-05-2022, 30-05-2022, 31-05-2022, 01-06-2022, ... 07-06-2022];
const monthlyAxis = [31-03-2022, 30-04-2022, 31-05-2022, 30-06-2022];
The problem is, that daily values could start from the middle of the month or one month could have 20 daily values, other could have 30. Is it possible to align two charts, to have first daily point at start of monthly bar and last point at the end of monthly bar, no matter how many daily values we have?
My problem is: I'm strugling with Power bi trying to correct a default behaviour of the line chart. In this case when I try to filter my data for periods of 2 to 5 days the hours of the day appear in the X axis. Like I show in the image below. In my date hierarchy I have specified my date column with the format (dd/mm/yyyy) and the column is of the type "date", but he hours of the day still appear.
How can I get rid of the hours of the day when I select only 2 to 5 days in the slicer of time??
What I've tried: I've tried to change the date column in my line chart visual so that only the month and the day appear but when a monthly period of days is selected the visual isn't able to show all the data at once and the user needs to scroll in the element, so it is not a solution. I've also tried to change the format of my date column but without sucess.
The desired result must show only the days without the hours of the day like the image bellow:
Links I've followed but sadly didn't help:
Power Bi Axis X and Y
Core plot x-axis labels are not shown
In Power BI X-axis label, how to show only week starting day instead of all date series?
Can Power BI add range selection to a Line Chart?
I'm graphing weekly total page loads per 1000 students, which is easy enough when the pill for the page load variable is set to 'sum', and the date pill is set to 'week number.'
BUT, I also have a table that lists individual dates on which important policy changes occurred, and I want to draw those as vertical lines.
Using a dual axis, I have been able to plot the specific dates as lines, but because the resolution of the date axis is set to "week", it lumps all dates in the policy change table that occur within a single week into one, or possibly omits dates that don't land on the right date for that week, and therefore I don't get individual lines for every policy change.
weekly resolution, dates omitted
I have been able to approximate what I'm looking for by setting the date pill to 'day,' and then doing a rolling average of the page load values--but this doesn't represent the page loads in the way I need it to.
rolling sum, not the same calculation, but includes dates
I need either a way to layer two charts on top of each other, with different x-axis resolutions, or possibly the correct calculated field that gives me the straight up weekly sum of the daily total page loads for successive weeks, so I can use the 'day' setting on the date-time access but still get the weekly values I want, and then plot all dates in the policy change table.
I'm looking for a way to display a tooltip/popup in d3 that shows all data for a certain timestamp. I'm displaying up to five data series at once and sometimes, but not always, there are data from two or more data series at the same timestamp, and those I want to show when move the mouse along the x-axis.
Can this be done?
My solution for my problem was to write some own functions that first get the x-position where I click on the chart, convert that to a valid timestamp. Then matching with nearest actual timestamp in the dataseries. Then I show a rect as a window with the data at that timestamp for all series that has data at that timestamp.
I am new to SSRS world. I want to show the Horizontal axis label field as per below:
In my report I will pass a parameter called Year. In the repot it will show a line in Y-axis (it is limit field) and Date field is in the X-axis. I want to show total (12 + 1)=13 label like 1st date of every month (e.g. 1-jan-, 1-Feb) and last date of the selected year (31 -Dec).
Can anyone please help me regarding that?
Try to change the axis type to scalar, then set the following fields:
Minimum - 1
Maximum - 13
Interval - 1
Interval Type - Numbers