I am trying to chart Intraday Volume chart (Column chart), but i am having problem with the highstock grouping strategy, it's distribute the groups using time regardless how many points is each group, as a result, it is using a column for each hour, and Market is opening in 09:30 (NY time). this yield to have short columns for first hour since it's only 30 points.
Attached snapshot
Related
My stakeholders are looking to create a chart that follows what is called "Impacting Years" Here is a sample of the schema:
Count of ID. (This is the measure I am using the total the number of
rows)
First Impacting Year
Second Impacting Year
Third Impacting Year
These are all grouped by a unique identifier and each unique identifier has three impacting years. I am having a hard time figuring out how to create a chart in tableau that brings the total count of ALL impacting years. So essentially each unique count is being accounted for 3 times on the chart. One for each year.
I am trying to extract value for a given Month, Day, and Time of the year. I am trying to find the distribution of Demand for a possible outcome of Demand for the next year (24 hours * 365 days = 8760 data points)
For example, if I want to find the distribution of past demand on January 1st then I want to extract the demand value for the January 1st in every year at a specific time of the day within the data frame.
I provided a picture below on what I am trying to achieve.
Let's call the past demand "Past Demand SS" and the Expected Demand "E_Demand SS".
"Past Demand SS" has 3 columns and 35041 rows.
"E_Demand SS" has 3 columns and 8760 rows.
Any ideas on how I can achieve this instead of entering it in manually?
I have a graph of an energy meter in Grafana which shows the value of the consumed active energy over the selected time span.
This is a relatively new meter, a few months old, so the highest value it is currently showing is around 1570.3 kWh.
The interval shown in the image above is over the course of 24h, so it starts at 1568.1 kWh.
I want to offset the entire graph by 1568.1 kWh, so that the beginning of the graph is at 0 kWh and the end at 2200 Wh (~ 91 Wh per hour in average over 24 h).
It should always adjust when I change the selected time span, so that I can get a good overview of the daily, weekly or monthly consumption.
How do I archive this?
I read that using something like SELECT integral(derivative(max("in-value"))) ... would do the job, but I didn't get it to work. Also, I believe that just adding a SELECT max("in-value") - first_value_of_timespan("in-value") ... would be more precise and efficient, but such a method first_value_of_timespan does not exist.
The solution is to take the difference between the current interval and the next one (there are many small intervals in the shown time span), and then to do a cumulative_sum over all the differences of the time range.
In the specific case shown in the question the solution would be
SELECT cumulative_sum(difference(max("in-total"))) FROM "le.e6.haus.strom.zähler.hausstrom-solar" WHERE $timeFilter GROUP BY time($__interval) fill(previous)
In the demo site, there is an example with series comparison (http://www.highcharts.com/stock/demo/compare).
In this example every series has values at same date times.
What I have to plot is several series but each series has there own frequency (ie : one daily, one hourly and one every 10 minutes).
It works but the tooltip displays :
the 3 values when we are over a full day date time
the hourly and the 10' values when we are over full hour date time
only the 10' value when we are over a 10' date time
Would it be possible to always displays the 3 values?
Or by extrapolating the intermediate values (best) or by displaying 3 date times/values in the same tooltip.
Best regards
Unfortunately it is not build-in, so you need to use tooltip formatter, find the closest point of current (by loops on each serie / each point, comparing x value) and then return values.
I am creating a Crystal Report which consist of a graph. As I am new to this, I might be having problem with a very simple issue.
I have a table which consist of date, actual_rev, hrs_available, etc.
Now what I need in the graph is for each date sum of the actual_rev/ sum of the hrs_available. And this should be done grouping of every single date so that graph shows bar of each date.
In the above example the revenue sums up to 2317.00 and the hours sums up to 15.33 , getting the revenue per hour 151.14, which should be shown in the graph for this date.