Dashboard Hyperlink or Iframe URL: Filter Parameter Required - dashboard

I have a dashboard made up of several dashlets (based on ad hoc views) and some filters.
I have set up a hyperlink on one dashlet that allows the user to click on a product and drill to another report.
The hyperlink needed to pass the Product in the Dashlet that the user clicks on as well as any selections made on the filters within the dashboard, for example filter the dashboard on certain Supplier Types.
I got this working using the following syntax: -
repo:/reportPath?$P{"p_SupplierType=",Supplier_Type_Filter , ? "&"}&p_Product=$P{Product Field}
This works fine.
THE PROBLEM
The issue is that if I don't select anything in my Supplier Type filter (i.e I want all Supplier Types) then I get an error telling me that Value for parameter 'Supplier_Type_Filter' is not set.
Anybody had the same or similar issues and have a solution or a workaround or even just an idea?
Thanks in advance.

Related

Grafana Table Panel 'clickable' and use it to drill down to a more detailed view

Is it possible to have a Table Panel in Grafana, and when you click on a row, it shows a graph from another set of time series?
I see there is a feature request for it, but I'm not sure it's available yet
https://github.com/grafana/grafana/issues/5481
Looking for any suggestions on making the rows in a Table Panel
'clickable' and use it to drill down to a more detailed view (another
dashboard using Template variables). Currently displaying a summary of
several servers as rows in a Table Panel and we want to select an
individual row (i.e a server) to drill down to a more detailed
Dashboard.
Any ways to do this?
Thanks
You can achieve this also in 4.x by defining a link for a table column (in the Column Styles section under Visualization). The link can refer to another dashboard and embed current cell's value (or other cell in the same row) as a parameter.
For example the link Url can be:
/d/c9xaXx5Zz/tree-node?var-datasource=$datasource&var-interval_id=${__cell_1}&from=$__from&to=$__to&var-path=root
In Grafana 6 or above you can preserve the time range filter using the $__from and $__to built-in vars.
The available built-in variables to access cell contents are not well documented, but they can be found by hovering over the (i) icon of the Url in the table panel.
More info on built-in vars: https://grafana.com/docs/reference/templating/#global-built-in-variables
The feature request you linked to is a duplicate of this one which links to this Pull Request. The PR was recently merged so it is available now as a nightly build and will be included in the upcoming 5.0.0 release in September/October.
Drill Down Option can be used from General option from Grafana Dashboard.
Copy the link in the Url of the table which you want to show. Change the items in the variable part which is changing according to the need.It will be of format var-name=value
The link URL works well if you are linking to another dashboard, but it does not work well if you are changing a variable on the same dashboard as it does not auto-refresh.
You can add JavaScript into the URL instead of a link.
javascript:$('a.variable-value-link').trigger('click'); $('span:contains(${__cell:raw})').closest('a').trigger('click');
The JavaScript only works for a single dropdown, it would have to be updated if there were multiple dropdowns. I worked on this quickly, so I am sure there is a better way to use JavaScript to change the variable. It basically opens the dropdown, finds the value from the current row and selects it.

Action filters across dashboards without switching sheets in Tableau 9.2

In Tableau 9.2, how can I use a filter which filters from one dashboard to another so that when I trigger it, it does not switch dashboards? I have found this answer online, yet the poster cautions that their method should only be used for V7 and not V9.
Create another action as a filter in the sheet you want to stay in and select all of the dashboards as source and target. As this is the newest action it should make you stay in the same sheet while you keep applying different filters to your data.
In the Dashboard Menu go to Actions and add a Filter,in the filter select source dashboard and select other dashboard as target.This will redirect you to different tab.
You could use a parameter along with calculated fields, or use the JavaScript API
Filter actions also change to the target sheet or dashboard, if not already in focus (as you found out)
If you are doing single selection and your list of values is relatively stable, you could use a parameter instead -- loading the initial values from your field. And then define calculated fields that access the parameter value and use those fields on filter shelves as desired.
Changing a parameter value does not change the view to a target sheet -- unlike a filter action.
The downside of this approach is that the parameter values are not loaded dynamically from a data source and that parameters can only have a single value.
Another option could be to use the JavaScript API in some way. You could listen for changes to the selection, and take whatever action you want in response. That only works if you publish to Tableau Server, and you may want to then pull out some of the navigation controls into your own HTML/CSS -- say to filter the second dashboard just before switching to it.

View is returning random results when no filter is selected in Drupal. Why?

In drupal I have created a view to display node's title and added exposed filter for filtering content. When the view page is loaded it is returning two nodes, I do not know on what basis it is returning those two nodes. I want no result to be displayed until I select some value in filter. Please suggest?
Views is a query builder that starts with the simplest, broadest possible query, and filters are required to narrow that query to include only the items you wish. If you are familiar with SQL syntax, the default query would look something like this:
SELECT title, body FROM 'node'
This is why you're seeing two nodes when you load the page. There's no filter applied, so it's showing everything.
In order to get your View to only display items once the user has selected a value with the exposed filter, go into the Advanced > Exposed Form > Exposed Form Style and select Input required. I have tested this using Views 7.x-3.7 and I believe it will give you the behaviour you're looking for.

passing parameters to a view ms crm 2011

I've custom view on account entity and I want to pass parameters dynamically to that view. When I try to pass parameters as below i got an error. Is there any best way to pass parameter to a view like individual records.
[http://mycrm/myorg/main.aspx?etc=1&extraqs=address1_postalcode%3DCB4&pagetype=entitylist&viewid=%7b12EC908C-44CB-E111-911F-F04DA2F5F23E%7d&viewtype=4230]
any suggestions
Kiran
I think that passing dynamically parameters to view is not possible. In this situation you can use advanced find, filters, or create report.
We have a similar requirement: We have a ribbon button, click the button popup a silverlight page, this is a search screen, you can input the search criteria and click search button on that page. The search result will be returned to CRM Home page.(Not the advanced find, it returns the results to CRM home page).
Actually, what we have to do is create the QueryExpression from silverlight, and then convert it to fetch xml query, use this fetch xml query to create a custom view, attach the custom view to home page.

Changing Salesforce report through url - update the title?

In Salesforce there is a way to programmably filter reports by adding parameters to the report url. pc#, pn# and pv# allow filters to be modified or even created out of nothing. It is also possible to use the bool_filter parameter to change how the filters are combined (AND/OR). With a Visualforce page and some Apex button code it's possible to create user friendly setup screens for very complex report filtering.
However to be really user friendly the report title (the label above the report) should change to reflect what is in the report. For example if a report shows all earnings from a specific account (by adding a blank account equals filter and then specifying an account id in the url) you would want someone looking at a print out of that report to know which account it is talking about. Depending on the layout the user will see the filters listed, but an automatically generated account id doesn't tell them much.
Can the label above the report be dynamically overidden (or added to in some fashion) with some text that better explains what the report is about?

Resources