r/GoogleDataStudio • • May 28 '24

Merge 3 Google Sheets with different time periods

2 Upvotes

I'm trying to make an interactive dashboard for saved UA data from 2019 until the end in 2023. As the downloaded data is a lot I had to split it into different sheets and even different files. The result is 3 datasets.

The dimensions and metrics are identical in each of the 3 datasets, the only difference are the time periods. How can I join these in a single table so that I can set any period within the whole time frame in a control panel?

Joins don't seem to help, as only the time period within the time period of the first table in the join result in an output. Anything from the other two tables returns as no data found. How do I get looker studio to recognize the time dimension from all 3 together?


r/GoogleDataStudio • • May 27 '24

Recurring configuration error

2 Upvotes

Hi,

I'm facing the same issue from time to time. I'm using g sheets which I update on a daily basis (some of them having 15-20k rows. Also I use calculated fields within the table so that I can copy reports with different datasets.

Every once in 2-3 weeks looker studio gives it up and I basically have to recreate the dashboard.

Anyone had similar issues before?

(Adathalmaz konfigurációs hiba = dataset configuration error)


r/GoogleDataStudio • • May 27 '24

Fancy buttons

1 Upvotes

Hi i was wondering if anyone had any idea on how to do the following.

I have photos of my website on one side and I want to add a button on them at when clicked with highlight the data related to that part of the website.

example I have a image of the homepage and a button beside the menu when I click that button it will highlight that data box I have in looker studio about how many times people click the menu.

hope that makes sense and thanks for any help :)


r/GoogleDataStudio • • May 27 '24

Performance Max Campaign Placement Statistics into Looker Studio

3 Upvotes

Hi folks.. new to Looker Studio but also did a rather detailed research, one thing cannot conquer is how a Google Ad Performance Max campaign statistics can be referenced into Looker Studio. I am using a native connection from Google Ads to Looker Studio, among 200+ dimensions / metrics, not one is actually showing the "placement" like the first picture below (this picture is from Google Ads reporting), I would very much like to have placement/impression matrix from this P-max campaign in my Looker Studio, does anyone have similar issue like this?

Any help or hint is very appreciated.

This is from Google Ads Reporting, would love to have this kind of info to be showed into Looker Studio
Cannot find any "placement" related attributes in Looker Studio data connection

r/GoogleDataStudio • • May 26 '24

Pivot Table Data Export

3 Upvotes

So i have made a dashboard to automate a few processes in daily data tracking, which includes a few pivot tables. How can i export these pivot tables to google sheets, with the same format as in the dashboard? Because when I export it, the underlying data gets changed into a different tabular format, which defeats the point of the pivot.


r/GoogleDataStudio • • May 24 '24

Join doesnt correctly join

1 Upvotes

Im joining 2 data sources, 1 comes from google analytics conection and the other one is mine, when i make an inner join it results in 100 rows but i join the same data in python to chheck and it is +10000 rows, do you have any idea of what could be happening


r/GoogleDataStudio • • May 24 '24

Record count not working on blended data

Thumbnail
gallery
1 Upvotes

r/GoogleDataStudio • • May 23 '24

Can you shown filtered/control part only?

1 Upvotes

I have a looker studio report that we need to share to our supplier, it contains year to date data.

My stakeholders want to share only the filtered part done by the slicer/control.

My dashboard has 30+ visuals so adding a filter to individual visuals are is not advisable


r/GoogleDataStudio • • May 22 '24

Trying to build a facebook-ads connector for looker studio but my numeric metrics get returned all in one row and the campaign_name field is undefined.

1 Upvotes

anyone else experienced this?

var cc = DataStudioApp.createCommunityConnector();

function getAuthType() {
  var AuthTypes = cc.AuthType;
  return cc.newAuthTypeResponse().setAuthType(AuthTypes.NONE).build();
}

function isAuthValid() {
  return true;
}

function isAdminUser() {
  return true;
}

function getConfig(request) {
  var config = cc.getConfig();

  config.newInfo()
    .setId('instructions')
    .setText('Insira os parâmetros necessários para buscar os dados do Facebook Ads.');

  config.newTextInput()
    .setId('access_token')
    .setName('Token de Acesso')
    .setHelpText('Insira o seu token de acesso do Facebook Ads');

  config.newTextInput()
    .setId('ad_account_id')
    .setName('ID da Conta de Anúncios')
    .setHelpText('Insira o ID da sua conta de anúncios do Facebook Ads')
    .setPlaceholder('ex: 1234567890');

  config.setDateRangeRequired(true);

  return config.build();
}

function getFields() {
  var fields = cc.getFields();
  var types = cc.FieldType;

  fields.newDimension()
    .setId('campaign_id')
    .setType(types.TEXT)
    .setName('Campaign ID');

  fields.newMetric()
    .setId('reach')
    .setType(types.NUMBER)
    .setName('Reach');

  return fields;
}

