Adding Custom Date Range on Admin Dashboard Chart Magento - magento

I am working on a task to show Date Range on Dashboard chart. so data chart will display on custom date range selection. I have added calendar on chart but result is not coming properly. I know its very specific requirement. I am looking if someone has already done such modification and can provide me some guidence to achieve this.

The data displayed on the dashboard comes from tables aggregated by a cron every day for product viewed and bestsellers. It is calculated and displayed accordingly. If you want to have a date range, you need to use the ones that are aggregated daily and group by product_id. For orders, you can use the function setDateRange existing in Mage_Reports_Model_Resource_Order_Collection.

Related

Display Predefined Category type for Pie Chart when landing to Kibana Dashboard Opensearch

In my dashboard there are plenty of visuals. Out of them i have filter and pie chart. Let's say using filter we can select which Ware house's asset types count distribution you want display(Asset Types: Laps, Scans and printers). so when user selecting each Warehouse, pie chart shows corresponding asset type's count distribution.
Problem is when i log into dashboard first i can see the newest data point for each asset types.lets say latest data for Laps are 10 from warehouse A and latest data point for Scans 25 from warehouse C. Initial pie chart shows laps are 10 and Scan are 25. What i want display is either any data warehouse or a predefined warehouse when the user first log into dashboard.
When i selecting using filter it shows the correct data . Only question is when user see dashboard after logging and before selecting.
So as above pic.when user see the dashboard just after logging it shows asset types from diffrent warehouse. I want to show predifined Warehouse
Note: To make above donut plot i used Top hits for count , descending timestamps and group by using "Asset types".
In this graph what i need to show is latest asset types count distribution for each warehouse.

Tableau: How can I display the filtered value passed via an Action while drilling down to another dashboard, in the filter field?

I have several dashboards displaying employee survey data at different roll-up levels.
I'm using an Action to move from a summary of all employees, to detail on a single employee. So my filter is configured to pass the "Employee Name" to the next dashboard on click. So I can click on an employee from the list, and jump to the dashboard showing the summary of a single employee. This all works great.
The problem I'm trying to solve is that the drop down list filter for Employee Name on the Employee Detail dashboard doesn't adjust to the employee the action filters the list to, it still says (All). I.E. if I click on the record for John Doe, the jump and filter of the data works correctly, but the actual filter selector still says (All), rather than John Doe.
Is it possible to get the filter selection to update?
Once you have created an Action filter, you can show that filter on a dashboard just like any other filters.
Henry, because you have a filter on your dash, the action adds another filter but the only filter it's updated is the Action filter, in the image you could see the two filters updated only on the action filter... you could do so by using only dashboards filtering each others, because the dashboards always show the data in them, and you could make the action filters each other....
here is the dahsboard from the Regional Example Database of Tableau Desktop.

Cannot fiter grid when collection is grouped by date

I have custom grid in which I have grouped the collection by order created date.However I found the weird issue that though default grid allowed to filter the dates I was not able to filter the grid with date.
Please help me.

Implementing drill down in Kibana 4

Is it possible, and if so, how, to implement drill down in Kibana 4?
For example, lets say a dashboard has a pie chart which represents products.
Beneath that, there could be a table which shows component parts which are used to make products, together with supplier name, cost, availability, and other details. Clicking a product in the pie chart will filter the table to only show parts for that specific product. Selecting the supplier field would drill to another table showing the details for the supplier.
This requires that there be a multi-column table widget which would be used to display the details for each part, and that each column in the table could potentially be a link to another table.
In addition, lets say that there are three charts at the top of the dashboard. Clicking on each one should swap out the area below to display a table with a specific query and data columns relevant to the selected chart.
Is this kind of functionality abailable in Kibana?
You can mostly achieve this type of functionality in Kibana 4. What you'll want to do is create a search that has the fields that you want to display and save that. Next you'll create your visualizations that have the things you want to drill down on.
Finally, create a dashboard with all of the visualizations on it, and then also add the Search (when you hit +, there's a tab that says Searches. Choose your saved search there.
When you click on your widgets, it will start adding filters and refreshing the page, including your "search".
On the search widget that's on the dashboard, you can click on the rows and they will expand to show the fields. Next to each field is a +/- that will let you filter to that value or exclude that value.
I Think Kibi has this feature But again I think it is for relational database tables
Please refer to this issue
https://github.com/elastic/kibana/issues/4439

Magento seasonal products

I'm looking for an easy way to set up a product in the Magento catalog so that it appears on a date that I specify and only until a date I specify. This would operate similarly to the current sale_from and sale_to dates, but hide the products entirely outside the given date range. For reference, this is for holiday products that are only relevant until a given date. Anyone?
Thanks,
Joe
You could create two attributes, and if one of them is set, set the visibility accordingly use an event right before the save (using an event observer)...

Resources