Not able to list Bigquery projects from Data Studio Connection - google-cloud-platform

From Data Studio, I am not able to list any Big Query projects. Not even Public projects. I have access to Big Query Tables and projects, but once I log in through Data Studio and try to add a data source, it's showing all blank, including custom queries, etc.

I also faced the same situation and I hope this helps someone else with this confusion. I'm assuming that this could be the solution to this question too. (Do let me know)
When you are trying to add a BigQuery connection to Data Studio, you need to have a Google Project because BigQuery is a paid service. The querying in BigQuery incurs a cost. A project with billing enabled, is not a must for you to load the Datasets in the above screenshot.
Follow these steps to get this issue fixed.
Check the email address you have used to connect to Data Studio. You can click on the avatar on the top right corner. (If this is wrong, simply switch to the correct email.)
Check whether Google Cloud Console is enabled for the above-selected email.
Check whether you have a project in the Cloud Console. Make sure there is a project to be used when creating a BigQuery connection from Data Studio.
With this, your view should show the projects linked with your Google Cloud Console email address.
If the above doesn't work..
Do a refresh of the page and see
If not, create a support ticket or Ask the Data Studio Community.

Related

Resource window of Google BigQuery

I am new to Google BigQuery.
I am now logged into bq console, but the resource window for tables and datasets is too small to navigate and is pinned into bottom left, and its not resizable, please help on how can i unpin the window to navigate it.
It looks like this.
Looks like what you want is something like below
There are many way to accomplish this. I will present two of them
Customize existing/available UI to fit your own specific needs using so called Bookmarklet
Bookmarklets are saved and used as normal bookmarks. As such, they are simple "one-click" tools which add functionality to the browser.
There is a wide usage of bookmarklets - one of which is to modify the appearance of a web page within the browser - which is exactly your use case.
You can create bookmarklet that will switch visibility of elements above the data navigator as in above example
if your needs are more sophisticated and you are looking for more perks than just hiding elements of UI - you can look into third party IDE for BigQuery
I can recommend one to check out - Goliath - the part of Potens.io Suite for BigQuery. You will find there everything you would expected from professional big data IDE tool.
It is free to use and is available on GCP Marketplace
Disclosure - I am part and lead of Potens.io Team (which is also clearly stated in my SO Profile)
Did you mean you want to unpin a project that has "Pin icon" in the screenshot?
If yes, You can unpin a project to clcik "UNPIN PROJECT" right side of bigquery console.
You have to click project(e.g bigquery-public-data) first to meet "UNPIN PROJECT".

Stackdriver Logging not recognizing Google Apps Script project from Team Drive

I was using Google Apps Script for standard document-bound functions in a personal Google Drive. For debugging and general info-printing out, I was using console.log() calls and looking at the Stackdriver Logging output for that particular project.
I recently copied many of the documents and their associated code projects into a new Team Drive. The new files are completely new (not shared into the Team Drive) and they have a different creator than the originals.
Now when attempting to view the log outputs, Stackdriver Logging gives me this error message:
Failed to load
Tracking Number: XXXXXXXXXXXXXXXXXXX
What's more, the "Select a project" dropdown at the top of the page does not list any of the projects.
I've tried creating a brand new script project in the Team Drive, but that does not appear either. The Stackdriver page is logged into the correct account.
I'm aware of other solutions, such as Logger.log(), but would rather not resort to them unless I can't get Stackdriver to work again.
Edit: I found this question, which includes this sentence:
I have reset the script's Cloud project to be a "real" project (as opposed to the default hidden one).
This sounds important but I have no idea what it means and have been unable to find anything relating to making projects unhidden. Is this my problem?
I have found the solution, though I don't fully understand it.
Google Apps Script projects are associated with a hidden Google Cloud Platform project behind the scenes, which allow them to print to Stackdriver Logging, among other things. Trying to run them out of a Team Drive makes this not work for reasons that are a mystery to me.
Here is the fix:
Manually create a new Google Cloud Platform project.
Associate your scripts with the new project. In the Script Editor, go to Resources > Cloud Platform project. In the dialogue, enter the project number of the project you just created, and then hit Set Project. To find the project number (distinct from the "Project ID"), click on View API Console, and then make sure you have your new project selected at the top of the page.
This needs to be done for each GAS project. Whereas in Drive, separate projects often can't be combined into one since each is bound to a single document, all of your GAS projects can be associated with a single Google Cloud Platform project.