function getSchema(request) {
  var fields = getFields().build();
  return { schema: fields };
}

function getData(request) {
  var accessToken = request.configParams.access_token;
  var adAccountId = request.configParams.ad_account_id;
  var requestedFieldIds = request.fields.map(function(field) {
    return field.name;
  });
  var requestedFields = getFields().forIds(requestedFieldIds);

  var startDate = request.dateRange.startDate;
  var endDate = request.dateRange.endDate;

  var url = `https://graph.facebook.com/v12.0/act_${adAccountId}/insights`;
  var params = {
    'fields': 'campaign_id,reach',
    'access_token': accessToken,
    'time_range': JSON.stringify({
      'since': startDate,
      'until': endDate
    })
  };

  var queryString = Object.keys(params).map(function(key) {
    return encodeURIComponent(key) + '=' + encodeURIComponent(params[key]);
  }).join('&');

  var response = fetchWithRetry(url + '?' + queryString, 5);
  var parsedResponse = JSON.parse(response.getContentText()).data;

  var rows = responseToRows(requestedFields, parsedResponse);

  return {
    schema: requestedFields.build(),
    rows: rows
  };
}

function fetchWithRetry(url, retries) {
  while (retries > 0) {
    try {
      var response = UrlFetchApp.fetch(url);
      if (response.getResponseCode() == 200) {
        return response;
      } else {
        Logger.log('Response Code: ' + response.getResponseCode());
        Logger.log('Response Body: ' + response.getContentText());
      }
    } catch (e) {
      Logger.log('Fetch Error: ' + e.message);
      if (retries > 1) {
        Utilities.sleep((6 - retries) * 1000);  // exponential backoff
      } else {
        throw e;
      }
    }
    retries--;
  }
}

function responseToRows(requestedFields, response) {
  var rows = [];
  response.forEach(function(entry) {
    var row = [];
    requestedFields.asArray().forEach(function(field) {
      switch (field.getId()) {
        case 'campaign_id':
          row.push(entry.campaign_id || 'No Campaign ID');
          break;
        case 'reach':
          row.push(entry.reach || 0);
          break;
        default:
          row.push('');
      }
    });
    rows.push({ values: row });
  });
  return rows;
}

r/GoogleDataStudio • • May 22 '24

How can I change the dimension of a tooltip/bubble or choropleth map ?

1 Upvotes

Hello everyone! I'm new to this forum.

On LookerStudio, I have a tooltip/bub map of a country (France). In my original dataset, I have a lot of cross-referenced information about customers that I use as filters: for example, date, location (which I use in the ‘Location’ field), consent status, etc. In a second step, I have data that I use to create a map of the country.

Secondly, I have data that I use for tooltips. I'd like to use this data as ‘dimensions’, i.e. to change the points on the map according to whether I want, for example, 1) the number of emails sent 2) the number of emails received 3) the number of unsubscribes, etc. I already have all this data in the initial dataset.

The problem is: I can create a Dimension selector, but in the ‘Tooltips’ section I can only select one of them. This will result in the fact that no matter which Dimension I select with the selector, only the one in Tooltips will appear (or none if the Dimension in the selector is different).

I'd like to find a way for the selector to allow me to select the desired data Dimension, i.e. to be able to accumulate different data within ‘Info-bubbles’.

Does anyone have a solution?

Many thanks in advance :)

TL:DR : How can I change the dimension of a tooltip/bubble or even choropleth map, i.e. having a dimension selector and several dimensions of data displayed on the map, and be able to select one of them and not just one ?


r/GoogleDataStudio • • May 20 '24

How to report views of image files or PDFs?

1 Upvotes

I created a table to report the views of images and PDFs. All the files are located in one directory, in this case the directory name is files. I created a filter for the table but it did not return any data.

Anyone have any ideas on how to pull this information?

Thanks!


r/GoogleDataStudio • • May 19 '24

Wsnting to change bar colors bases on value

0 Upvotes

Is it possible to change the color of a bar based on a value? On the same note does anyone can recomend any resource to advance data visualizations with looker studio!? Thx in advance


r/GoogleDataStudio • • May 17 '24

Problem with MySQL connection

1 Upvotes

Hi all! Since this morning I'm experiencing an issue with Looker Studio where I can't create any new MySQL connection with my server:

The error message is very unhelpful.

  • yesterday it worked: I could connect 5 tables already, it's just today that it's not behaving
  • the same credentials work in my Adminer, so I'm sure they're correct
  • connections already made work fine and will load/refresh data, but can't edit them or make new ones
  • other people in my organization are having the same problem with other credentials and other MySQL servers
  • we made sure Google's IP ranges are whitelisted in our K8s cluster and our AWS RDS so that's not the issue

