google-data-studio

Regular expression with calculated field in Google Data Studio

落花浮王杯 提交于 2021-02-16 15:09:05
问题 I have the following calculated field but It doesn't work : sum(CASE WHEN REGEXP_MATCH(url, 'foo') THEN 1 ELSE 0 END) My goal is to sum all the url containing the word 'foo'. Does it make sense ? Where is my mistake ? Thanks 回答1: You need to use .*foo.* since REGEXP_MATCH requires a full string match: REGEXP_MATCH attempts to match the entire string contained in field_expression . Use sum(CASE WHEN REGEXP_MATCH(url, '.*foo.*') THEN 1 ELSE 0 END) ^^ ^^ 来源: https://stackoverflow.com/questions

Regular expression with calculated field in Google Data Studio

人盡茶涼 提交于 2021-02-16 15:06:59
问题 I have the following calculated field but It doesn't work : sum(CASE WHEN REGEXP_MATCH(url, 'foo') THEN 1 ELSE 0 END) My goal is to sum all the url containing the word 'foo'. Does it make sense ? Where is my mistake ? Thanks 回答1: You need to use .*foo.* since REGEXP_MATCH requires a full string match: REGEXP_MATCH attempts to match the entire string contained in field_expression . Use sum(CASE WHEN REGEXP_MATCH(url, '.*foo.*') THEN 1 ELSE 0 END) ^^ ^^ 来源: https://stackoverflow.com/questions

Community Connector Tutorial results in “Unknown data source”

梦想的初衷 提交于 2021-02-10 22:11:29
问题 As a first step toward developing my own Community Connector, I have followed the Codelabs Community Connector Tutorial: https://codelabs.developers.google.com/codelabs/community-connectors/#0 However, at the final step of previewing the output in a report, the connector fails with the error: Unknown data source The data source associated with this component could not be loaded We were not able to find the data source associated with this component. This can happen when a data source is

How to Filter CSV (Comma-separated values) in Google Data Studio?

孤者浪人 提交于 2021-02-10 15:53:21
问题 I'm currently building a dashboard and I was hoping to have a way that users could filter without having to edit the dashboard at all. I have a Data set similar to this: Object Tags Example 1 dog, cat, pets Example 2 pets, bird Example 3 bird, home decor I want to have a table in Google Data Studio that shows these details then additionally a filter where you can type in any text and it will filter by only records where your text is contained in "Tags". For example, I could type in "bird" and

How to Filter CSV (Comma-separated values) in Google Data Studio?

北城以北 提交于 2021-02-10 15:52:14
问题 I'm currently building a dashboard and I was hoping to have a way that users could filter without having to edit the dashboard at all. I have a Data set similar to this: Object Tags Example 1 dog, cat, pets Example 2 pets, bird Example 3 bird, home decor I want to have a table in Google Data Studio that shows these details then additionally a filter where you can type in any text and it will filter by only records where your text is contained in "Tags". For example, I could type in "bird" and

Reporting URL of downloads in Data Studio when using Google Analytics 4 automatic enhanced measurement events?

こ雲淡風輕ζ 提交于 2021-02-08 23:36:54
问题 I have setup a new Google Analytics 4 property and have enabled enhanced tracking, which records all downloads automatically. When using Google Data Studio, I can see 'file_download' events (so it's definitely working) and use this data to build my report. I need to create a report that shows which files were downloaded each month for a specific page only. It's really easy to get the total number of downloads which occurred on that page, however, I can't for the life of me find any way to

Pagination when data source is supporting multi page requesting

元气小坏坏 提交于 2021-02-07 14:45:45
问题 Does Google Data Studio Community connector support pagination? I work with an external data service. The service returns data page by page. It requires start and next parameters and it requires 2 req/sec. Can I override a method like getData or upgrade request argument for implement this feature? If it's not. Is there the best practice for getting data of this kind? 回答1: Community Connectors do not support pagination for web APIs at present. The best practice would depend on your use case.

Pagination when data source is supporting multi page requesting

五迷三道 提交于 2021-02-07 14:44:27
问题 Does Google Data Studio Community connector support pagination? I work with an external data service. The service returns data page by page. It requires start and next parameters and it requires 2 req/sec. Can I override a method like getData or upgrade request argument for implement this feature? If it's not. Is there the best practice for getting data of this kind? 回答1: Community Connectors do not support pagination for web APIs at present. The best practice would depend on your use case.

Filtering data in a custom metric?

主宰稳场 提交于 2021-01-29 18:54:51
问题 On a particular type of page, I have an event that fires every time someone enrolls in a product. The event is: Category : Enroll Action : < Name of Product > Label : enroll I am able to create a report that lists the number of times the event was fired on Pages by using the metric of total events and filtering by the label enroll This gives the page that it was fired on and the count of the event. I'm now trying to do conversion rate. So, I'd want to get (Total Events on the page (filtered

google data studio conditional statement on calculated field

丶灬走出姿态 提交于 2021-01-29 17:50:17
问题 I am using google data studio and I am trying to create a calculated field using a case statement, but it is not working. The metric is sales. Bellow is the sample line: CASE WHEN SUM(sales) > 350000 THEN 1 ELSE 0 END The formula above gives me an error. If I do the formula bellow instead it doesn't give an error but the result is not what I expect: CASE WHEN sales > 350000 THEN 1 ELSE 0 END Any idea what could be wrong ? I tried to use if as well without success. Thanks in advance 回答1: I