Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

How to create a new column based on an existing bigquery column #259

Closed
sarahb511 opened this issue Jul 17, 2020 · 2 comments
Closed

How to create a new column based on an existing bigquery column #259

sarahb511 opened this issue Jul 17, 2020 · 2 comments

Comments

@sarahb511
Copy link

In Grafana, is there a way to create a new column based on an existing BigQuery column?

The example my team is working with is to group response codes into tiers (200, 201, 204 would be 2XX).

@Tamirk
Copy link

Tamirk commented Jul 18, 2020

@sarahb511 If I correctly understand your question you can use BigQuery SQL to create an additional column which is the group columns using CASE or IF functions whichever suite you use case best

@Tamirk
Copy link

Tamirk commented Jul 22, 2020

@sarahb511 closing the issue for now if you have additional information or need some more assistance let us know

@Tamirk Tamirk closed this as completed Jul 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants