<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>data studio tutorial Archives | Data Studio</title>
	<atom:link href="https://www.datastudio.ca/tag/data-studio-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>AI and Analytics Tips, Techniques and Tutorials</description>
	<lastBuildDate>Fri, 04 Mar 2022 19:35:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://www.datastudio.ca/wp-content/uploads/2020/01/cropped-Logo-80x80.png</url>
	<title>data studio tutorial Archives | Data Studio</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to extract a report theme from an image in Google Data Studio?</title>
		<link>https://www.datastudio.ca/design-and-formatting/how-to-extract-a-report-theme-from-an-image-in-google-data-studio/</link>
		
		<dc:creator><![CDATA[Lachezar Arabadzhiev]]></dc:creator>
		<pubDate>Mon, 13 Apr 2020 23:29:11 +0000</pubDate>
				<category><![CDATA[Design and Formatting]]></category>
		<category><![CDATA[dashboard design]]></category>
		<category><![CDATA[data studio tutorial]]></category>
		<guid isPermaLink="false">https://datastudio.ca/?p=1186</guid>

					<description><![CDATA[<p>In this post, I want to show you how to extract a theme from an image in Google&#8230;</p>
<p>The post <a href="https://www.datastudio.ca/design-and-formatting/how-to-extract-a-report-theme-from-an-image-in-google-data-studio/">How to extract a report theme from an image in Google Data Studio?</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this post, I want to show you how to extract a theme from an image in Google Data Studio. We often find ourselves in situations, where the dashboard look-and-feel needs to align with the client&#8217;s brand and style. However, imagine that you have already built a dashboard and you have to now go and change the colour and font of every single table, chart and label. It takes a lot of time if you do it manually, so here is a nifty time-saver tip.</p>


<div class="saswp-how-to-block-section"><div class="saswp-how-to-block-steps"><p class="saswp-how-to-total-time"><span class="saswp-how-to-duration-time-text"><strong>Time Needed :</strong> </span>2 minutes</p><p>Extract a theme from an existing, uploaded or web-based image</p><ol><li><h1 id="go-to-google-data-studio-and-create-a-new-report" class="saswp-how-to-step-name ">Go to <a rel="noreferrer noopener" href="https://datastudio.google.com/u/0/" target="_blank">Google Data Studio</a> and &#8220;Create&#8221; a new report<em>.</em></h1><p class="saswp-how-to-step-text">You can use an existing report as well.<img decoding="async" style="width: 1910px" src="https://datastudio.ca/wp-content/uploads/2020/04/e52cd2fd-google-data-studio-homepage-interface.jpg" alt="google data studio homepage interface"></p></li><li><h1 id="click-on-the-edit-button-of-your-report" class="saswp-how-to-step-name ">Click on the &#8220;Edit&#8221; button of your report.</h1><p class="saswp-how-to-step-text">Make sure you do not select any chart or table by clicking in the grey area outside the report.<img decoding="async" style="width: 1920px" src="https://datastudio.ca/wp-content/uploads/2020/04/0417826d-edit-a-data-studio-report.png" alt="edit a data studio report"></p></li><li><h1 id="choose-one-of-the-extract-theme-from-image-options-all-of-them-will-lead-to-the-same-outcome" class="saswp-how-to-step-name ">Choose one of the &#8220;Extract theme from image&#8221; options. All of them will lead to the same outcome:</h1><p class="saswp-how-to-step-text">3.1 Right-click an existing image in your report.<br>3.2 Pick &#8220;Upload from computer&#8221; and select a locally stored image.<br>3.3 Paste the URL of an image available on the web.<img decoding="async" style="width: 1908px" src="https://datastudio.ca/wp-content/uploads/2020/04/1d3dde8a-extract-theme-from-image-feature.jpg" alt="extract theme from image feature"></p></li><li><h1 id="in-a-pop-up-window-data-studio-is-going-to-suggest-themes-created-for-you-using-different-colour-schemas" class="saswp-how-to-step-name ">In a pop-up window, Data Studio is going to suggest &#8220;Themes created for you&#8221;, using different colour schemas.</h1><p class="saswp-how-to-step-text">In this case, Data Studio has identified the predominant colours in my image.<img decoding="async" style="width: 1396px" src="https://datastudio.ca/wp-content/uploads/2020/04/235b7e34-themes-created-for-you-pop-up-window-in-data-studio.png" alt="themes created for you pop-up window in data studio"></p></li><li><h1 id="once-you-pick-a-theme-the-configuration-is-going-to-be-available-under-theme-and-layout" class="saswp-how-to-step-name ">Once you pick a theme, the configuration is going to be available under &#8220;Theme and Layout&#8221;.</h1><p class="saswp-how-to-step-text">You can also edit the newly generated theme further by selecting &#8220;Customize&#8221;.<img decoding="async" style="width: 1022px" src="https://datastudio.ca/wp-content/uploads/2020/04/ee4de758-customize-theme-extracted-from-image.png" alt="customize theme extracted from image"></p></li></ol></div><div class="saswp-how-to-block-tools"><h5 id="tools">Tools</h5><ul><li>This feature is directly available in Google Data Studio.</li></ul></div><div class="saswp-how-to-block-material"><h5 id="materials">Materials</h5><ul><li>Remember, all you need as a source for the theme is a random image.</li></ul></div></div>


<p>I hope this was a helpful design trick in! If you have any questions, feel free to DM me on <a rel="noreferrer noopener" href="https://www.linkedin.com/in/larabadzhiev/" target="_blank">LinkedIn</a> or <a href="https://datastudio.ca/#colophon" target="_blank" rel="noreferrer noopener">subscribe to my newsletter</a>.</p>



<h2 class="wp-block-heading" id="dynamic-dashboards-and-data-analysis-with-google-data-studio">Dynamic Dashboards and Data Analysis with Google Data Studio</h2>



<p>Learn how to build powerful data visualizations and unlock insights with my <a rel="noreferrer noopener" href="https://www.udemy.com/course/dynamic-dashboards-and-data-analysis-with-google-data-studio/?referralCode=ED2EC987F6AD37C6DED8" target="_blank">course on Udemy.</a> If you are wondering, these are the things you will gain knowledge about. Take a look.</p>



<h3 id="by-the-end-of-the-course-you-will-be-able-to" class="wp-block-heading"><strong>By the end of the course, you will be able to:</strong></h3>



<ul class="wp-block-list"><li>Use  and understand all chart types throughout the course (Bullets, Pie Charts, Scorecards, Scatter plot and etc.).</li><li>Connect and blend data sources from Google Analytics and Google Sheets.</li><li>Create custom dimensions with conditional expressions (CASE + REGEXP_MATCH + IN).</li><li>Build a user journey funnel with Google Analytics data based on a &#8220;Page Title&#8221; dimension.</li><li>Explore user-level data with scatter plot (eCommerece) and create a device breakdown visualization.</li><li>Build a time-series chart with rolling dates and interaction filters.</li><li>Automate reports with advanced date selection filters.</li><li>Understand the access levels in Data Studio &#8220;Owner&#8221; vs &#8220;Viewer&#8221;.</li><li>Apply conditional formatting rules to signal data anomalies.</li><li>Apply IF statements within a CASE and use operators.</li><li>Extract a report theme and colour scheme from an image in Data Studio.</li></ul>



<figure class="wp-block-image size-large"><img decoding="async" src="https://datastudio.ca/wp-content/uploads/2019/11/Video-Outro-Thumbnail_Updated.jpg-1024x576-1.jpg" alt="Google Data Studio Course" class="wp-image-710"/></figure>
<p>The post <a href="https://www.datastudio.ca/design-and-formatting/how-to-extract-a-report-theme-from-an-image-in-google-data-studio/">How to extract a report theme from an image in Google Data Studio?</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>What is the difference between dimensions and metrics?</title>
		<link>https://www.datastudio.ca/functions/what-is-the-difference-between-dimensions-and-metrics/</link>
		
		<dc:creator><![CDATA[Lachezar Arabadzhiev]]></dc:creator>
		<pubDate>Mon, 17 Feb 2020 04:40:15 +0000</pubDate>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[analytics scope]]></category>
		<category><![CDATA[data studio tutorial]]></category>
		<category><![CDATA[dimensions and metrics]]></category>
		<guid isPermaLink="false">https://datastudio.ca/?p=877</guid>

					<description><![CDATA[<p>The question around &#8220;dimensions vs metrics&#8221; has come up a few times during my course and various Q&#38;As.&#8230;</p>
<p>The post <a href="https://www.datastudio.ca/functions/what-is-the-difference-between-dimensions-and-metrics/">What is the difference between dimensions and metrics?</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>The question around &#8220;dimensions vs metrics&#8221; has come up a few times during my course and various Q&amp;As. Therefore, I have put together a guide for those of you who are dabbling in the web analytics world. Even though it might not seem like a complex concept on the surface, dimension/metric setup can get pretty mind-boggling. In essence, dimensions and metrics are the building blocks of any analytics tool, so whether Google or Adobe Analytics or Data Studio, if you know how they are created, you can master any advanced concept.</p>



<h2 id="what-are-metrics-and-dimensions" class="wp-block-heading">What are Metrics and Dimensions?</h2>



<p><strong>Dimensions</strong>&nbsp;are descriptive values or characteristics of your data. For example, if you are running an eCommerece store and you are selling a lot of different products, the dimension&nbsp;<em>Product&nbsp;</em>would indicate the product name in your inventory &#8211; &#8220;Shoes&#8221;, &#8220;Hats&#8221;, &#8220;Shirts&#8221; and etc. Therefore, all those values (we often call those strings) will show up under your <em>Product</em> dimension.&nbsp;</p>



<p><strong>Metrics&nbsp;</strong>are numeric in nature and can be measured. In Google Analytics, &#8220;Sessions&#8221; is a metric, because it quantifies how many times a user has landed on a webpage. There are also calculated metrics that can be computed from existing metrics. The metric &#8220;Pages/Session&#8221; is one, which shows the average number of pages viewed during a session.</p>



<p>Here are some examples of metrics and dimensions put together in a more visual way:</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="717" height="222" src="https://datastudio.ca/wp-content/uploads/2021/05/A-table.jpg" alt="a detailed table that includes dimension and metric columns" class="wp-image-2029" title="This image displays the difference between a dimension and a metric" srcset="https://www.datastudio.ca/wp-content/uploads/2021/05/A-table.jpg 717w, https://www.datastudio.ca/wp-content/uploads/2021/05/A-table-300x93.jpg 300w, https://www.datastudio.ca/wp-content/uploads/2021/05/A-table-380x118.jpg 380w, https://www.datastudio.ca/wp-content/uploads/2021/05/A-table-600x186.jpg 600w" sizes="(max-width: 717px) 100vw, 717px" /></figure>



<h2 id="what-is-the-role-of-aggregation-and-data-types" class="wp-block-heading">What is the role of Aggregation and Data Types?</h2>



<p>Now that you know the basics, let&#8217;s explore the Data Studio data schema to further our understanding. In Data Studio, you can notice that each dimension/metric field has two additional attributes: &#8220;[Data] Type&#8221; and &#8220;Aggregation&#8221;.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="370" src="https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-1024x370.png" alt="" class="wp-image-994" srcset="https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-1024x370.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-300x109.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-768x278.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-380x137.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-800x289.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-80x29.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-760x275.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema-600x217.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/02/bd205a3e-data-schema.png 1056w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Type</strong> specifies the format of the data you have uploaded. For example, the <em>Date</em> dimension includes data in the <strong>YYYYMMDD</strong> format. Whereas, &#8220;Impressions&#8221; and &#8220;Sessions&#8221; are simply numbers. Other popular data types include boolean, currency, percentage and etc.</p>



<p><strong>Aggregation</strong> is the way data is grouped together based on certain criteria. For instance, if you want to ensure the &#8220;Impressions&#8221; data from all your media campaigns is summed, then you would select a <em>Sum</em> aggregation method (below). However, if you want to see the average of those campaigns, then the aggregation method will be <em>Average</em>. </p>



<figure class="wp-block-image size-large"><img decoding="async" width="940" height="599" src="https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum.png" alt="a table showing the grand total for impressions" class="wp-image-973" srcset="https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum.png 940w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-300x191.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-768x489.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-380x242.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-800x510.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-80x50.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-760x484.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/02/9ee7d308-total-sum-600x382.png 600w" sizes="(max-width: 940px) 100vw, 940px" /></figure>



<p>The most common aggregation methods are Average, Sum, Count, Count Distinct and Max/Min.</p>



<h2 id="how-do-i-know-if-my-dimensions-and-metrics-can-be-used-together" class="wp-block-heading">How do I know if my dimensions and metrics can be used together?</h2>



<p>This is probably the trickiest of all. What determines if your dimensions and metrics can be combined is the so-called &#8220;Scope&#8221;, a term you will hear a lot across the <a href="https://marketingplatform.google.com/about/" target="_blank" rel="noreferrer noopener" aria-label="Google Marketing Platform (opens in a new tab)">Google Marketing Platform</a> (GMP). There are three main types of dimension/metric scope:</p>



<p><strong>Hit-Level</strong> includes single hit actions, most notably &#8220;Pageviews&#8221;, &#8220;Total Events&#8221; and &#8220;Page&#8221;.</p>



<p><strong>Session-Level</strong> includes actions that happen within a timed session, including &#8220;Sessions&#8221;, &#8220;Bounce Rate&#8221; and &#8220;Source/Medium&#8221;.</p>



<p><strong>User-Level</strong> encompasses any actions directly tied to a user, as a collection of all his/her sessions and hits. The most commonly used are &#8220;Users&#8221;, &#8220;User Type&#8221; and &#8220;Session Count&#8221;.</p>



<p>Overall, it is important to remember that as a rule of thumb, you can only combine metrics and dimensions from the same scope. Otherwise, your reports might return misleading data. If you want to learn more about how each scope type works and is calculated, I would recommend watching Julian Juenemann&#8217;s video &#8220;<a rel="noreferrer noopener" aria-label="What is Scope in Google Analytics? (opens in a new tab)" href="https://www.youtube.com/watch?v=f35RP9Ru6Fw" target="_blank">What is Scope in Google Analytics?</a>&#8220;; it is probably the best explanation of scope out there.</p>



<p><strong>Quick Tip:</strong> If something breaks when using a metric/dimension combo in Data Studio, Google has created a great resource for troubleshooting. The &#8220;<a rel="noreferrer noopener" aria-label="Dimensions &amp; Metrics Explorer (opens in a new tab)" href="https://ga-dev-tools.appspot.com/dimensions-metrics-explorer/" target="_blank">Dimensions &amp; Metrics Explorer</a>&#8221; allows you to select a dimension/metric and see if the combination is going to work. If you cannot combine them, the fields become greyed out. I suggest you try it out, even if you are not using Google Analytics. </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="786" height="900" src="https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer.png" alt="dimensions and metrics explorer" class="wp-image-995" srcset="https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer.png 786w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-262x300.png 262w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-768x879.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-380x435.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-80x92.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-70x80.png 70w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-760x870.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/02/2f736c95-dimensions-and-metrics-explorer-524x600.png 524w" sizes="auto, (max-width: 786px) 100vw, 786px" /></figure>



<p> I hope this was helpful! If you have any questions, feel free to DM me on&nbsp;<a href="https://www.linkedin.com/in/larabadzhiev/">LinkedIn</a>&nbsp;or&nbsp;<a href="https://datastudio.ca/#colophon">subscribe to my newsletter</a>&nbsp;for more updates ? </p>
<p>The post <a href="https://www.datastudio.ca/functions/what-is-the-difference-between-dimensions-and-metrics/">What is the difference between dimensions and metrics?</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Create a custom e-mail schedule for your reports in Google Data Studio &#8211; 2021</title>
		<link>https://www.datastudio.ca/ownership-and-sharing/create-custom-e-mail-schedule-for-your-reports-in-google-data-studio/</link>
					<comments>https://www.datastudio.ca/ownership-and-sharing/create-custom-e-mail-schedule-for-your-reports-in-google-data-studio/#comments</comments>
		
		<dc:creator><![CDATA[Lachezar Arabadzhiev]]></dc:creator>
		<pubDate>Mon, 20 Jan 2020 00:57:31 +0000</pubDate>
				<category><![CDATA[Ownership and Sharing]]></category>
		<category><![CDATA[custom scheduling]]></category>
		<category><![CDATA[data sharing]]></category>
		<category><![CDATA[data studio tutorial]]></category>
		<category><![CDATA[e-mail sharing]]></category>
		<guid isPermaLink="false">https://datastudio.ca/?p=793</guid>

					<description><![CDATA[<p>Wondering how to share your Data Studio Reports with clients? You can easily automate the sharing of your&#8230;</p>
<p>The post <a href="https://www.datastudio.ca/ownership-and-sharing/create-custom-e-mail-schedule-for-your-reports-in-google-data-studio/">Create a custom e-mail schedule for your reports in Google Data Studio &#8211; 2021</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Wondering how to share your Data Studio Reports with clients? You can easily automate the sharing of your PDF reports and dashboards by creating a personalized e-mail schedule in <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="http://datastudio.com/" target="_blank">Google Data Studio</a>. For example, sending an e-mail every Thursday or Saturday. This can be especially important for digital agencies and large corporate clients, where the timing related to report delivery is sensitive. Let&#8217;s see how it works:</p>



<h2 id="how-to-set-up-your-google-data-studio-e-mail-delivery" class="wp-block-heading">How to set up your Google Data Studio e-mail delivery?</h2>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="984" height="711" src="https://datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup.jpg" alt="data studio email delivery setup" class="wp-image-1116" srcset="https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup.jpg 984w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-300x217.jpg 300w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-768x555.jpg 768w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-380x275.jpg 380w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-800x578.jpg 800w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-80x58.jpg 80w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-760x549.jpg 760w, https://www.datastudio.ca/wp-content/uploads/2020/03/432a9e7a-data-studio-email-delivery-setup-600x434.jpg 600w" sizes="auto, (max-width: 984px) 100vw, 984px" /></figure>



<p>You can navigate to the &#8220;Share&#8221; button in any Data Studio report and select the &#8220;Schedule email delivery&#8221; option. In the pop-up, you have the flexibility to tweak the delivery frequency, pages shared and customize the email subject and message.</p>



<ul class="wp-block-list"><li><strong>Customize email subject and message.</strong> Once you tick the box, you can easily write a subject line and leave a message that will be shared every time the report is sent.</li><li><strong>Pages.</strong> You can select which pages you want to share in your email. The menu allows for multi-select. </li><li><strong>Repeat.</strong> This option controls the cadence and in addition to the presets (eg. Daily,  Weekly on Monday and etc.), you can select a &#8220;Custom&#8221; schedule, which is quite flexible (below). For example, you can select the frequency and specific start days. </li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="944" height="303" src="https://datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly.jpg" alt="data studio custom email schedule" class="wp-image-1117" srcset="https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly.jpg 944w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-300x96.jpg 300w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-768x247.jpg 768w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-380x122.jpg 380w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-800x257.jpg 800w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-80x26.jpg 80w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-760x244.jpg 760w, https://www.datastudio.ca/wp-content/uploads/2020/03/37624390-data-studio-custom-email-schedule-weekly-600x193.jpg 600w" sizes="auto, (max-width: 944px) 100vw, 944px" /></figure>



<h2 id="what-does-the-google-data-studio-e-mail-look-like-when-it-arrives-in-your-clients-inbox" class="wp-block-heading">What does the Google Data Studio e-mail look like when it arrives in your client&#8217;s inbox?</h2>



<p>When the e-mail arrives in your inbox, you will see an inline image, a preview of your report&#8217;s first 5 pages. Of course, there will also be an attachment with the PDF version of the report, which can be easily forwarded.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="536" src="https://datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-1024x536.jpg" alt="data studio email inbox" class="wp-image-1118" srcset="https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-1024x536.jpg 1024w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-300x157.jpg 300w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-768x402.jpg 768w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-380x199.jpg 380w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-800x419.jpg 800w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-1160x607.jpg 1160w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-80x42.jpg 80w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-760x398.jpg 760w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox-600x314.jpg 600w, https://www.datastudio.ca/wp-content/uploads/2020/03/4e1eee70-data-studio-dashboard-email-inbox.jpg 1506w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Another benefit is that if your client decides to &#8220;reply-to&#8221; your scheduled e-mail report, the default recipient is the Data Studio report owner.  Therefore, if any questions come up, you will get them immediately.  </p>



<p>*In a recent update by Google (April 22, 2021), you would also receive an email if your scheduled email report fails to go out. </p>



<p>*As of 2022, Reports sent as scheduled email or downloaded as PDF now use the report name as the attachment and downloaded file name.</p>



<h2 id="what-are-the-limitations-of-e-mail-delivery" class="wp-block-heading">What are the limitations of e-mail delivery?</h2>



<ul class="wp-block-list"><li>You can only have one e-mail schedule per report.</li><li>You are not able to customize the e-mail address that is sending the scheduled e-mail. All e-mails are coming from <em>Google Data Studio &lt;data-studio-noreply@google.com></em>. However, as of recently, all scheduled emails show the sender&#8217;s address &#8220;via Google Data Studio.&#8221;</li><li>The owner is always part of the recipient&#8217;s list. This can prove to be annoying when you schedule more than 3-4 e-mails. </li></ul>



<p>I hope this was helpful! If you have any questions, feel free to DM me on <a href="https://www.linkedin.com/in/larabadzhiev/">LinkedIn</a> or <a href="https://datastudio.ca/#colophon">subscribe to my newsletter</a> for more updates <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" />  </p>



<hr class="wp-block-separator has-text-color has-background has-very-dark-gray-background-color has-very-dark-gray-color is-style-wide"/>



<h2 id="dynamic-dashboards-and-data-analysis-with-google-data-studio" class="wp-block-heading">Dynamic Dashboards and Data Analysis with Google Data Studio</h2>



<p>If you want to learn how to build powerful data visualizations and unlock insights that can help you drive business results for your clients or employers, take a look at my <a href="https://www.udemy.com/course/dynamic-dashboards-and-data-analysis-with-google-data-studio/?referralCode=ED2EC987F6AD37C6DED8">full course on Udemy.</a></p>



<div class="wp-block-image"><figure class="aligncenter size-large"><a href="https://www.udemy.com/course/dynamic-dashboards-and-data-analysis-with-google-data-studio/?referralCode=ED2EC987F6AD37C6DED8"><img decoding="async" src="https://datastudio.ca/wp-content/uploads/2020/01/Video-Outro-Thumbnail_Updated.jpg-1024x576-1.jpg" alt="dynamic dashboards and data analysis with google data studio" class="wp-image-765"/></a></figure></div>
<p>The post <a href="https://www.datastudio.ca/ownership-and-sharing/create-custom-e-mail-schedule-for-your-reports-in-google-data-studio/">Create a custom e-mail schedule for your reports in Google Data Studio &#8211; 2021</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datastudio.ca/ownership-and-sharing/create-custom-e-mail-schedule-for-your-reports-in-google-data-studio/feed/</wfw:commentRss>
			<slash:comments>13</slash:comments>
		
		
			</item>
		<item>
		<title>How to use CASE statements in Google Data Studio? &#8211; 2021</title>
		<link>https://www.datastudio.ca/functions/how-to-use-the-case-function-in-google-data-studio/</link>
					<comments>https://www.datastudio.ca/functions/how-to-use-the-case-function-in-google-data-studio/#comments</comments>
		
		<dc:creator><![CDATA[Lachezar Arabadzhiev]]></dc:creator>
		<pubDate>Sun, 12 Jan 2020 04:09:09 +0000</pubDate>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[CASE statements]]></category>
		<category><![CDATA[conditional expressions]]></category>
		<category><![CDATA[data studio tutorial]]></category>
		<category><![CDATA[regular expressions]]></category>
		<guid isPermaLink="false">https://datastudio.ca/?p=746</guid>

					<description><![CDATA[<p>In this post, we are going to explore one of the most useful functions in Google Data Studio,&#8230;</p>
<p>The post <a href="https://www.datastudio.ca/functions/how-to-use-the-case-function-in-google-data-studio/">How to use CASE statements in Google Data Studio? &#8211; 2021</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this post, we are going to explore one of the most useful functions in Google Data Studio, the CASE. I personally think that knowing how to write a CASE is not only helpful in Data Studio, but also it allows you to understand how computer logic works. In addition, I have added a section on how to compose the new Simplified CASE statements.</p>



<p><strong>*NEW</strong> &#8211; By popular demand, I have decided to expand the comprehensive guide on CASE and added IF statements, as the Google Data Studio team has had some incredible updates over the past year. Enjoy!</p>



<h2 id="what-is-the-data-studio-case-function" class="wp-block-heading">What is the Data Studio CASE function?</h2>



<p>The CASE function returns dimensions and metrics based on conditional expressions; it is often used to create new groupings of data and sort them in categories. Let&#8217;s imagine the following scenario. In the table below, you have a paid digital marketing campaign that includes &#8220;EN&#8221; and &#8220;FR&#8221; in the campaign name. However, you want to see the table below only per &#8220;Language&#8221;. This is where you can use the CASE function to write a specific statement. </p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://datastudio.ca/wp-content/uploads/2020/01/CASE-Function-1-1024x207.png" alt="google data studio campaign data table with a column highlighted" class="wp-image-779"/></figure>



<p>The trick with the CASE function is that you often have to find a unique common denominator to parse the data correctly. In the statement below, I am opening the CASE with a WHEN, specifying the first condition. Then adding IN, which instructs Data Studio that I will be listing text strings. Finally, I go ahead and choose my campaign name(s) and specify with THEN what I want to name the result of my WHEN condition. I know&#8230;. this is a bit of a tongue twister.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="215" src="https://datastudio.ca/wp-content/uploads/2020/01/Language-1024x215.png" alt="google data studio case statement using in" class="wp-image-780" srcset="https://www.datastudio.ca/wp-content/uploads/2020/01/Language-1024x215.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-300x63.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-768x161.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-380x80.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-800x168.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-1160x244.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-80x17.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-760x160.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-600x126.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language.png 1286w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>The result is exactly what we were looking for. Now if we want to see the campaign simply filtered by the &#8220;Language&#8221; dimension, we can even exclude &#8220;Campaign&#8221;.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="206" src="https://datastudio.ca/wp-content/uploads/2020/01/CASE-Done-1024x206.png" alt="table with language column highlighted" class="wp-image-781" srcset="https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-1024x206.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-300x60.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-768x154.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-1536x309.png 1536w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-380x76.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-800x161.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-1160x233.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-80x16.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-760x153.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-1600x322.png 1600w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done-600x121.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/01/CASE-Done.png 1781w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 id="how-to-use-regexp_match-function-within-case" class="wp-block-heading">How to use REGEXP_MATCH function within CASE?</h2>



<p>Now, what happens if things get more complicated. For example, in the &#8220;Complex Campaign&#8221; dimension, we have a lot of different and unique campaign iterations. If we were to use IN, then the list in the CASE function is going to grow substantially and we are more likely to make a mistake while writing it. This is why we are going to try out the REGEXP_MATCH function, also referred to as regex.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://datastudio.ca/wp-content/uploads/2020/01/CASE-Advanced-1-1024x314.png" alt="table with campaign data" class="wp-image-783"/></figure>



<p><strong>Quick background:</strong> Regular expressions are a notation for describing sets of character in a specific word or any text string. Google Data Studio (and most Google products) uses the <a href="https://github.com/google/re2/wiki/Syntax">RE2-style syntax</a>.</p>



<p>We start the WHEN statement the same way, without much difference. However, the modified dimension i.e. &#8220;Campaign&#8221; is inside brackets, unlike IN where it is outside. All we are doing with the regular expression is telling Data Studio that every time the capital letters &#8220;EN&#8221; or &#8220;FR&#8221; are spotted in the &#8220;Complex Campaign&#8221; dimension, the text strings should be named &#8220;English&#8221; and &#8220;French&#8221;, respectively. In a little bit more detail:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="215" src="https://datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-1024x215.png" alt="google data studio case statement using regex match" class="wp-image-785" srcset="https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-1024x215.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-300x63.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-768x161.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-380x80.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-800x168.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-1160x244.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-80x17.png 80w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-760x160.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced-600x126.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/01/Language-Advanced.png 1286w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 id="how-to-write-simplified-case-statements-by-declaring-a-field-to-test-once" class="wp-block-heading"><strong>How to write simplified CASE statements by declaring a field to test once?</strong></h2>



<p>In recent feature updates, Google has made it even easier to write repetitive CASE statements by declaring the field at the beginning. For example, if you have the same &#8220;Campaign&#8221; name, but this time, you want to use the year as a matching criteria.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="252" src="https://datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-1024x252.png" alt="" class="wp-image-1593" srcset="https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-1024x252.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-300x74.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-768x189.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-1536x378.png 1536w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-2048x504.png 2048w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-380x93.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-800x197.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-1160x285.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-760x187.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-1600x394.png 1600w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-2320x571.png 2320w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1-600x148.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/11/Campaign-dimension-pivot-table-1.png 2350w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Following the same logic as our past examples, you would normally write this standard CASE statement.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="223" src="https://datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-1024x223.png" alt="standard case statement with campaign dimension" class="wp-image-1588" srcset="https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-1024x223.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-300x65.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-768x167.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-1536x334.png 1536w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-380x83.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-800x174.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-1160x252.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-760x165.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement-600x130.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/11/regular-case-statement.png 1583w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>However, with the simplified CASE statement, you can do the following and save a bit of time!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="224" src="https://datastudio.ca/wp-content/uploads/2020/11/case-simplifed-1024x224.png" alt="simplified case statement with a campaign dimension " class="wp-image-1587" srcset="https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-1024x224.png 1024w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-300x66.png 300w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-768x168.png 768w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-1536x336.png 1536w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-380x83.png 380w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-800x175.png 800w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-1160x254.png 1160w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-760x166.png 760w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed-600x131.png 600w, https://www.datastudio.ca/wp-content/uploads/2020/11/case-simplifed.jpg 1583w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<h2 id="how-to-create-if-statements-in-google-data-studio" class="wp-block-heading"><strong>How to create IF statements in Google Data Studio</strong>?</h2>



<p>This has been a highly anticipated function and everyone was ecstatic when Google brought it to life. Similar to other platforms, you can use the IF function to return a dimension based on a given condition or rule. The basic syntax is as follow:</p>



<h3 id="ifcondition-true_result-false_result" class="wp-block-heading"><strong>IF(condition, true_result, false_result)</strong></h3>



<h4 id="parameters" class="wp-block-heading"><strong>Parameters</strong></h4>



<ul class="wp-block-list"><li><strong>Condition</strong>. This is the expression to evaluate. It consists of any valid boolean expression.</li><li><strong>True_result:</strong> This refers to the value that will be returned if the condition is true. It can be any valid expression.</li><li><strong>False_result: </strong>This refers to the value that will be returned if the condition is false. It can be any valid expression</li></ul>



<p>Let&#8217;s look at an example. This simple condition will calculate if &#8220;Actual Sales&#8221; exceed the &#8220;Forecast Sales&#8221;. If they do, your new column will the &#8220;Bonus&#8221; by 1.4, which presumably is going to info you sales team. Then, bonuses will be distributed accordingly.</p>



<pre class="wp-block-code"><code>IF(Actual Sales > Forecast Sales, Bonus * 1.4, Bonus)</code></pre>



<p>In addition, you can use a more complex condition with regular expression matching and logical AND. Although AND and OR allow you to test multiple conditions, simple CASE and CASE are the best to use if there are more than two possible results. Let&#8217;s see how that works.</p>



<pre class="wp-block-code"><code>IF (Event name = "purchase" AND (REGEXP_MATCH(Page path, ".*clothes.*") OR REGEXP_MATCH(Page path, ".*hoodies.*")), "hoodies Sales", Page title)</code></pre>



<p>As you can see, the IF statement can be quite powerful. </p>



<h2 id="data-studio-case-examples-from-the-media-agency-world" class="wp-block-heading">Data Studio CASE examples from the Media Agency world:</h2>



<p>These are few of the most common CASE statements across the Google Marketing Platform (GMP), ready to be copy/pasted!</p>



<h3 id="google-campaign-manager-cm-language" class="wp-block-heading">Google Campaign Manager (CM) &#8211; Language</h3>



<pre class="wp-block-code"><code>CASE
WHEN REGEXP_MATCH(Campaign, '.*(EN).*') THEN 'English'
WHEN REGEXP_MATCH(Campaign, '.*(FR).*') THEN 'French'
ELSE 'Other Language'
END</code></pre>



<h3 id="display-and-video-360-dv360-language" class="wp-block-heading">Display and Video 360 (DV360) &#8211; Language</h3>



<pre class="wp-block-code"><code>CASE
WHEN REGEXP_MATCH(Insertion Order, '.*(EN).*') THEN 'English'
WHEN REGEXP_MATCH(Insertion Order, '.*(FR).*') THEN 'French'
ELSE 'Other Language'
END</code></pre>



<h3 id="display-and-video-360-dv360-standard-media-tactics" class="wp-block-heading">Display and Video 360 (DV360) &#8211; Standard Media Tactics</h3>



<pre class="wp-block-code"><code>CASE
WHEN REGEXP_MATCH(Line Item, '.*(Remarketing).*') THEN 'Remarketing'
WHEN REGEXP_MATCH(Line Item, '.*(Lookalikes).*') THEN 'Lookalikes'
WHEN REGEXP_MATCH(Line Item, '.*(Prospecting).*') THEN 'Prospecting'
ELSE 'Other Tactic'
END</code></pre>



<h3 id="google-ads-device-type" class="wp-block-heading">Google Ads &#8211; Device Type</h3>



<pre class="wp-block-code"><code>CASE
WHEN REGEXP_MATCH(Campaign, '.*((M|m)obile).*') THEN 'Mobile'
WHEN REGEXP_MATCH(Campaign, '.*((T|t)ablet).*') THEN 'Tablet'
WHEN REGEXP_MATCH(Campaign, '.*((C|c)omputer).*') THEN 'Desktop'
ELSE 'Other'
END</code></pre>



<h3 class="wp-block-heading" id="age-case"><span id="google-ads-age-breakdown-this-cleans-up-your-default-age-dimension">Google Ads &#8211; Age Breakdown (this cleans up your default age dimension)</span></h3>



<pre class="wp-block-code"><code>CASE
WHEN Age IN ('Undetermined') THEN 'Unknown'
WHEN Age IN ('18to24') THEN 'A18-24'
WHEN Age IN ('25to34') THEN 'A25-34'
WHEN Age IN ('35to44') THEN 'A35-44'
WHEN Age IN ('45to54') THEN 'A45-54'
WHEN Age IN ('55to64') THEN 'A55-64'
WHEN Age IN ('gt64') THEN 'A65+'
ELSE 'N/A'
END</code></pre>



<h3 id="ga360-or-google-analytics-free-blog-page-sorting" class="wp-block-heading">GA360 or Google Analytics (Free) &#8211; Blog &#8220;Page&#8221; Sorting</h3>



<pre class="wp-block-code"><code>CASE
WHEN REGEXP_MATCH(Page, ‘((?i).*.*/about.*).*’) THEN ‘About Us
WHEN REGEXP_MATCH(Page, ‘((?i).*.*/blog/.*).*’) THEN ‘Blog Posts’’
WHEN REGEXP_MATCH(Page, ‘((?i).*.*/contact$).*’) THEN ‘Contact Us’
WHEN REGEXP_MATCH(Page, ‘((?i).*^/blog$).*’) THEN ‘Blog Page’
WHEN REGEXP_MATCH(Page, ‘((?i).*^/solutions/.*).*’) THEN ‘Solutions Pages’
WHEN REGEXP_MATCH(Page, ‘((?i).*^/services$).*’) THEN ‘Services’
WHEN REGEXP_MATCH(Page, ‘((?i).*.*/blog/category/.*).*’) THEN ‘Blog Category Page’
WHEN REGEXP_MATCH(Page, ‘((?i).*^/products/.*).*’) THEN ‘Product Pages’
WHEN REGEXP_MATCH(Page, ‘((?i).*^/contact/.*).*’) THEN ‘Thank You – Contact’
CASE WHEN REGEXP_MATCH(Page, ‘((?i).*^/$|^/\\?.*).*’) THEN ‘Homepage’
ELSE ‘_Other’
END
</code></pre>



<p>I hope this was helpful! If you have any questions, feel free to DM me on <a href="https://www.linkedin.com/in/larabadzhiev/">LinkedIn</a> or <a href="https://datastudio.ca/#colophon">subscribe to my newsletter</a> for more updates <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" />  </p>



<hr class="wp-block-separator is-style-wide"/>



<h2 class="wp-block-heading" id="dynamic-dashboards-and-data-analysis-with-google-data-studio">Dynamic Dashboards and Data Analysis with Google Data Studio</h2>



<p>If you want to learn how to build powerful data visualizations and unlock insights that can help you drive business results for your clients or employers, take a look at my&nbsp;<a href="https://www.udemy.com/course/dynamic-dashboards-and-data-analysis-with-google-data-studio/?referralCode=ED2EC987F6AD37C6DED8">full course on Udemy.</a></p>



<figure class="wp-block-image size-large"><a href="https://www.udemy.com/course/dynamic-dashboards-and-data-analysis-with-google-data-studio/?referralCode=ED2EC987F6AD37C6DED8" target="_blank" rel="noopener noreferrer"><img decoding="async" src="https://datastudio.ca/wp-content/uploads/2019/11/Video-Outro-Thumbnail_Updated.jpg-1024x576-1.jpg" alt="Google Data Studio Course" class="wp-image-710"/></a></figure>
<p>The post <a href="https://www.datastudio.ca/functions/how-to-use-the-case-function-in-google-data-studio/">How to use CASE statements in Google Data Studio? &#8211; 2021</a> appeared first on <a href="https://www.datastudio.ca">Data Studio</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.datastudio.ca/functions/how-to-use-the-case-function-in-google-data-studio/feed/</wfw:commentRss>
			<slash:comments>23</slash:comments>
		
		
			</item>
	</channel>
</rss>
