I have many years of temperature data in InfluxDB and want to use Grafana to render this data in a histogram.
The buckets should be by month and each bucket should be the average of the data inside.
Ideally the X-axis legend would be Jan, Feb, Mar,...
I've read the Histogram section of the Grafana documentation and found it of little help.
Does anyone know what settings should be used and how I should construct the query?
Thanks
Related
I am creating a monthly excel report with dynamic charts.
Let's say the table is about Products Sold in that month. Since some products might not have been sold, I want to omit them in the graph. Hence I have created a dynamic graph by using the OFFSET formula. This is all good with generating the graph with the standard data labels.
However, I would also like the data labels to be in custom format, i.e displaying both number of units sold as well as the % of total units sold that month like this [200 (28%)]
The only method I know to apply custom data labels is linking individual data labels to the excel cells. But this won't work with dynamic chart as not all rows of the data is present in the graph.
Please help, thank you in advance.
I have a report with 2 pie charts, giving sales data for product groups. Running a dataset from an OLAP cube.
I want to be able to select 2 different dates for each chart.
Example; Someone wants to compare November sales to the previous month. So one chart to display October, one to display November. Or they might want to see how Jan/Feb/Mar compare to Apr/May/Jun.
Can this be done from the same dataset, or do I need to point each chart to a separate dataset?
If the dataset returns the data for both months, you could add filters to each chart to show the appropriate one. However, it sounds like you'd want this to be more dynamic.
I would suggest creating two separate datasets, each with a month parameter. This will allow the user to select any combination of two months. The charts would simply point to their respective dataset. You shouldn't incur a noticeable performance hit either way.
I am trying to create a forecast using a monthly timeseries data set of marketing expenses for a fictional company. The data looks something like this:
Using linear regression to forecast future sales, I get the following result:
My problem lies with the seasonality of the marketing expenses (higher in the summer months for instance). I would ideally like to calculate to forecasted values of future months including seasonality. I read somewhere about ARIMA forecasting, but am really searching for some best ideas on how to accomplish the task.
To be clear, I do not JUST want a chart and trendline, but the data to support it too.
Any help would be much appreciated!
You can do that easily using Excel (2016) Forecast tool by first selecting your data, then clicking on:
Data -> Forecast Sheet -> Options -> Set Manually (under Seasonality)
You can also play with the options. Once you click on "Create", Excel will generate a graph, and a table with relevant data.
Alternatively, you can also create a binary variable for each season, and calculate a multiple regression for the Marketing expenses controlling for time, and each of the binary variables for the seasons but one (which is the reference group). You could either use excel analytical tool, or any other statistical software.
I have a graph with data for each day. I would like to only show the average of the data per week on my graph.
Here you can see a part of the chart. What I want is that these 21 (42) bars (days) shown in 3 (6) bars (weeks).
Can Excel do this without me having to manipulate the data and creating averages per week?
If Excel can't, what would be the most efficient way to create this dataset, if you know my data is organized following this structure (going until 31/12/2017).
I appreciate you reading my question and I hope you can help me out.
Plot a PivotChart with Average of for VALUES and ROWS (dates) grouped by Days and 7.
I have a power pivot table with a date time entry (which can be changed to any-type of output with a case statement) Format (2012-01-01 00:00:30.000) Which I need to figure out how many of these entry's for any day arrived from 1:00 Am to 1:59 A, and 2:00 am to 2:59 am etc?
How do I format the Bin frequency in excel so I build the hour buckets?
I do want to graph more than one day but that could be done on the SQL side.
You might need to make a new table to chart the frequency distributions. Here's an example.
The formula
=COUNTIFS(A$2:A$17,"<"&F6,A2:A17,">="&E6)
will provide what you want. You can adjust the limits for min/max with the chart shown. Sorry, I couldn't figure out how to easily share the excel file.
As an alternative to the other answer which is valid, you can create a pivot table based off of your data and then group it by right-clicking anywhere in the pivot table, selecting "Group..." and telling it how you want to group the data. You can group by Months, Days, Hours, Minutes, etc...