google-data-studio

Is there a way to add the current timestamp to a Google Data Studio report?

孤街醉人 提交于 2020-12-12 10:03:45
问题 I created a simple report to track the funds raised for our primary school. Just a pie chart that picks data from a Google Sheets being maintained by the treasurer. There is now a request to add a timestamp on the screen (the report is being shared by taking a screenshot and sharing in various social media platforms to report progress). After some Googling I couldn't find a function that returns current time. Something like =now() in Sheets. However, it was recommended to try create the time

Invalid date error in custom query in Data Studio

霸气de小男生 提交于 2020-11-29 09:07:09
问题 I am trying to prepare a chart using custom query (BigQuery) in Data Studio.However I get invalid date error when using Data Studio Date Parameter @DS_START_DATE and @DS_END_DATE . Here is my query SELECT cat_tbl.*,tag.Category_name FROM (SELECT (SELECT category FROM UNNEST(ana_cat) ORDER BY score DESC LIMIT 1) AS category, * FROM `projectId.dataset.table1`) AS cat_tbl RIGHT JOIN `projectId.dataset.table2` AS tag ON cat_tbl.category=tag.Category_id WHERE DATE(cat_tbl.date) BETWEEN @DS_START

Invalid date error in custom query in Data Studio

僤鯓⒐⒋嵵緔 提交于 2020-11-29 09:04:20
问题 I am trying to prepare a chart using custom query (BigQuery) in Data Studio.However I get invalid date error when using Data Studio Date Parameter @DS_START_DATE and @DS_END_DATE . Here is my query SELECT cat_tbl.*,tag.Category_name FROM (SELECT (SELECT category FROM UNNEST(ana_cat) ORDER BY score DESC LIMIT 1) AS category, * FROM `projectId.dataset.table1`) AS cat_tbl RIGHT JOIN `projectId.dataset.table2` AS tag ON cat_tbl.category=tag.Category_id WHERE DATE(cat_tbl.date) BETWEEN @DS_START

Invalid date error in custom query in Data Studio

邮差的信 提交于 2020-11-29 09:01:59
问题 I am trying to prepare a chart using custom query (BigQuery) in Data Studio.However I get invalid date error when using Data Studio Date Parameter @DS_START_DATE and @DS_END_DATE . Here is my query SELECT cat_tbl.*,tag.Category_name FROM (SELECT (SELECT category FROM UNNEST(ana_cat) ORDER BY score DESC LIMIT 1) AS category, * FROM `projectId.dataset.table1`) AS cat_tbl RIGHT JOIN `projectId.dataset.table2` AS tag ON cat_tbl.category=tag.Category_id WHERE DATE(cat_tbl.date) BETWEEN @DS_START