google-data-studio

How to create a 'past 3 months' time period in Google Data Studio

独自空忆成欢 提交于 2019-12-02 07:38:43
问题 I'm trying to have my line chart show data for the past 3 months. GDS has a 'last quarter' date range, but this shows me Q1, Q2, Q3, or Q4. What I need is the data for the past 3 full months (not counting the current month). I tried creating a calculated field but the documentation isn't proving very useful for the matter at hand. eg. If the current date is Feb-20, I want to show data from 'Nov 1 - Jan 31'. Also need to compare to same period from last year. Can anyone help? Thanks in advance

Google Data Studio - When is resetAuth() being called?

南楼画角 提交于 2019-12-02 07:02:01
I am having troubles with the resetAuth() function. I implemented it roughly like this example , but I have no idea when it is being called. Adding a console output and observing the Stackdriver Log tells me that this function is never being called during what I would call a normal workflow. The documentation is weirdly brief and is missing this part about why I need to implement it and when it is being called. Do I need to call resetAuth() manually on some point? Is there a button somewhere that calls this function? I'm using the AuthType USER_PASS by the way and everything else seems to work

How to create a 'past 3 months' time period in Google Data Studio

让人想犯罪 __ 提交于 2019-12-02 04:43:00
I'm trying to have my line chart show data for the past 3 months. GDS has a 'last quarter' date range, but this shows me Q1, Q2, Q3, or Q4. What I need is the data for the past 3 full months (not counting the current month). I tried creating a calculated field but the documentation isn't proving very useful for the matter at hand. eg. If the current date is Feb-20, I want to show data from 'Nov 1 - Jan 31'. Also need to compare to same period from last year. Can anyone help? Thanks in advance! You can use the option "advanced" in the date dropdown and set the start date to today minus 3 months

Emoji crashed when uploading to Big Query

泄露秘密 提交于 2019-12-02 02:01:18
问题 Currently, I'm facing an issue with uploading (using python) EMOJI data to the BIG QUERY This is sample code which I'm trying to upload to BQ: {"emojiCharts":{"emoji_icon":"\ud83d\udc4d","repost": 4, "doc": 4, "engagement": 0, "reach": 0, "impression": 0}} {"emojiCharts":{"emoji_icon":"\ud83d\udc49","repost": 4, "doc": 4, "engagement": 43, "reach": 722, "impression": 4816}} {"emojiCharts":{"emoji_icon":"\u203c","repost": 4, "doc": 4, "engagement": 0, "reach": 0, "impression": 0}} {

Google Data Studio can't explore Big Query time partitioned table

点点圈 提交于 2019-12-01 20:53:58
问题 When trying to explore a Big Query Table in Google Data Studio after having connected to it I get the following error. Any Ideas how to handle that or what it means? The query returned an error. Unrecognized name: _PARTITIONTIME at [1:167] Error ID: a6e0a88c 回答1: In your Data Studio editor, click resources --> manage added data sources then go to edit connection. There is an option to use _PARTITIONTIME as the time dimension. I suspect Data Studio has picked up this magic field and tried to

Google Data Studio can't explore Big Query time partitioned table

巧了我就是萌 提交于 2019-12-01 19:09:48
When trying to explore a Big Query Table in Google Data Studio after having connected to it I get the following error. Any Ideas how to handle that or what it means? The query returned an error. Unrecognized name: _PARTITIONTIME at [1:167] Error ID: a6e0a88c In your Data Studio editor, click resources --> manage added data sources then go to edit connection. There is an option to use _PARTITIONTIME as the time dimension. I suspect Data Studio has picked up this magic field and tried to use it as a time datatype and there is some incompatibility going on. I think this field is really metadata

Firebase BigQuery Event Reporting in Data Studio

落爺英雄遲暮 提交于 2019-12-01 12:19:14
问题 I would like to create two dynamic weekly BigQuery Firebase Reports, reflecting the most recent 12 Weeks of data for: Event Occurrences per Week DISTINCT Users who triggered Event Occurrences per Week The inspiration for these reports came from a Tableau-report I saw online: I am trying to create dynamic timestamps to pull the values of 1.count of event.name and 2.distinct user_dim.app_info.app_instance_id . My First Iteration: SELECT event.name as event_name, COUNT(CASE WHEN _TABLE_SUFFIX >=

Heroku Postgresql with Google Datastudio

拈花ヽ惹草 提交于 2019-11-29 01:07:38
问题 I'm having troubles to connect an existing heroku database to Google Datastudio. I'm trying to add the connection and I get the following: Access denied, please check your username and password. Now, I'm 100% sure that I'm correct on those credentials and the problem comes from somewhere else. I've tried with different setup, either a free or a paid PSQL instance, nothing works. I've also setup a dummy account on elephantsql and the connection worked the first time without any issue. Do you