I am a newbie to grafana. I have made dashboards in grafana using MySQL query. For Example:
SELECT TimeOfDay as time,M00B01, M00B00,M00B02
from ABC
where ABC_ID=0;
Now I want to give drop-down option on the dashboard that will allow the user to change the graph based on his selection checkbox he choose i.e. if he selects ‘M00B00’ then data points of ‘M00B00’ only should be fetched from the database against Time. If he select ‘M00B01’ then only ‘M00B01’ should be fetched from database. Or if he selected both option from drop-down he should be able to see the graph for both column.
How can i achieve this? I know I can use variables but what settings or configs to set to achieve this. Thank you. Any help is much appreciated.
Create a global variable with settings like the one in the screenshot, but with Client replaced with the label name that holds ‘M00B00’ and ‘M00B01’. Also, if you want the user to be able to select both together, make sure Multi-value checked.
Then, if you need help with the query configuration, this page should help: http://docs.grafana.org/features/datasources/mysql/
Related
I use Backpack for Laravel.
I know that to add a field, we can use:
CRUD::addField(['name'=>..])
But, I don't know how to add a field that lookup another field input from different table to show a lookup value.
Please look at the illustration below.
Thanks.
Edit:
I found a temporary solution to this, but not effective.
Reference: https://backpackforlaravel.com/docs/4.1/crud-how-to#add-a-select2-field-that-depends-on-another-field
With select2_from_ajax you still have to select the option (even its just one option left), meanwhile what I really want is its automatically select that one option.
It's depends on what you need to do. You can use relationship field and show a select with the list of user. If you really wanna do it like this. You can probably make an ajax request to show it. In that case you ll need to use a custom view for the edit or the create view.
I'm new to parse and back4app. While I'm trying to delete a class (table) in the dashboard, I can't find any menu item that allows me to do it. Can anybody point me to the right direction?
Also related, is it possible to change a column's name after it is added, and is it possible to bulk update rows for certain fields, all within the dashboard?
Well, actually I just found part of the answer. The "Delete this class" menu item is in the top right Edit menu, as shown in this screenshot:
In order to delete the class, it must be empty, so you firstly need to delete all rows before deleting the class.
It's not possible to edit the column's name from the dashboard, so, what you may do is exporting the data and import your JSON file with the right name.
Another option that is not recommended if you're not sure about it, is updating the column's name through Mongo commands.
You'll need to update it in the collection (the class) and in the SCHEMAS too.
The connection string to help you with the mongo commands is available at Server Settings > Core Settings > Settings > MongoDB Database URI.
I am looking to build an Apache Superset interactive dashboard for one of my clients which has existing dashboards on Tableau consist of 6-7 widgets which can interact (filter) with one another at different points of clicks. I am not sure if we can code such an action filter feature in Superset. Please let me know.
If anyone is unaware of Tableau action filter please go through below link for the demo:
https://www.youtube.com/watch?v=Bhhb74Zgvzo
Create a new chart and select Filter box as visualization type. Select and configure the columns you want to filter on and add it to your dashboard.
I am required to make a form which will contain important keywords and their description, with the possibility to search between the words. It is loaded from the Help menu and it is designed to give the users detailed help informations about other components. (Just like every application's Help menu)
I only used forms to query tables, and I was wondering, what is the correct way to achieve this? Does Oracle support any feature that would auto-generate a help-form based on my 'Help' inputs from Property Palettes? or do I have to manually write data into a canvas? if so, how can I search through it?
I considered creating a table and writing help informations in it, but I don't think that is the correct way.
Oracle Forms, unfortunately, does not give you programmatic access to values stored in property palettes, so your solution will need to be custom made.
Create a table, e.g. HELP_TOPICS (keyword, help_text), add a list item that contains all the keywords; when a user selects a keyword, query the table to find the help text, and set the value on a display-only text area item on the page.
I want to have multiple filters in an APEX report but it seems it's not possible? I'm new to apex so it's quite possible too I just don't know how to do it.
I've searched around the net and looked at the various settings in the APEX page but I can't find what I'm looking for.
Like in this screenshot: http://i.imgur.com/3j3wOIG.png
I can only have 1 filter available. I want to filter on other fields too including fields which are not in the report columns.
Is this possible? If yes, can you please teach me? thanks
Columns that aren't displayed in your report are not rendered on your page, therefore you can not filter on them. If you want do so anyway, you need to create a filter based on page items, which you can append to your report query in the where clause.
e.g. create a page item P1_FILTER1 and reference it in your query as: "...where my_column = nvl(:P1_FILTER1,my_column)".
To ensure data consistency you can best create your page item as a select list.