VS2017 Data Lake tools cannot submit U-SQL script to Azure

Using Visual Studio 2017 with Data Lake Tools v. 2.3.1000.1, I am unable to submit a U-SQL job directly to Azure. I only have the option to submit locally:
This is the case even though I am connected to Azure through the "Server Explorer" tool window, from which I can access my U-SQL databases, view jobs that were previously submitted to Azure, etc.:
Using Visual Studio 2015, I have no such issue:
Am I forgetting a setting or a property somewhere, or is this perhaps a bug in Data Lake Tools for VS2017?
Do you still have the issue?
I sometimes see this happen if I open an existing solution and the tabs are already open, and I have not yet logged in. I then log in and the drop down menu of the open window will not be refreshed.
I close and reopen the script and it normally shows up.
Another reason, that I think will be addressed soon, could be that you have a filter on your cloud view explorer on which subscriptions you expose. If you hid the subscription there with your ADLA account, you will not see it in the pull down.
In any case, please let us know if you still have the issue and none of the two suggestions help.

Can I add a Google Trends graph to Google Data Studio?

I would like to add a Google Trends chart for a specific search term to my Google Data Studio report, but Trends is not an option in the Data Source list. I wasn't able to find an option to embed JavaScript either. Is it possible to add a Trends chart to a report in Data Studio? Thanks!
I am posting this workaround as it seems no similar solution has been provided since.
You can actually do this, using a small workaround:
Create the graph you want to embed using Google Trends.
Click the "embed" icon in the upper right corner of the graph, and copy the JS-code (for either desktop or mobile device)
Create a simple empty HTML-file using notepad or similar text editor. (including , , as per common standard). Place it in an empty folder on your hard drive.
Paste the Google Trends-embed code into the section of your HTML-file.
Go to https://app.netlify.com/drop and upload the whole folder (including your .html-file). Copy the direct link provided by Netlify. (note: Any other form of public hosting should work fine, this is just my personal preference)
In Google Data Studio, click "URL embed" and paste your direct link.
Voila!
(Note: As this is a direct graph link and not a data feed, it, unfortunately, won't let you filter or change settings. but if configured wisely before copying the embed code, should do the trick for any time range, year-on-year or similar needs.)
Hope this helps someone :)
You can use supermetrics.com that has a google trends (free) datasource and then import a common sheet into your dashboard, the only problem is that you wont be able to change the date range, meaning its only "one way"
Unfortunately, the Google Trends data connector has stopped working in Supermetrics. They use an unofficial Google API that has been faulty lately.
The connector was removed Dec 2018.

Missing SQL tab when using AD provider

I've deployed a copy of opserver, and it is working perfectly when using alladmin as the security setting. However, once I switch it to ad and configure the groups, the SQL tab goes away and I get an access denied message if I try browsing directly to it. The dashboard still displays all Solar Winds data as expected.
The build I'm using is actually from November. I tried a more recent build, but I lose the network information from Solar Winds (the CPU and Mem graphs show, but Net is all blank)
Is there a separate place to configure the SQL permissions that I'm missing?
I think perhaps there was some caching going on for the hub that wasn't happening for the provider, because they are both working now. Since it was a new security group, perhaps it hadn't replicated yet (causing the SQL auth to fail) but the dashboard provider was still using the previous authentication?
I also did discover a neat option while researching this though - the GitHub page mentions that you can also specify security at a provider level in the JSON using the AdminGroups and ViewGroups properties!