I am evaluating Quicksight to use as a BI tool for our application. In that process, I created a simple bar chart that shows realized return on a stock for a specific period (X-Axis: Realized Return, Y-Axis: Execution Date). However, our requirement is to let the user select a date range and display the realized return for that selected date range (on Y-axis). It would be helpful if someone can advise on the steps to implement date range feature on the charts in QuickSight.
Thanks,
Venkat
Tried "Parameters" to implement date range filter to the chart but was unsuccessful.
You can add a date filter to the visualization.
https://docs.aws.amazon.com/quicksight/latest/user/add-a-filter-data-prep.html
Once the filter is added to the visualization, you can also add it as a control to the Analysis/Dashboard to let the end user interact with it.
https://docs.aws.amazon.com/quicksight/latest/user/filter-controls.html
Related
I'm using several time series panels on my dashboards, which are showing the values based on the selected time range.
Now, I want to add a gauge panel, which should show the number of payment transactions since midnight (although I know all the problems about server restarts, the feature of the rate function, etc. the gauge panel will an interesting part of my dashboard). So my query has to be independant from the selected time range of the dashboard.
I've found the variables ${__from} und ${__to} in the Grafana docs, but I'm not sure, how I can use them in a query or how to use them flexibel, e.g. getting the current daten/time as "to" and calculating "from" als midnight value.
Has anybody an idea, if this is generally possible?
Thanks in advance
Matthias
I am trying to use the drill through filter to take my user to other data related to that date. Essentially I have an overview page and I want the user to click on a date and drill through to the next page, where it will show them test scores nearest to that date.
I think I need to do two things 1) store the filter date as a variable so I can use it to find the nearest test date to the filtered date 2) create measures which ignore the filtered drill through date and can for example calculate the minimum or maximum test scores on all the tests overall.
I'm not sure if either of these options are possible but any help is greatly appreciated. TIA
I'm doind a chart of warehouse income and outcome but X-Axis is not ordering the date correctly
Does anyone know how to fix it?
Try setting the Sort parameter to you date dimension and use Ascending option for it.
Should look like this:
Here you can find detailed docs for all the chart types used in GDS.
I am very new to Grafana, just started understanding since yesterday. I am using InfluxDB as a Datasource. I actually liked Grafana, but I could not able to achieve simple scenario.
I wanna show some data based on some "time" custom range in X-Axis. Although I could be able to select custom Date globally, but I wanna select time range (say, I wanna see graph of data between 5 Pm to 7 Pm of some column data for Jan 11, 2020), how can I achieve this in Graph Panel? I 've selected custom date using Date Picker as "Jan 11", but not understanding how to view data for some specific custom range in Graph Panel.
After searching, I found something like: $__from , $__to, but could not able to understand how to use it in Graph Panel. I mean here: https://grafana.com/docs/grafana/latest/reference/templating/
I will be glad if anyone could be able to look into my above issue. Thank you!
Just make sure you have $timeFilter in your WHERE clause
https://grafana.com/docs/grafana/latest/reference/templating/#the-timefilter-or-timefilter-variable
For Example
SELECT SUM(*) from measurement.whatever WHERE $timeFilter
Say my time range on the Dashboard is "Last 7 Days"
The above would expand to
SELECT SUM(*) from measurement.whatever WHERE time >=now() -7d
I want to visualize the unique count for a field aggregated daily and weekly per day in the same sheet. But timelion aggregation affects the entire sheet instead of just a single chart.
The expression I am using to get the daily unique count is
.es(metric='cardinality:userId').bars().title('Unique users over time')
If I change the bucket range on the right to 1d, I get the correct chart. How do I create the weekly aggregation?
There is a possibility to specify the interval used for timelion expressions by specifying interval as 1d or respectively 1w in the es() function. For details, please see the docs here.
In your case this should work with the following expression:
.es(metric='cardinality:userId',interval=1w).bars().title('Unique users per week')
Be aware of the comment inside the docs, stating that this should not be used in favor of working with the interval picker. But probably this is a use case where it is okay to do it like this...