Google data studio control default selection dynamic - dashboard

I am new to Google Data Studio. I have a control drop-down element of release number and I want it to show by default the last release number that we working on (it is also the Max number in the list).
I see the "default selection" but I don't want to insert a static number because the release number list is dynamically changing.
Is there a way to specify to show the max number by default?

Related

Tableau checkbox filter to suppress zero rows

I'm pretty new to Tableau, and am unsure how to implement a feature that's been requested by business users.
We have a report where each row has
Owner - grouping text field
Scenario - text field
Functional Area - text field
A graph of values over time
Each of these rows (i.e. Scenario) has a dimension named Latest Occurrences, which has the latest integer value from the graph.
I want to have a checkbox filter on the side of the report named "Show empty scenarios" where if it is checked it shows the scenarios where Latest Occurrences >= 0, and if unchecked shows the rows where Latest Occurrences > 0. I'm entirely unsure how to implement this in Tableau, does anyone know how?
I've come up with an answer that allows suppression of non-zero rows, but it's not a checkbox by itself, rather a dropdown with multiple checkboxes. I'll leave this question open in case someone comes up with a way to do that.
My solution, currently, is to create a calculated field called Scenario Issue Status with the following definition:
IF([Latest Occurrences] > 0)
THEN 'Current issues'
ELSE 'No current issues'
END
Then add that as a Filter with "Current Issues" checked and "No current issues" unchecked, make that filter visible, and change the filter type to "Multiple Values (dropdown)". That's about as aesthetic as I can make it, though it's not a simple suppression checkbox.

Document Map in Visual Studio Data Tools for SSRS report - back option

I have a question on how to use Document Map for for a SSRS report. I'm able to get the map using a group called Name which is what I want, but I also want the ability to go back to the main page of the report using back in the document map or by clicking somewhere in the page that the user is on. The tricky part is that it has to work when exported to PDF.
You can do this by adding a parent group to your report.
Select the highest level group in your report and then add a parent group.
You can group by any value so just type 1 in the group by expression and this will be OK.
Then right-click the group and set the document map value to something like ="Top" or whatever you want to show in the map.
You can hide the column that is created if required.
"Top" will now appear at the top of the map and users will be able to use this when rendered to PDF if bookmarks are showing.

Stop SSRS From Hiding Columns

How do I stop SSRS from hiding a column when previewing if the column has nothing more than empty rows? I have set all columns to be fully visible, yet the report preview does not show the empty columns. I know that this is a default feature within Visual Studio that hides all empty columns by default, so how do I change it so it can show all columns no matter what. Where can I change those settings?
If you mean the preview in the query designer of the dataset:
This is only possible when writing your own MDX since the generated code always generates a SELECT NON EMPTY for the measure axis. So removing the NON EMPTY part will always show your column/measure.
If you mean the ssrs report preview:
Columns only hide when using a table matrix with a column group. In this case make sure your dataset always returns each column group at least once, regardless of your chosen filters. E.g. if using MDX this could mean removing a NON EMPTY from your row axis or using the right-click option "include empty cells".
Clarification for comment plus possible workaround:
This "hiding columns" things is no feature. If the column isn't in the result of the dataset, SSRS can't know that this value even exists, so there is no solution if using a column group except for redesigning your query.
You could work around this by not using a column group and instead of using static "hard-coded" columns which, for example, sum the values depending on your group. See the following example screenshot i made: example

How can I set up dropdown lists used to provide Stored Procedure parameters to SSRS reports to accept multiple values?

I need to allow the user to select 1..N of a particular parameter when generating an SSRS report. According to this otherwise very helpful blog post, that's possible, but its instructions in Step 5 to "Set the Properties of both parameters" has me clawing my noggin.
What two ("both") parameters? In the Preview tab I see the dropdown list, but right-clicking doesn't afford any contextual menu items. The other ("Design") tab shows no dropdown list, of course.
So from where is the "Allow multiple values" checkbox Step 5 mentions accessible?
You get to the parameter properties in Design mode (design tab), not preview mode. Double-click on any parameter under the parameters folder in the Report Data pane. (If the Report Data pane is not visible, Ctrl-Alt-D will show it) There, under General, is where you set the Allow multiple values option.

InfoPath 2007 - Populate drop-down list on-the-fly

I'm working on an InfoPath 2007 form. I have two drop-down lists and i need the second to be populated with items bases on the value chosen in the first list. I use c# to populate the drop-dpwn lists from external sources. I've tried to use the OnChange event to make all this, but the second list is still empty.
If anyone knows, please tell me.
You can filter the entries for the second drop-down list based on your first list (but only if the entries are based on a data source, not manually entered).
Bring up the properties window for
your second drop-down list.
Select your data source.
Click on the button to the right of the Entries text box.
Select the repeating node you wish to use for the basis of your list entry.
Click the Filter Data button. From here you can enter a filter to limit the entries displayed based on the value of your first drop-down list.
Your question was a bit ambiguous. You may be trying to populate a secondary data source based off of your first drop-down list. This should work fine with an OnChange event. Can you post the code you are using to do this?
Some additional tips that may help:
The change event will not fire until focus moves off of the list box. So, for the second drop down to populate, you will need to set the first drop-down then hit tab or click elsewhere in the form.
I don't know the size or nature of the data source you are using for the second drop-down list, but you may consider downloading the entire data source and filter it using the method I described above. This may be a better solution as you won't need to make a database query between entering the first list box and the second one.

Resources