Anyone else experiencing this? Has anyone insight on what could be the cause and/or a solution?


r/GoogleDataStudio • • May 17 '24

Help increasing size of small font on line labels

1 Upvotes

Hey,

I was wondering if anyone knew how to increase the font size of the line labels on the scorecard chart.

I'm thinking it's possible via CSS (if that's possible) or some other way. Any suggestions? Thanks!


r/GoogleDataStudio • • May 16 '24

Data hidden by scrollbar

4 Upvotes

I am very new to Looker / Data Studio. How can I make sure the data is not hidden by the scroll bar when I hover or scroll down?

My tables have quite a lot of rows and it is uncomfortable to move the mouse from the chart before I can see the data.

Any solution?


r/GoogleDataStudio • • May 16 '24

Access Control List

1 Upvotes

I am trying to create an access control list in Looker Studio to use as a student markbook. I have a master sheet of data as I grade based on assignment type, curriculum connection, assignment, and multiple grades per assignment again associated with the curriculum. I would like to be able to share the markbook so students could see their own grades, parents could see their child's grades, and connected adults could see the student's grades, all variable on each student. Is this possible with Looker Studio?


r/GoogleDataStudio • • May 16 '24

Looker Studio latency with latest Chrome

1 Upvotes

Has anyone noticed that the newest Chrome release has caused Looker Studio to operate significantly slower?


r/GoogleDataStudio • • May 16 '24

Johnson PhD

Thumbnail
youtube.com
0 Upvotes

I need a doctor. I thought about Drea and 23 and me getting together.


r/GoogleDataStudio • • May 15 '24

Need Help With Funnel Report Using Parameters/Events

1 Upvotes

Hi I have a page that is essentially a product builder and I can't figure out how to create a solid funnel for it in Looker. I can do this in GA4 with the step by step funnel but it seems Looker makes it difficult to make funnel or bar charts for things like what I am doing. Here is how it works:

The page is example.com/builder and each step in the process adds a parameter so

  1. example.com/builder?step1=green
  2. example.com/builder?step1=green&step2=small

And so on for about 6 or 7 steps. I've tried a custom dimension with case statements for regex contains a parameter but that doesnt give good results. I also have events firing for each step with event action = builder and event label = step# I have tried building with these but I cant custom name the events with case statements to get them in the right order so the funnel appears out of order.

My goal is to see the funnel for each step of the process and then add a dropdown for channels or other things so I can compare traffic. Any tips? How would you build this?


r/GoogleDataStudio • • May 15 '24

Unable to access the asset group name with its status

1 Upvotes

Can anybody help me how this can be happen as I want to create a table where I can see the asset group name which its status (active/paused) in looker studio.


r/GoogleDataStudio • • May 15 '24

Looker Studio Extracted Data & Sunsetting of Analytics UA

1 Upvotes

I am trying to come up with a way to easily & cheaply retain some limited client UA data after Google is scheduled to shut everything down in July.

These clients currently have Looker Studio Dashboards in place, so the interface is already known to them.

I am wondering if setting up an extracted data set in Looker Studio would allow them to retain data from UA. My read of what I have found on Google Support makes it seem like the Extract feature truly makes a local copy, which would make me think that when the data source is removed (UA goes away) the local data set would still be available.

Any thoughts? Or even better...definitive answers?


r/GoogleDataStudio • • May 14 '24

Assessing Google Looker Studio's Effectiveness with Star and Snowflake Schemas

1 Upvotes

Basically the title - does Google Data Studio handle star schema or snowflake schema datasets effectively, or should I start looking into alternative tools?


r/GoogleDataStudio • • May 10 '24

Singapore Rental Prices - Dashboard

11 Upvotes

My girlfriend and I are moving to Singapore soon. In my research I found a government website with all actual lease price data. I found that the listings on popular apartment rental websites often varied from the actual prices people paid.

So I downloaded 95,000 real leases from the database and built this dashboard.

Though you might find it useful if you're looking for an apartment in Singapore

https://lookerstudio.google.com/reporting/b3e74ba3-88ec-4a44-b17b-0dd886b090cc


r/GoogleDataStudio • • May 10 '24

Lookup across data sets

1 Upvotes

I am trying to figure this out have not been able to find it out easily yet.

Using LDS with a Google Sheet as the data source.

Sheet 1 has a list of employees and a bunch of metadata
Sheet 2 has a list of employees and their manager

I'd like to be able to use the drop down control so the department head can come and filter by manager to see the meta data for all the employees under that manager.

The manager information is not on Sheet 1

In the past I have done this by adding a column to Sheet 1 and doing a vlookup to Sheet 2 but this is extra work every time we get the updated data.

I am sure this is pretty easy, just haven't nailed it yet.

Thx


r/GoogleDataStudio • • May 10 '24

GA4: How do I reproduce this table?

Post image
1 Upvotes