Two date parameters while connecting Google Data Studio with BigQuery - google-data-studio

As I read in this link "Report viewers can't modify data source parameters directly. However, if you've enabled date parameters for a BigQuery data source, and your report includes a date range control, viewers can use that control to request different starting and ending dates from the BigQuery data."
I'm facing a situation where I need to filter two periods at the same time and over the same data source:
Period where users installed my app.
Period where users made actions.
For now, Data Studio permits only one date parameter in customized queries for BigQuery (DS_START_DATE, DS_END_DATE). But what if I need an additional date parameter? Is there a solution to this need?

Include all the data from BigQuery to Data Studio first, then set custom date range for the specific charts/tables.

Related

how to create SSRS report subscription with two different parameter selection data for the same report?

I have a new requirement with SSRS reporting. i have an SQL query with two parameters which are start and end date. the requirement is i want to create subscription for the report to be sent to particular email on weekly basis. the report should be sent as an excel file with two worksheets. first sheet should have the data from the parameter value selected as 'Startdate=getdate-7 and enddate=getdate()' and the second sheet should have the data from the parameter value selected as 'Startdate=oct-18-2019 and endate=getdate()'. Could anyone help me how to achieve this? i know we can create two separate reports and send two different subscriptions for this. but not sure if we can acheive this sending this in one suscription. or you can also help me if this can be sent in one email subscription but with two different excel sheets.
You can do 1 report with 2 Data-Driven Subscriptions.
Click Here for documentation
Check Here for a good article with a clear examples

How to restrict data by users in Google Data Studio?

I have a report in google data studio and needed to restrict information by branches at user level. For example: In the same sales report, branch A users cannot see branch B data.
Is it possible in Google Data Studio?
unfortunately this feature is not available for a single data studio report. You will have to create branch specific reports and give access to the correct users to accomplish your goal.
you can use URL parameters and build the report so it will show the relevant parts per the parameters you pass.
https://support.google.com/datastudio/answer/9002005?hl=en

No data showing up in Time Series chart for Cloud MySQL DATETIME column

I'm trying to put together a Data Studio dashboard for a client, and am having trouble getting a Time Series chart to show data. The data is coming from a DATETIME column in a Cloud MySQL database table.
I've verified that the data is in the table, and when I try to show the data in a different format (bar chart, pie graph, etc.) it shows up fine. I've also tried using different metrics. I'm fairly new to Data Studio, so possible it's something simple I'm missing, but am sufficiently stumped that I figured I'd ask here.
This was an issue with converting DATE objects in MySQL to Google Data Studio. I had to create a new field in Data Studio using the format:
TODATE([date_field_name], 'DEFAULT_DASH', '%Y%m%d')
I then used that as the dimension and the chart showed up fine.

SSRS 2016 - subscription subject from variable

I need to pass a current date variable dynamically to SSRS subscription subject. Is it possible when using standard subscription ?
I know it may be obtained using data-driven subscription but then I get report sent as many times as number of rows in the report, and I only need the report to be sent once.
I just need to have something like "Report XXX, #GETDATE()" in subject.
Is it possible to also set dynamic report name in Excel file sent using the SSRS subscription ?
You can obtain the Execution Time of the report using #ExecutionTime, see this link. However, you want to make sure the execution time represents when the report was rendered or when the subscription processed the report, I am sure it is the former and it could be problematic for snapshot/cached reports. For non-cached reports this should be the current date outside of the edge case of crossing midnight server time.

Deploying reports from multiple parameters automatically?

I'm quite new to SSRS. I have a set of reports which obtain parameters from a query (defined as dataset in BIDS). These parameters include a machine identity, starting date and ending date. While each is specific to each machine, SSRS will put all parameters into separate drop-down lists which the user must then select the correct values from and run the report.
The problem, as you may imagine, is that there is somewhat of a wide margin for error here on the target user's part. The user is able to select incorrect starting and ending dates from this list for any machine. These reports should ideally run automatically on a schedule every Monday morning, but I'm having difficulty seeing how this is accomplished, as SSRS must essentially iterate through the machine ID list and use the appropriate starting and ending dates for each report. All other reports in this instance depend on these parameters which are gleaned from this query.
Does anyone know how to automatically run multiple SSRS reports based on a list of parameters? I sounds like some sort of coding logic is necessary here but I don't know how to use it in this case (I would prefer to have no user interaction, if possible).
Have you looked at Data Drive Subscriptions?
http://msdn.microsoft.com/en-us/library/ms169972.aspx

Resources