0

I'm new to Google Data Studio, and currently stuck on the following problem. I have some log data in BigQuery and I am trying to visualize some info out of my logs using Google Data Studio.

The problem is when I use REGEXP_MATCH on one specific dimension of my data, it cannot match the RegEx. When I use REGEXP_MATCH against any other dimension of my log data, it works without a problem.

I am wondering, whether that could be due to the long strings that I have in that specific dimension, or are there any other thoughts?

By the way, I am able to make changes to that dimension using REGEXP_REPLACE, but cannot even do REGEXP_MATCH against the text that REGEXP_REPLACE replaced in there.

I have been working around this for days now and any advise will be really appreciated.

4

1 回答 1

0

我终于发现这REGEXP_EXTRACT对那个维度有效。然后也可以毫无问题REGEXP_MATCH地在输出上做。REGEXP_EXTRACT

我仍然不知道为什么REGEXP_MATCH不能直接针对该特定维度起作用,可能是由于长字符串或我在该维度的数据中包含的某些特定字母或其他原因。

于 2017-11-22T16:59:33.557 回答