<?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>CodeWander</title>
	<atom:link href="http://codewander.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codewander.com</link>
	<description>Code...Explore</description>
	<lastBuildDate>Wed, 12 May 2021 21:17:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.2.23</generator>

<image>
	<url>http://codewander.com/wp-content/uploads/2018/05/cropped-logonotag4-2-32x32.png</url>
	<title>CodeWander</title>
	<link>http://codewander.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>First Dashboard using Amazon QuickSight</title>
		<link>http://codewander.com/first-dashboard-using-amazon-quicksight/</link>
				<comments>http://codewander.com/first-dashboard-using-amazon-quicksight/#respond</comments>
				<pubDate>Wed, 12 May 2021 21:17:13 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Amazon QuickSight]]></category>
		<category><![CDATA[Business Intelligence]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=1080</guid>
				<description><![CDATA[<p>Sometime back, I created a dashboard for Odoo Point of Sale using Qlik Sense and Power BI. Today, I thought of experimenting with Amazon QuickSight <a class="mh-excerpt-more" href="http://codewander.com/first-dashboard-using-amazon-quicksight/" title="First Dashboard using Amazon QuickSight">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/first-dashboard-using-amazon-quicksight/">First Dashboard using Amazon QuickSight</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>Sometime back, I created a <a href="http://www.codewander.com/odoo-point-of-sale-dashboard-power-bi-vs-qlik-sense/">dashboard for Odoo Point of Sale using Qlik Sense and Power BI</a>. Today, I thought of experimenting with Amazon QuickSight with the same dashboard requirement. This blog is about my first dashboard using Amazon QuickSight. We will see how to,</p>



<ol><li>Perpare the data: Import Delimited Flat file</li><li>Create New Analyses</li><li>Publish a Dashboard (No user access management)</li></ol>



<h3><strong>Prerequisite</strong></h3>



<ul><li>AWS Account</li><li>Amazon QuickSight Account</li></ul>



<p>You can signup Amazon Web Services for free. However, for QuickSight there are two options. Standard and Enterprise. Standard comes with a $9 per month per user. You also get two month trial period to evaluate the product. </p>



<p>When you signup for QuickSight you get the below screen. If you were going to just experiment like I do, please choose IAM federated identities only.</p>



<p>I also did not choose other options of connecting to other AWS services.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-Subscription-1024x661.png" alt="" class="wp-image-1081" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-Subscription-1024x661.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Subscription-300x194.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Subscription-768x496.png 768w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Subscription.png 1033w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Amazon QuickSight signup</figcaption></figure>



<p>Once you complete the form and submit, you will see a screen like below and you are good to go.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-Account-Created-codewander.png" alt="" class="wp-image-1082" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-Account-Created-codewander.png 691w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Account-Created-codewander-300x125.png 300w" sizes="(max-width: 691px) 100vw, 691px" /></figure>



<h3>Amazon BI suite and scope for this blog</h3>



<p>AWS BI suite has lot of tools that need to be used in tandem for better outcome. Some of the tools that I came across are </p>



<ol><li>AWS Glue &#8211; a complete ETL tool</li><li>AWS Glue Data Brew &#8211; Meant for non-IT users to prepare their data for analytics</li><li>Amazon QuickSight &#8211; The business intelligence tool for analysis</li></ol>



<p>For this blog, we will focus on Amazon QuickSight and use the simple <a href="http://www.codewander.com/extract-odoo-pos-data-using-talend/">file that was generated for Qlik Sense and Power BI using Talend</a>.</p>



<h3>Amazon QuickSight</h3>



<h4>The home or the hub</h4>



<p>The hub or the home page of Amazon Quicksight has three sections. </p>



<ol><li>Dashboard</li><li>Analyses</li><li>DataSets</li></ol>



<p>The separation of dashboard and analyses is unique to Quicksight though it may resemble report vs dashboards of Power BI. The data gets refreshed in the analyses section continuously and you have to publish the analyses to update the dashboard. This gives an unique advantage. The analyses section acts like a staging area where you can validate if the data looks good before you publish it to the end users. However, there must be an automatic way to deploy dashboards using APIs (yet to explore). All user access details are added to the dashboards.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-Hub-1024x399.png" alt="" class="wp-image-1083" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-Hub-1024x399.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Hub-300x117.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Hub-768x299.png 768w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Hub.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h4>Prepare the data: Import Delimited Flat file</h4>



<p>For the Odoo Point of Sale experiment, we have three flat files with columns de-limited by a semi-colon. They are</p>



<ol><li>orders</li><li>orderline &#8211; that describes each items in the order and order quantity</li><li>products &#8211; contains details of the products in each order</li></ol>



<p>When importing the orders file, the data looked like below. As you can see, the default delimites is comma (,). So the file is not read correctly. This can be resolved by clicking teh Edit settings and prepare data button.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-Import-flat-file-data-1024x493.png" alt="" class="wp-image-1084" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-Import-flat-file-data-1024x493.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Import-flat-file-data-300x144.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Import-flat-file-data-768x370.png 768w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-Import-flat-file-data.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Clicking the arrow of the orders file as shown below will bring another pop-up that lets you set delimiter and header details. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-1024x453.png" alt="" class="wp-image-1085" srcset="http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-1024x453.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-300x133.png 300w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-768x339.png 768w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file.png 1337w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-custom-setting-1024x502.png" alt="" class="wp-image-1086" srcset="http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-custom-setting-1024x502.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-custom-setting-300x147.png 300w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-custom-setting-768x377.png 768w, http://codewander.com/wp-content/uploads/2021/05/Configure-Upload-Setting-flat-file-custom-setting.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once all the details are set and the pop-up closed, QuickSight will identify all the columns as shown below</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-data-prep.png" alt="" class="wp-image-1087" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-data-prep.png 983w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-data-prep-300x89.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-data-prep-768x229.png 768w" sizes="(max-width: 983px) 100vw, 983px" /></figure>



<h4>Import and join other files</h4>



<p>All the three files can be imported using the same technique and can be joined visually. QuickSight lets you modify join as required using drag and drop.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Drag-and-Drop-Join.png" alt="" class="wp-image-1088" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Drag-and-Drop-Join.png 987w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Drag-and-Drop-Join-300x90.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Drag-and-Drop-Join-768x230.png 768w" sizes="(max-width: 987px) 100vw, 987px" /></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Join.png" alt="" class="wp-image-1089" srcset="http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Join.png 994w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Join-300x172.png 300w, http://codewander.com/wp-content/uploads/2021/05/Quicksight-DataSet-Join-768x440.png 768w" sizes="(max-width: 994px) 100vw, 994px" /></figure>



<h4>Create New Analyses</h4>



<p>The actual build of dashboard happens in the Analyses section. You can start a new analyses</p>



<ol><li>From the hub<ol><li>Click on New Analyses button</li><li>Click on a data set and then Create Analysis button on the pop-up</li></ol></li><li>From within the dataset<ol><li>Click on Save &amp; Visualize button on the top right</li></ol></li></ol>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/CreateAnalysis1.png" alt="" class="wp-image-1090" srcset="http://codewander.com/wp-content/uploads/2021/05/CreateAnalysis1.png 601w, http://codewander.com/wp-content/uploads/2021/05/CreateAnalysis1-300x180.png 300w" sizes="(max-width: 601px) 100vw, 601px" /><figcaption>New Analyses from the hub</figcaption></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/NewAnalysesfromDataSet.png" alt="" class="wp-image-1091" srcset="http://codewander.com/wp-content/uploads/2021/05/NewAnalysesfromDataSet.png 517w, http://codewander.com/wp-content/uploads/2021/05/NewAnalysesfromDataSet-300x202.png 300w" sizes="(max-width: 517px) 100vw, 517px" /><figcaption>New Analyses from within the dataset</figcaption></figure>



<p>A data set can be added to an existing analysis as shown below. Click on the pencil icon highlighted and the pop-up will show up to manage the datasets in the analyses.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Add-Dataset-to-Analyses.png" alt="" class="wp-image-1092" srcset="http://codewander.com/wp-content/uploads/2021/05/Add-Dataset-to-Analyses.png 1008w, http://codewander.com/wp-content/uploads/2021/05/Add-Dataset-to-Analyses-300x125.png 300w, http://codewander.com/wp-content/uploads/2021/05/Add-Dataset-to-Analyses-768x319.png 768w" sizes="(max-width: 1008px) 100vw, 1008px" /><figcaption>Adding new data set to the Analyses</figcaption></figure>



<p>Once the data set is added, the columns are displayed on the left. Now you can simply click on the fields and Amazon QuickSight will automatically create visualizations for you. You can also modify them. We will see some of the key components of the Analyses layout</p>



<ol><li>Left Navigation: This contains visualizations, filters and parameters, actions. Also you can use the add button above the left pane to add calculated field or parameter at the analyses level</li><li>Left Pane: This is a dynamic pane that changes according to the left navigation selection and for visualization it shows the datasets, list of fields for the selected data sets and the visualizations.</li><li>Field Well: This is the top portion and shows the list of fields we use in a visualization. We can format the fields by clicking on the arrow of the fields.</li></ol>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Analyses-Layout-1024x499.png" alt="" class="wp-image-1094" srcset="http://codewander.com/wp-content/uploads/2021/05/Analyses-Layout-1024x499.png 1024w, http://codewander.com/wp-content/uploads/2021/05/Analyses-Layout-300x146.png 300w, http://codewander.com/wp-content/uploads/2021/05/Analyses-Layout-768x374.png 768w, http://codewander.com/wp-content/uploads/2021/05/Analyses-Layout.png 1364w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Analyses Layout</figcaption></figure>



<figure class="wp-block-image is-resized"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Format-fields.png" alt="" class="wp-image-1095" width="576" height="414" srcset="http://codewander.com/wp-content/uploads/2021/05/Format-fields.png 793w, http://codewander.com/wp-content/uploads/2021/05/Format-fields-300x216.png 300w, http://codewander.com/wp-content/uploads/2021/05/Format-fields-768x553.png 768w" sizes="(max-width: 576px) 100vw, 576px" /><figcaption>format fields and visual display</figcaption></figure>



<h4>Publish a Dashboard</h4>



<p>Once you have created an analyses, you can simply use the share button on the top right corner to publish the dashboard. You can either replace an existing dashboard or publish it in a new name.</p>



<p>There are also other options available for you at the time of publish that are self-explanatory.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/Publish-Dashboard.png" alt="" class="wp-image-1096" srcset="http://codewander.com/wp-content/uploads/2021/05/Publish-Dashboard.png 608w, http://codewander.com/wp-content/uploads/2021/05/Publish-Dashboard-275x300.png 275w" sizes="(max-width: 608px) 100vw, 608px" /><figcaption>Publish a Dashboard</figcaption></figure>



<p>Once you publish the dashboard, it will be available in the Dashboard section of the hub. These dashboards are read only and so it will not have the development components that we saw in the analyses layout. This makes the dashboard look neat by occupying a large screen space. This is a simple dashboard created to demonstrate basic capabilities of QuickSight. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/05/CompleteDashboard-1024x499.png" alt="" class="wp-image-1097" srcset="http://codewander.com/wp-content/uploads/2021/05/CompleteDashboard-1024x499.png 1024w, http://codewander.com/wp-content/uploads/2021/05/CompleteDashboard-300x146.png 300w, http://codewander.com/wp-content/uploads/2021/05/CompleteDashboard-768x374.png 768w, http://codewander.com/wp-content/uploads/2021/05/CompleteDashboard.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>
<p>The post <a rel="nofollow" href="http://codewander.com/first-dashboard-using-amazon-quicksight/">First Dashboard using Amazon QuickSight</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/first-dashboard-using-amazon-quicksight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>How NOT to be bored at Work? Keep Learning!</title>
		<link>http://codewander.com/how-not-to-be-bored-at-work-keep-learning/</link>
				<comments>http://codewander.com/how-not-to-be-bored-at-work-keep-learning/#respond</comments>
				<pubDate>Wed, 24 Mar 2021 06:42:38 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[WanderThoughtz]]></category>
		<category><![CDATA[wanderthoughtz]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=1073</guid>
				<description><![CDATA[<p>No matter what job it is, one will go through a phase of boredom. Even if it were to be a company/ job that one <a class="mh-excerpt-more" href="http://codewander.com/how-not-to-be-bored-at-work-keep-learning/" title="How NOT to be bored at Work? Keep Learning!">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/how-not-to-be-bored-at-work-keep-learning/">How NOT to be bored at Work? Keep Learning!</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>No matter what job it is, one will go through a phase of boredom. Even if it were to be a company/ job that one admires. Its not only due to the job but also because of various factors in life that may take precedence at certain point in time. However, there are few ways to keep our spirits afloat for the maximum percent of our career by making taking some steps. Here are few steps that I take to ensure that I keep myself afloat and keep boredom away. In the long run these have helped me excel at my work.</p>



<h3>Continuous Learning: Exploring alternatives</h3>



<p>This is one of the greatest means that has helped me personally to stay away from boredom. In fact, this has helped me in lot of role transitions. Try to learn about emerging trends and how the entire industry is moving forward. Learn more about the competitors of the product/ framework that is used at work. This will help one to get another perspective of things at work and also to get more new ideas that can be tried. The blogs and free webinars are now a great source of contents with different perspectives and can help guide towards the next thing one want to learn. One of easy way to do is to do a google search &lt;&lt;product name>> alternatives and &lt;&lt;product name>> open source alternatives. This easily gives a list of other tools in the area of interest.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/03/continuous-learning.png" alt="" class="wp-image-1077" srcset="http://codewander.com/wp-content/uploads/2021/03/continuous-learning.png 906w, http://codewander.com/wp-content/uploads/2021/03/continuous-learning-300x145.png 300w, http://codewander.com/wp-content/uploads/2021/03/continuous-learning-768x370.png 768w" sizes="(max-width: 906px) 100vw, 906px" /></figure>



<h3>Lifelong Learning: Side&nbsp;projects</h3>



<p>This is an extension or application of the learning but worth mentioning as a separate point. Many times mind races ahead of time. We cannot try everything we want at work. The best way to nurture racing mind is to have side projects or little experiments that one can do. This can be a personal or work related project. This helps us to firm up learning and validate understanding. If its a personal project, a github page (for software) or a blog will help showcase them and enrich one’s profile. Personally I started writing blog, <a href="http://www.codewander.com" rel="noreferrer noopener" target="_blank">codewander.com</a>, to record my thought process, understanding of technology, ability to solution so that I can refer it later.</p>



<h3>Learning on the job: Role with a&nbsp;GAP&nbsp;</h3>



<p>It is one of the best advices that I received when I was offered full-time job post my MBA internship. The reason is simple. Its not only about what one has  to fulfill and excel at the job (Contribute) , but also about what the job has to offer the individual(Learn and Grow). If there is no or narrow GAP one will easily get bored in some time. If the GAP is too wide, then that can set the person to fail at the job. Having the right mix of knowns and unknowns will help one to do well and grow in a role. If there are times when you do not seem to have an opportunity to learn or grow, that indicates the time to change role at work.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance-1024x576.jpg" alt="" class="wp-image-1076" srcset="http://codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance-1024x576.jpg 1024w, http://codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance-300x169.jpg 300w, http://codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance-768x432.jpg 768w, http://codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance-678x381.jpg 678w, http://codewander.com/wp-content/uploads/2021/03/role-with-gap-for-performance.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h3>Collaborative Learning: Help Others: Get Versatile</h3>



<p>This is another best way to become versatile and improve your competency. Volunteering to help others in the team or help another team to achieve their goal is a great way to learn things that one may not know otherwise. This also keeps one away from boredom while earning good relationship with the colleagues. Most of time when someone seeks help, they do not need an expert but rather someone who is willing to work together and solve the problem.</p>



<p></p>
<p>The post <a rel="nofollow" href="http://codewander.com/how-not-to-be-bored-at-work-keep-learning/">How NOT to be bored at Work? Keep Learning!</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/how-not-to-be-bored-at-work-keep-learning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Makeover Monday 2020 Week 5 Tableau</title>
		<link>http://codewander.com/makeover-monday-2020-week-5-tableau/</link>
				<comments>http://codewander.com/makeover-monday-2020-week-5-tableau/#respond</comments>
				<pubDate>Sat, 08 Feb 2020 18:25:58 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Makeover Monday]]></category>
		<category><![CDATA[Tableau]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=1043</guid>
				<description><![CDATA[<p>Monday&#8230;Makeover Monday!! This post is about my submission for Makeover Monday 2020 week 5. I take this challenge as an opportunity to explore Tableau and <a class="mh-excerpt-more" href="http://codewander.com/makeover-monday-2020-week-5-tableau/" title="Makeover Monday 2020 Week 5 Tableau">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-2020-week-5-tableau/">Makeover Monday 2020 Week 5 Tableau</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>Monday&#8230;Makeover Monday!! This post is about my submission for Makeover Monday 2020 week 5. I take this challenge as an opportunity to explore Tableau and hence most of my visualization for this series will be on Tableau. You can check my other <a rel="noreferrer noopener" aria-label="makeover monday (opens in a new tab)" href="http://www.codewander.com/category/makeover-monday/" target="_blank">Makeover Monday</a> too and provide your feedback. This weeks&#8217;s challenge is about the survey among Great Britain Adults by YouGov about their <a rel="noreferrer noopener" aria-label="preference for the next James Bond character (opens in a new tab)" href="https://d25d2506sfb94s.cloudfront.net/cumulus_uploads/document/sur4dbksy5/Bond_180925_ResultsWithCode.pdf" target="_blank">preference for the next James Bond character</a>.</p>



<p>The original survey and <a href="https://yougov.co.uk/topics/entertainment/articles-reports/2018/10/02/idris-elba-publics-favourite-next-james-bond" target="_blank" rel="noreferrer noopener" aria-label="the article (opens in a new tab)">the article</a> compares the opinion between those who love James Bond movies and the general population. However, for the challenge the context is changed from the original survey to comparison between Brexit voters: Remain vs Leave</p>



<p>The sample data was provided by <a rel="noreferrer noopener" aria-label="Makeover Monday Team (opens in a new tab)" href="https://www.makeovermonday.co.uk/data/" target="_blank">Makeover Monday Team</a>. The original visualization present in the article is below</p>



<figure class="wp-block-image"><img src="https://d25d2506sfb94s.cloudfront.net/cumulus_uploads/inlineimage/2018-09-26/James%20Bond-01.png" alt="Makeover Monday 2020 Weeok 5 Original Chart"/><figcaption>source of the image: yougov</figcaption></figure>



<h2>Analysis</h2>



<h3>What works with this chart?</h3>



<p>The article highlights what is preference of the people of Great Britain with respect to next James Bond character. The chart correctly sorts the category in the descending order of acceptance.</p>



<h3>What does not work with this chart?</h3>



<p>The visualization could have avoided the unacceptable and Don&#8217;t know. The Don&#8217;t Know component is very small in most categories and Acceptable percentage will easily give readers an idea of the unacceptable percentage.</p>



<h2>Makeover Monday Tableau</h2>



<h3>Data Points</h3>



<p>So in our case instead of general population we will compare Brexit Voters: Remain and Leave, only on Acceptable percentage to convey the message. We will basically keep only the enough information required to convey the message on what is acceptable to the survey participants. </p>



<h3>Images Used</h3>



<p>We used images to convey the context of the visualization rather than users having to read through. </p>



<p>Following are the image sources</p>



<ul><li>An article: <a rel="noreferrer noopener" aria-label="Who will play the iconic character next? (opens in a new tab)" href="https://www.jack969.com/2016/11/03/bond-james-bond/" target="_blank">Who will play the iconic character next?</a></li><li><a rel="noreferrer noopener" aria-label="Hiclipart.com (opens in a new tab)" href="https://www.hiclipart.com/free-transparent-background-png-clipart-dcvfr/download" target="_blank">Hiclipart.com</a> and <a rel="noreferrer noopener" aria-label="pngguru.com (opens in a new tab)" href="https://www.pngguru.com/free-transparent-background-png-clipart-tliua/download" target="_blank">pngguru.com</a></li></ul>



<h3>Final Output</h3>



<p>Here is the final output. The live dashboard is available here: <a rel="noreferrer noopener" aria-label="The Next James Bond (opens in a new tab)" href="https://public.tableau.com/views/MakeoverMonday2020Week05_15810491779960/TheNextJamesBond?:display_count=y&amp;publish=yes&amp;:origin=viz_share_link" target="_blank">The Next James Bond</a></p>



<div class="wp-block-image"><figure class="aligncenter"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-makeover-monday-2020-week-05-The-Next-James-Bond.png" alt="Makeover Monday 2020 Week 05 Tableau - Final Visual" class="wp-image-1046" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-makeover-monday-2020-week-05-The-Next-James-Bond.png 414w, http://codewander.com/wp-content/uploads/2020/02/codewander-makeover-monday-2020-week-05-The-Next-James-Bond-213x300.png 213w" sizes="(max-width: 414px) 100vw, 414px" /></figure></div>



<p></p>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-2020-week-5-tableau/">Makeover Monday 2020 Week 5 Tableau</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/makeover-monday-2020-week-5-tableau/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Qlik sense extension multi-series scatter plot</title>
		<link>http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/</link>
				<comments>http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/#comments</comments>
				<pubDate>Thu, 06 Feb 2020 22:14:05 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Qlik sense]]></category>
		<category><![CDATA[Qlik sense Extensions]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[plotly]]></category>
		<category><![CDATA[qlik]]></category>
		<category><![CDATA[scatter plot]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=1018</guid>
				<description><![CDATA[<p>In my earlier post that demonstrated What if Analysis in Qlik sense, i have used Qlik sesnse&#8217;s native scatter plot to draw sine or cos <a class="mh-excerpt-more" href="http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/" title="Qlik sense extension multi-series scatter plot">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/">Qlik sense extension multi-series scatter plot</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>In my earlier post that demonstrated <a rel="noreferrer noopener" aria-label="What if Analysis in Qlik sense (opens in a new tab)" href="http://www.codewander.com/implement-what-if-analysis-in-qlik-sense/" target="_blank">What if Analysis in Qlik sense</a>, i have used Qlik sesnse&#8217;s native scatter plot to draw sine or cos wave or a circle. However, I was able to plot either one of them at a time. This got me thinking how to plot two series using the native scatter plot and hence i wrote a blog <a rel="noreferrer noopener" aria-label="Qlik sense scatter plot multiple series  (opens in a new tab)" href="http://www.codewander.com/qlik-sense-scatter-plot-multiple-series/" target="_blank">Qlik sense scatter plot multiple series </a>that explains how using color code we can highlight two or more set of data and its limitations. Hence I thought, I will try writing an extension leveraging the opensource chart library <a rel="noreferrer noopener" aria-label="plotly (opens in a new tab)" href="https://plot.ly/" target="_blank">plotly</a>. I have another extension using ploty including <a rel="noreferrer noopener" aria-label="animated bubble chart (opens in a new tab)" href="http://www.codewander.com/qlik-extension-bubble-chart-animated/" target="_blank">animated bubble chart</a>. Please check it out.</p>



<h2>Download and Install</h2>



<p>The extension can be downloaded using the link below</p>



<p>	<a style="background-color: #81d742; padding: 14px; color: white; display: inline-block; text-align: center; text-decoration: none;" href="http://www.codewander.com/download/?download_link=https://github.com/CodeAtRoost/codewander-plotlyScatterPlot&amp;download_title=Qlik%20sense%20Extension%20scatter%20plot%20multi%20series-%20GitHub" target="_blank" rel="noopener noreferrer">
	Download Qlik Sense Extension Scatter plot Multi Series
	</a></p>



<p>Extract and copy contents of the folder in the Extensions folder on your desktop or server. In Desktop, it usually is in the My Documents/Qlik/Sense/Extensions folder. you can also deploy using Qlik Management Console on the server.</p>



<pre class="wp-block-preformatted">Note: This extension refers to online cdn version of plotly and hence require internet connectivity.</pre>



<h2>Demo</h2>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_78724" width="678" height="381"  data-origwidth="678" data-origheight="381"  src="https://www.youtube.com/embed/R-JcuoiKGyo?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__" title="YouTube player"  allow="autoplay; encrypted-media" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div><figcaption>Adding Measures and Dimensions</figcaption></figure>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_79055" width="678" height="381"  data-origwidth="678" data-origheight="381"  src="https://www.youtube.com/embed/c8WY-HGUyTY?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__" title="YouTube player"  allow="autoplay; encrypted-media" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div><figcaption>Adding Series Details and Format Axis and Plot Area</figcaption></figure>



<h2>Configuration</h2>



<h3>Measures and Dimensions</h3>



<p>This extension requires only one dimension and an even number of measures to visualize data. The extension takes the odd measures as x-value and even measures as y-value. Each pair is a series. This design is to accommodate plotting data from different set of columns. If either your x or y value is from the same column, you can repeat the measures. </p>



<p>However, its important to note that the extension plots all measures using the same x and y scale/ axis. It does not support multi-axis. The extension currently supports ten measures which means you can plot utmost 5 series.</p>



<h3>Settings</h3>



<p>There are four sections under Appearances that helps us configure the appearance of the chart apart from the two common sections, namely General and Alternate States. They are </p>



<ol><li>Series</li><li>X Axis</li><li>Y Axis</li><li>General Settings</li></ol>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings.png" alt="" class="wp-image-1024"/></figure>



<h4>Series</h4>



<p>Series section lets you add details related to each of the series that you want to plot. It does not validate the number of series that you have defined in the measures section. Instead it assigns the series details in the order of appearance.</p>



<div class="wp-block-image"><figure class="alignleft"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-series.png" alt="" class="wp-image-1025" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-series.png 251w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-series-180x300.png 180w" sizes="(max-width: 251px) 100vw, 251px" /></figure></div>



<p> In the series section, you can enter the following for each of the series which means you can control each series independent of other series.</p>



<ul><li>name of the series</li><li>color</li><li>series type</li><li>marker size</li><li>highlight first point<br></li></ul>



<p><strong><em>Series Type:</em></strong> There are three options in the series type: lines, lines+markers and markers. The markers is the usual scatter plot where as lines and lines+markers lets us draw the line to the plot connecting the data points in the order they appear in the series. The following picture shows the lines+markers and markers series in one single visualization.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-lines-vs-markers-1024x395.png" alt="" class="wp-image-1026" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-lines-vs-markers-1024x395.png 1024w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-lines-vs-markers-300x116.png 300w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-lines-vs-markers-768x296.png 768w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-lines-vs-markers.png 1357w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>line+marker series vs markers series</figcaption></figure>



<p><strong>Highlight first point</strong>: This will be useful when we use the either line or lines+markers series type to identify where the series starts and helps in following the change in data points. When this option is checked, the first data point will have a black border around it as shown in the picture below.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-highlight-first-point.png" alt="" class="wp-image-1027"/><figcaption>highlighting first data point of the series</figcaption></figure>



<h4>X Axis and Y Axis</h4>



<div class="wp-block-image"><figure class="alignleft"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-x-axis.png" alt="" class="wp-image-1029" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-x-axis.png 249w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-x-axis-217x300.png 217w" sizes="(max-width: 249px) 100vw, 249px" /></figure></div>



<p>Both X-Axis and Y-Axis has the same set of parameters and are quite self-explanatory. This option lets you choose configure how the grid-lines, zero line, axis base line or the labels need to be plotted. </p>



<p><strong>Show Line vs Show Zero Line</strong></p>



<p>The Show Line is to show or hide the base line of the axis whereas Show Zero Line is to show or hide the line at the point zero. In the picture below, we can see that for the Y-Axis, we hide the axis line but show the zero line</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-setting-y-axis-show-line-vs-show-sero-line-1024x497.png" alt="" class="wp-image-1032" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-setting-y-axis-show-line-vs-show-sero-line-1024x497.png 1024w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-setting-y-axis-show-line-vs-show-sero-line-300x146.png 300w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-setting-y-axis-show-line-vs-show-sero-line-768x373.png 768w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-setting-y-axis-show-line-vs-show-sero-line.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Show Line vs Show Zero Line</figcaption></figure>



<h4>General Settings</h4>



<div class="wp-block-image"><figure class="alignleft"><img src="http://www.codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-general-settings.png" alt="" class="wp-image-1034" srcset="http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-general-settings.png 249w, http://codewander.com/wp-content/uploads/2020/02/codewander-qlik-sense-extension-scatter-plot-multi-series-settings-general-settings-80x60.png 80w" sizes="(max-width: 249px) 100vw, 249px" /></figure></div>



<p>General Setting has two options. They are</p>



<ul><li>Display options for mode bar</li><li>Show Legend</li></ul>



<p>The mode bar is the list of buttons that appear on top. You can choose to have it or hide it using this option. Currently legends are shown on the right side vertically. I will add more options for the same eventually. Currently you can either show or hide the legend.</p>



<p></p>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/">Qlik sense extension multi-series scatter plot</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/qlik-sense-extension-multi-series-scatter-plot/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>Makeover Monday Week 4 Tableau</title>
		<link>http://codewander.com/makeover-monday-week-4-tableau/</link>
				<comments>http://codewander.com/makeover-monday-week-4-tableau/#respond</comments>
				<pubDate>Fri, 31 Jan 2020 07:56:14 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[GeoAnalytics]]></category>
		<category><![CDATA[Makeover Monday]]></category>
		<category><![CDATA[Tableau]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[geo analytics]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=996</guid>
				<description><![CDATA[<p>This blog is about the my makeover monday week 4 Tableau visualization submission. The week 4 visualization is regarding the geo spatial visualization of Bridges2Prosperity <a class="mh-excerpt-more" href="http://codewander.com/makeover-monday-week-4-tableau/" title="Makeover Monday Week 4 Tableau">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-week-4-tableau/">Makeover Monday Week 4 Tableau</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>This blog is about the my makeover monday week 4 Tableau visualization submission. The week 4 visualization is regarding the <a rel="noreferrer noopener" aria-label="geo spatial visualization of Bridges2Prosperity organization (opens in a new tab)" href="https://bridgestoprosperity.org/global-work/rwanda/" target="_blank">geo spatial visualization of Bridges2Prosperity organization</a> that focuses on building bridges across the word to improve the lives of rural population.  The visualization that we makeover this week is below. You can also check out my <a href="http://www.codewander.com/makeover-monday-2020-week-3/" target="_blank" rel="noreferrer noopener" aria-label="Makeover Monday Week 3 visualization Analysis (opens in a new tab)">Makeover Monday Week 3 visualization Analysis</a></p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual-1024x551.png" alt="Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual" class="wp-image-997" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual-1024x551.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual-300x161.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual-768x413.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-Original-Visual.png 1255w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>We will makeover the visualization as below. In this blog we we will see how I arrived at the below visualization. You can also check out the <a href="https://public.tableau.com/views/MakeoverMonday2020Week04BridgestoProsperity/BridgestoProsperity?:display_count=y&amp;publish=yes&amp;:origin=viz_share_link" target="_blank" rel="noreferrer noopener" aria-label="live Tableau dashboard (opens in a new tab)">live Tableau dashboard</a></p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-1024x726.png" alt="Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity" class="wp-image-995" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-1024x726.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-300x213.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-768x545.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity.png 1025w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Objective of Makeover Monday 2020 Week 4</h2>



<ol><li>What works and what doesn&#8217;t work with this chart?</li><li>How can you make it better? </li></ol>



<h2>Analysis</h2>



<h3>What works with this chart?</h3>



<p>This chart does a good job of showing the global indicators when a country is selected and also the geo heatmap of a selected global indicator. It is easy to look at an individual country&#8217;s numbers and also the overall comparative view.</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Country-details.png" alt="Codewander-Makeover-Monday-2020-Week-04-Country-details" class="wp-image-998" width="261" height="332" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Country-details.png 449w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Country-details-236x300.png 236w" sizes="(max-width: 261px) 100vw, 261px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-All-Country-indicator-heatmap-300x165.png" alt="Codewander-Makeover-Monday-2020-Week-04-Country-details" class="wp-image-999" width="477" height="262" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-All-Country-indicator-heatmap-300x165.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-All-Country-indicator-heatmap-768x421.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-All-Country-indicator-heatmap-1024x562.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-All-Country-indicator-heatmap.png 1139w" sizes="(max-width: 477px) 100vw, 477px" /></figure></div>



<h3>What does not work with this visualization?</h3>



<ol><li>The visualization does a poor job of highlighting the global indicator on the map when a country is selected. It still gives the heat map but zoomed to the country selected. This is of no use as there is no way to compare when the map is zoomed in. </li><li>The chart does not visualize the location of bridges on the map. For example, in the image below, it does not sow the geo location of the completed bridges in Ethiopia.</li></ol>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges.png" alt="" class="wp-image-1001" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges.png 794w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges-300x225.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges-768x576.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges-678x509.png 678w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges-326x245.png 326w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Completed-bridges-80x60.png 80w" sizes="(max-width: 794px) 100vw, 794px" /></figure>



<h3>How can we make it better?</h3>



<h4>Remove Global Indicators from the map</h4>



<p><strong><em>Use table heatmap instead</em></strong></p>



<p>First we will address the global indicator on the map that comes up when we select a country.  We will instead use a simple heatmap table with a dropdown for the indicators. This simple heatmap will easily show us the comparative view and the sorting feature will enable us to find the ranking of the country easily. We will also use this a filter to select a specific country</p>



<div class="wp-block-image"><figure class="aligncenter"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Table-Heatmap.png" alt="" class="wp-image-1003" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Table-Heatmap.png 165w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Table-Heatmap-113x300.png 113w" sizes="(max-width: 165px) 100vw, 165px" /></figure></div>



<h4>Plot the location of bridges on the geo spatial map</h4>



<p>Next we will address the missing feature, which is the plotting of bridges based on location. We will use the geo map to plot the location of the bridges and highlight the bridges in different colors based on the type of bridge. The size of the bubble shows the span of the bridge in meters. When we select a country, the map zooms in to that country and shows the bridges. When we deselect all the countries, that map zooms out and shows all the countries with bridge heat map on it. Please see below.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-Country-selected.png" alt="Tableau Map when the country is selected" class="wp-image-1007" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-Country-selected.png 569w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-Country-selected-300x199.png 300w" sizes="(max-width: 569px) 100vw, 569px" /><figcaption>Tableau Map when the country is selected</figcaption></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-no-Country-selected.png" alt="Tableau Map when the no country is selected" class="wp-image-1008" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-no-Country-selected.png 573w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Map-no-Country-selected-300x200.png 300w" sizes="(max-width: 573px) 100vw, 573px" /><figcaption>Tableau Map when the no country is selected</figcaption></figure>



<p>We will provide following additional information about the bridges. Number of Bridges by: </p>



<ol><li>Type</li><li>Stage (Completed or not)</li><li>Year constructed</li></ol>



<div class="wp-block-image"><figure class="aligncenter"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Charts-for-bridges.png" alt="Additional Information about the bridges" class="wp-image-1010" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Charts-for-bridges.png 279w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Charts-for-bridges-195x300.png 195w" sizes="(max-width: 279px) 100vw, 279px" /><figcaption>Additional Information about the bridges</figcaption></figure></div>



<h4>Retain the good feature: List Global Indicators for a Country</h4>



<p>When we select a country we will also list all the global indicators of the country. When none of the countries is selected we will hide these global indicators as it does not make sense.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators-1024x124.png" alt="" class="wp-image-1011" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators-1024x124.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators-300x36.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators-768x93.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators-1030x125.png 1030w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Tableau-Indicators.png 1035w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Key Global Indicators</figcaption></figure>



<h2>Final Output</h2>



<p>The focus of the makeover is to ensure that we do not use more components than necessary and provide as much insights as possible. Thus putting all these components together, we get the below output. As you can see we also added a text object to give a brief introduction about Bridges2Prosperity organization. Please provide feedback on the analysis and also on the technical approach. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-1024x726.png" alt="Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity" class="wp-image-995" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-1024x726.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-300x213.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity-768x545.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-04-Bridges-to-Prosperity.png 1025w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Tabeau Tips and Tricks</h2>



<p>Since I am new to Tableau, I had to learn lot of new tricks to achieve this visualization. Some of the tricks are:</p>



<ol><li>Using Parameters to dynamically change the measures</li><li>Use bar chart as KPI tile element</li><li>Using Dashboard Action to hide the Global indicators based on condition</li></ol>



<p>Since this blog is mainly focused on non-technical aspect, I will write another blog that explains these technical details. </p>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-week-4-tableau/">Makeover Monday Week 4 Tableau</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/makeover-monday-week-4-tableau/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Makeover Monday 2020 Week 3</title>
		<link>http://codewander.com/makeover-monday-2020-week-3/</link>
				<comments>http://codewander.com/makeover-monday-2020-week-3/#respond</comments>
				<pubDate>Sun, 26 Jan 2020 03:15:08 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Makeover Monday]]></category>
		<category><![CDATA[Tableau]]></category>
		<category><![CDATA[business intelligence]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=981</guid>
				<description><![CDATA[<p>This blog is my analysis and thought process on how I arrived at the Makeover Monday visualization on week three of year 2020. The visualization <a class="mh-excerpt-more" href="http://codewander.com/makeover-monday-2020-week-3/" title="Makeover Monday 2020 Week 3">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-2020-week-3/">Makeover Monday 2020 Week 3</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>This blog is my analysis and thought process on how I arrived at the Makeover Monday visualization on week three of year 2020. The visualization is about the <a rel="noreferrer noopener" aria-label="excess sugar consumption (opens in a new tab)" href="https://www.bbc.com/news/health-48499195" target="_blank">excess sugar consumption</a> that was published in BBC. The chart we will makeover this week is below. </p>



<figure class="wp-block-image"><img src="https://ichef.bbci.co.uk/news/624/cpsprodpb/D3A6/production/_107228145_teen_sugar_640-nc.png" alt=""/><figcaption>from <a href="https://www.bbc.com/news/health-48499195" target="_blank" rel="noreferrer noopener" aria-label="bbc.com (opens in a new tab)">bbc.com</a></figcaption></figure>



<h2>Objective of Makeover Monday 2020 Week 3</h2>



<ol><li>What works and what doesn&#8217;t work with this chart?</li><li>How can you make it better? </li></ol>



<h2>Analysis</h2>



<p>My analysis is not about how much more information we could extract out of the data set but how much information is need to support or supplement the article. </p>



<h3>What works with this chart?</h3>



<p>The article talks about sugar consumption against the recommended amount. The chart does a good job in highlighting the recommended range and it quickly lets the reader know how much the sugar consumption is above the recommended range for different age groups.</p>



<h3>What does not work with this chart?</h3>



<p> In the chart there are three age groups that consume three times more sugar that the author mentions in the article. It takes some time to figure out the age groups that the author is referring to in the article.</p>



<h3>How can we make it better?</h3>



<h4>Highlight the group/ category (children) in the chart</h4>



<p>The chart presents the sugar consumed as percentage of total calories by age groups. The article explains that the kids consume three times more sugar than the recommended 5% of total calories. However the visualization does not highlight the age groups that are in discussion. </p>



<p>We can highlight the age group that the article focuses so that the readers can easily grasp the age groups. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-01.jpg" alt="Sugar Consumption of Different Age groups - Makeover Monday 2020 week 03" class="wp-image-984" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-01.jpg 637w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-01-300x116.jpg 300w" sizes="(max-width: 637px) 100vw, 637px" /></figure>



<h4>Show the trend of Children Category</h4>



<p>The article also states that the overall goal is to reduce child obesity</p>



<blockquote class="wp-block-quote"><p> Why? There is a recognition that bold moves are needed if the ambition to halve the child obesity rate by 2030 is to be achieved. </p><cite>Source: <a href="https://www.bbc.com/news/health-48499195" target="_blank" rel="noreferrer noopener" aria-label=" Is it time to treat sugar like smoking?  (opens in a new tab)"> Is it time to treat sugar like smoking? </a></cite></blockquote>



<p>So the article is about reducing child obesity though the dataset contains trend for adults as well. In order to stay relevant to the article content and to support the argument, I will add the trend for the children that will be highlighted in the first chart. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-02.jpg" alt="Trend of Children Age group" class="wp-image-985" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-02.jpg 640w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Makeover-Monday-2020-Week-03-Viz-02-300x104.jpg 300w" sizes="(max-width: 640px) 100vw, 640px" /></figure>



<h2>Makeover Monday 2020 Week 3 &#8211; Final Output</h2>



<p>So with these two charts we will have data that supports and supplements the content of the article and the emphasizes author&#8217;s point of view. The makeover is done using Tableau. The final output is as seen below.</p>



<p>You can also see the live dashboard in <a rel="noreferrer noopener" aria-label="Tableau Pubic (opens in a new tab)" href="https://public.tableau.com/views/MakeoverMonday2020Week03_15799877041870/AlarmingSugarConsumptionAmongChildren?:display_count=y&amp;:origin=viz_share_link" target="_blank">Tableau Pubic</a> .</p>



<p>Please share your feedback on the same.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Makeover-Monday-Full-view.png" alt="" class="wp-image-987" srcset="http://codewander.com/wp-content/uploads/2020/01/Makeover-Monday-Full-view.png 645w, http://codewander.com/wp-content/uploads/2020/01/Makeover-Monday-Full-view-262x300.png 262w" sizes="(max-width: 645px) 100vw, 645px" /></figure>
<p>The post <a rel="nofollow" href="http://codewander.com/makeover-monday-2020-week-3/">Makeover Monday 2020 Week 3</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/makeover-monday-2020-week-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Qlik sense scatter plot mulitple series</title>
		<link>http://codewander.com/qlik-sense-scatter-plot-multiple-series/</link>
				<comments>http://codewander.com/qlik-sense-scatter-plot-multiple-series/#respond</comments>
				<pubDate>Fri, 24 Jan 2020 01:29:25 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Qlik sense]]></category>
		<category><![CDATA[Qlik sense Tips]]></category>
		<category><![CDATA[qlik]]></category>
		<category><![CDATA[Qlik sense tips]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=950</guid>
				<description><![CDATA[<p>This blog explains how to plot two series of data in built-in XY or scatter chart of Qlik sense. Well, technically it will be a <a class="mh-excerpt-more" href="http://codewander.com/qlik-sense-scatter-plot-multiple-series/" title="Qlik sense scatter plot mulitple series">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-scatter-plot-multiple-series/">Qlik sense scatter plot mulitple series</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>This blog explains how to plot two series of data in <a rel="noreferrer noopener" aria-label="built-in XY or scatter chart of Qlik sense (opens in a new tab)" href="https://data-flair.training/blogs/qlik-sense-scatter-plot/" target="_blank">built-in XY or scatter chart of Qlik sense</a>. Well, technically it will be a single  series i.e., it uses data a from a single column for X-axis and from another column for Y-axis. But we will use color by expression property to show it as two series to make more sense of the data. The built-in scatter plot requires a minimum of one dimension and two measures. Optionally, we can include one more measure to determine the size of the bubble. There is no option to include another series of data. In this blog we will see the following steps involved in the Qlik Sense &#8211; scatter plot multiple series.</p>



<ol><li>Set up data structure and property</li><li>Define Measures using Set Analysis</li><li>Highlight series using Color by Expression</li></ol>



<p>For demonstration purpose, let us take an example lab experiment that measures the indoor/ outdoor temperature and humidity of a place. There are two instance of the experiment and 10 observations made in each instance. We will plot the indoor temperature against the indoor humidity from the two experiment and the final result will look like below</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot.jpg" alt="" class="wp-image-956" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot.jpg 622w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-300x283.jpg 300w" sizes="(max-width: 622px) 100vw, 622px" /></figure>



<h2>Set up data structure and property</h2>



<p>We can use the <a href="https://www.youtube.com/watch?v=NprqnRWfveo" target="_blank" rel="noreferrer noopener" aria-label="manual entry feature of Qlik sense &quot;Add Data&quot; (opens in a new tab)">manual entry feature of Qlik sense &#8220;Add Data&#8221;</a> to create columns and actual data. The data looks like below. If you look at the data, the observation Id will be unique for each row and we will use that as the dimension. Now load the data, create a sheet and lets create the scatter plot.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-data-1024x515.jpg" alt="Data structure" class="wp-image-955" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-data-1024x515.jpg 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-data-300x151.jpg 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-data-768x386.jpg 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-data.jpg 1119w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Define Measures and Dimensions</h2>



<h3>Dimension</h3>



<p>Drag and drop the scatter plot and add Observation Id as the dimension. Its not necessary that this dimension always has to be unique but in our example, this is the unique field that lets us lot each every row as a data point. </p>



<h3>Measures</h3>



<p><strong>X-Axis:</strong> We will plot the indoor temperature in the X-Axis. Since there needs to be an aggregate value for the measure, we will use max() function. Since the observation id is unique we will get the actual value of each row</p>



<p><strong>Y-Axis:</strong> We will plot the indoor humidity in the Y-Axis.</p>



<p>At this point, the graph looks like below: all data points (observations) plotted  in a single color. </p>



<div class="wp-block-image"><figure class="alignleft is-resized"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-no-color-code-1.jpg" alt="Codewander-Qlik-sense-tips-Two-series-scatter-plot-no-color-code" class="wp-image-961" width="253" height="691"/></figure></div>



<figure class="wp-block-image is-resized"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-measures-dimensions.jpg" alt="Codewander-Qlik-sense-tips-Two-series-scatter-plot-measures-dimensions" class="wp-image-973" width="258" height="701" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-measures-dimensions.jpg 248w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-measures-dimensions-110x300.jpg 110w" sizes="(max-width: 258px) 100vw, 258px" /></figure>



<h2>Highlight Series Using Color By Expression</h2>



<p>Now in order to differentiate the experiment 1 and 2, we will use the <strong>&#8220;Color by Expression&#8221;</strong> under <strong>Appearance &gt; Colors and Legend</strong></p>



<p>We will use the Experiment field as below to differentiate each experiment series. And also, mark the expression as color code</p>



<pre class="wp-block-preformatted">=if (ExperiementId=1, 'red', 'blue')</pre>



<div class="wp-block-image"><figure class="aligncenter"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-with-color-code.jpg" alt="Codewander-Qlik-sense-tips-Two-series-scatter-plot-with-color-code" class="wp-image-962" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-with-color-code.jpg 249w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-with-color-code-178x300.jpg 178w" sizes="(max-width: 249px) 100vw, 249px" /></figure></div>



<p>Now the chart looks like below with the experiment 1 series in red and the experiment 2 series in blue. We can use this color code option to differentiate the data points into multiple series.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-1.jpg" alt="" class="wp-image-963" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-1.jpg 622w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Qlik-sense-tips-Two-series-scatter-plot-1-300x283.jpg 300w" sizes="(max-width: 622px) 100vw, 622px" /></figure>



<h2>Demo</h2>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_27811" width="678" height="381"  data-origwidth="678" data-origheight="381"  src="https://www.youtube.com/embed/Yis8zp_8YKw?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__" title="YouTube player"  allow="autoplay; encrypted-media" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>



<h2>Limitations</h2>



<p>Technically its still a single series that gets data getting data from one column for x-axis and another column for y-axis. It is not possible to plot data from different columns for each series. Thus in our example, we can not plot Outdoor data and indoor data in the same scatter plot. </p>



<p>Similar Tips: I have written another blog that explains <a href="http://www.codewander.com/qlik-sense-color-code-combo-chart-bar-conditionally/" target="_blank" rel="noreferrer noopener" aria-label="how to color code combo chart conditionally without changing the color of line (opens in a new tab)">how to color code combo chart conditionally without changing the color of line</a>. Please check it out.</p>



<p> </p>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-scatter-plot-multiple-series/">Qlik sense scatter plot mulitple series</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/qlik-sense-scatter-plot-multiple-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Implement What if Analysis in Power BI</title>
		<link>http://codewander.com/implement-what-if-analysis-in-power-bi/</link>
				<comments>http://codewander.com/implement-what-if-analysis-in-power-bi/#respond</comments>
				<pubDate>Sat, 18 Jan 2020 19:03:52 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Power BI]]></category>
		<category><![CDATA[What-if]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=926</guid>
				<description><![CDATA[<p>This blog is shows how to implement What if analysis in Power BI . I wrote a blog earlier on how to implement What if <a class="mh-excerpt-more" href="http://codewander.com/implement-what-if-analysis-in-power-bi/" title="Implement What if Analysis in Power BI">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/implement-what-if-analysis-in-power-bi/">Implement What if Analysis in Power BI</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>This blog is shows how to implement What if analysis in Power BI . I wrote a blog earlier on how to <a rel="noreferrer noopener" aria-label="implement What if Analysis in Qlik Sense using variables (opens in a new tab)" href="http://www.codewander.com/implement-what-if-analysis-in-qlik-sense/" target="_blank">implement What if Analysis in Qlik Sense using variables</a> . For the demonstration, I used the concept of creating Sine or Cos wave or Circle. I will show how to achieve the same in Power BI as well. </p>



<h2>The Observations</h2>



<p>I used 361 observations so that it is possible to plot circle. For this demo i uploaded a single column file with numbers from 0 to 360 into the table called Counter. But you can also create the table using generateSeries function.</p>



<h2>Implement What if Analysis in Power BI using variables</h2>



<p>In Power BI we have the concept called parameters that lets you give inputs to the dashboard. </p>



<h3>The Parameters</h3>



<p>Create following parameters using the New Parameter Option in the modelling tab. While adding the parameter, please check the option &#8220;Add Slicer to the Page&#8221;. This will add slicers that will help change parameters to the page. </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter.png" alt="" class="wp-image-929" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter.png 520w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter-300x66.png 300w" sizes="(max-width: 520px) 100vw, 520px" /></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter-Pop-up.jpg" alt="" class="wp-image-930" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter-Pop-up.jpg 452w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-New-Parameter-Pop-up-300x287.jpg 300w" sizes="(max-width: 452px) 100vw, 452px" /></figure>



<h4>Waves Parameters:</h4>



<table class="wp-block-table"><tbody><tr><td>Parameter</td><td>Reason</td></tr><tr><td>Shape</td><td>To switch between sine and cos waves</td></tr><tr><td>Wave Amplitude</td><td>Parameter that determines the height of the wave</td></tr><tr><td>Wave Frequency</td><td>Number of waves in a second</td></tr><tr><td>Seconds to Plot</td><td>Number of seconds to plot in the graph</td></tr></tbody></table>



<h4>Circle Parameters:</h4>



<table class="wp-block-table"><tbody><tr><td>Parameter</td><td>Description</td></tr><tr><td>Circle Center X</td><td>X co-ordinate of circle center</td></tr><tr><td>Circle Center Y</td><td>Y Co-ordinate of circle center</td></tr><tr><td>Circle Radius</td><td>Radius of the circle</td></tr></tbody></table>



<h3>Measures</h3>



<p>Create the following measures for the waves</p>



<pre class="wp-block-preformatted">WaveTimeCounter = 1/ (360 / 'Seconds to Plot'[Seconds to Plot Value])  </pre>



<pre class="wp-block-preformatted">Wave X = [WaveTimeCounter] * max(counter[Counter])  </pre>



<pre class="wp-block-preformatted">Wave Y = if ([Shape Value]=0,WaveAmplitude[WaveAmplitude Value]* Sin(2 * Pi() * WaveFrequency[WaveFrequency Value]* (counter[Wave X])),WaveAmplitude[WaveAmplitude Value]* COS(2 * Pi() * WaveFrequency[WaveFrequency Value]* (counter[Wave X]))) </pre>



<p><strong>Wave X</strong> is the measure used in X axis to plot waves. </p>



<p><strong>WaveTimeCounter</strong> will determine the incremental value for the time depending on the number of seconds we choose to plot so that we distribute the time equally across the 361  observations. Since we use the counter as the dimension, we use max(counter) to get the single value to use in measure as measure expects only the single value.</p>



<p><strong>Wave Y</strong> is the measure that determines whether to plot Sine or Cos wave depending on the value of the parameter &#8220;Shape&#8221;.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-If-Analysis-Measures-using-parameters.jpg" alt="Codewander-Power BI What if Analysis Measures using variables" class="wp-image-933"/></figure>



<h3>The Navigation</h3>



<p>As mentioned earlier, we will use XY/ scatter chart to plot x and y values. Unlike Qlik sense, Power BI does not provide a capability to dynamically change the title or axis ranges of chart axis. Neither does it provide the capability to change the display text of slicers dynamically. Because of this we use two pages, one for waves and the other for circle. Then we use bookmark and button to switch between two pages.</p>



<p>To enable the bookmark pane, got to the view menu on the ribbon and check the bookmark pane as shown in the image below.  The bookmark pane will appear and then you can go to the waves page and click &#8220;Add&#8221; in the bookmark pane and give it a name. Similarly you can do so for Circle Page also.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane.jpg" alt="Codewander-PowerBI Bookmark Pane Enabling" class="wp-image-934" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane.jpg 506w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane-300x65.jpg 300w" sizes="(max-width: 506px) 100vw, 506px" /></figure>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane-2.jpg" alt="Codewander- Power BI Bookmark Pane on the right" class="wp-image-935" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane-2.jpg 1006w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane-2-300x212.jpg 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Bookmark-pane-2-768x542.jpg 768w" sizes="(max-width: 1006px) 100vw, 1006px" /></figure>



<p>Now that we have created two pages with bookmarks, we create a button on each page. This button will have the action to go to the bookmark url. To insert button, go to Home menu on the top ribbon and click on Insert Button. When you select the button, in the visualization pane on the right, you will see the action section. Choose Type as bookmark and Bookmark as the other page.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Button-bookmark-action.jpg" alt="" class="wp-image-936" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Button-bookmark-action.jpg 181w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Button-bookmark-action-94x300.jpg 94w" sizes="(max-width: 181px) 100vw, 181px" /></figure>



<p>Now you will be able to switch between two pages by &#8220;Ctrl+click&#8221; on the buttons.</p>



<h2>The Graph</h2>



<p>We have to create two graphs, one in Waves page and the other in Circle page. As mentioned earlier in this blog, we will use SV/ Scatter chart to plot the x and y values with same size for all the bubbles. In order to show the change in the wave or circle based on the changes in the parameters, we will have fixed predefined values for the axis ranges. An example is shown below whereFor example, we set the axis for the y axis of wave graph to be  from -6 to +6. We have set the parameter range for amplitude to be a maximum of 5. So when we change the amplitude, we will be able to see the change in the height  of the wave easily. If the range is set to auto then the scale will adjust and the wave height will always be the height of the chart. </p>



<p>Now drag and drop the Wave X and Wave Y in the Wave Graph and Circle X and Circle Y in the circle graph.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-if-Analysis-Chart-XY-Values.png" alt="" class="wp-image-941" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-if-Analysis-Chart-XY-Values.png 520w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-What-if-Analysis-Chart-XY-Values-250x300.png 250w" sizes="(max-width: 520px) 100vw, 520px" /></figure>



<h3>Changing the title of the wave chart</h3>



<p>Since its not possible to change the title of the chart dynamically, we will have a workaround to achieve it. this is done by referring to the blog <a rel="noreferrer noopener" aria-label="Dynamic Chart Titles in Power BI (opens in a new tab)" href="https://blog.crossjoin.co.uk/2016/04/25/dynamic-chart-titles-in-power-bi/" target="_blank">Dynamic Chart Titles in Power BI</a>.</p>



<ol><li>Create a measure called Wave Chart Title and use the Shape parameter to change its value as below.</li></ol>



<pre class="wp-block-preformatted">Wave Chart Title = if ([Shape Value]=0 , " Sine Wave " , " Cos Wave "</pre>



<p>2. Create a KPI visualization and place it on top of the chart and drop the Wave Chart Title in the field section of the visualization</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Dynamic-Chart-Titles-1024x454.png" alt="" class="wp-image-942" srcset="http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Dynamic-Chart-Titles-1024x454.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Dynamic-Chart-Titles-300x133.png 300w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Dynamic-Chart-Titles-768x340.png 768w, http://codewander.com/wp-content/uploads/2020/01/Codewander-Power-BI-Dynamic-Chart-Titles.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>The Final Output</h2>



<p>That&#8217;s it! We have implemented a What-if Analysis in Power BI using parameters. The final output is a two page dashboard with parameters on the left and button on top right to switch between the Wave page and the Circle page. Then we have the chart title and chart that occupies the remaining of the screen. We wil then apply some formatting for individual components which is better in Power BI compared to Qlik Sense. </p>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_93184" width="678" height="381"  data-origwidth="678" data-origheight="381"  src="https://www.youtube.com/embed/9xoKSqb2SiU?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__" title="YouTube player"  allow="autoplay; encrypted-media" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
<p>The post <a rel="nofollow" href="http://codewander.com/implement-what-if-analysis-in-power-bi/">Implement What if Analysis in Power BI</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/implement-what-if-analysis-in-power-bi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Implement What-If Analysis in Qlik Sense</title>
		<link>http://codewander.com/implement-what-if-analysis-in-qlik-sense/</link>
				<comments>http://codewander.com/implement-what-if-analysis-in-qlik-sense/#respond</comments>
				<pubDate>Mon, 06 Jan 2020 06:31:49 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Qlik sense]]></category>
		<category><![CDATA[Qlik sense Tips]]></category>
		<category><![CDATA[business intelligence]]></category>
		<category><![CDATA[Qlik sense tips]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=903</guid>
				<description><![CDATA[<p>This blog explains how we can implement What If Analysis in qlik sense. What-If analysis is an important part of any analytics project. It is <a class="mh-excerpt-more" href="http://codewander.com/implement-what-if-analysis-in-qlik-sense/" title="Implement What-If Analysis in Qlik Sense">[...]</a></p>
<p>The post <a rel="nofollow" href="http://codewander.com/implement-what-if-analysis-in-qlik-sense/">Implement What-If Analysis in Qlik Sense</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>This blog explains how we can implement What If Analysis in qlik sense. What-If analysis is an important part of any analytics project. It is used to better plan for the future. It is also called as scenario planning or simulation. It is easy to create a What-If Analysis future and it does not need any work to be done in the data model. In this blog, we will see how we can implement a What-if feature that has multiple parameters.</p>



<h3>Basis of What-if Analysis</h3>



<p>The basis of this What-If analysis is a formula or an equation. We will have a formula written using the parameters. Then we let users change the parameters and see the outcome of the equation.  </p>



<h4>Drawing Sine, Cosine Waves and Circle</h4>



<p>In this blog we will see how based on the parameters we set the graph changes the type of wave/ shape and its characteristics. This is an inspiration from <a href="https://www.youtube.com/watch?v=5BZyw3MVWwU" target="_blank" rel="noreferrer noopener" aria-label="this video to create sine wave in excel (opens in a new tab)">this video to create sine wave in excel</a></p>



<p>The latest working app can be found below<br> <a style="background-color: #81d742; padding: 14px; color: white; display: inline-block; text-align: center; text-decoration: none;" rel="noreferrer noopener" href="http://www.codewander.com/download/?download_link=https://github.com/CodeAtRoost/Qlik-Sense-What-If-Analysis-Demo&amp;download_title=CodeWander%20Qlik%20Sense%20What-If-Analysis-%20GitHub" target="_blank">Download CodeWander Qlik Sense What if Analysis</a></p>



<p>For Wave, we will be able to set the following characteristics</p>



<ol><li>Frequency</li><li>Amplitude</li><li>Number of Seconds to Plot</li></ol>



<p>For circle, we will be able to set the following parameters</p>



<ol><li>Center</li><li>Radius</li></ol>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-sense-What-If-Analysis.gif" alt="Qlik-sense-What-If-Analysis" class="wp-image-915"/></figure>



<h3>Implement What-If Analysis in Qlik Sense</h3>



<p>In Qlik Sense, we implement What-If Analysis using the variables and Variable Input component that is part of the Qlik Dashboard bundles that is shipped along with Qlik Sense. Variable is such a powerful feature of Qlik Sense that provides lot of application wide dynamic capabilities and alter the behavior of the application. I have already written two other <a rel="noreferrer noopener" aria-label="Qlik Sense Tips (opens in a new tab)" href="http://www.codewander.com/category/qlik-sense/qlik-sense-tips/" target="_blank">Qlik Sense Tips</a> using variables namely, <a rel="noreferrer noopener" aria-label="Cyclic Dimensions (opens in a new tab)" href="http://www.codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/" target="_blank">Cyclic Dimensions</a> and <a rel="noreferrer noopener" aria-label="Standard RAG Colors (opens in a new tab)" href="http://www.codewander.com/qlik-sense-tips-standard-red-green-amber-colors-using-segment-colors-and-variables/" target="_blank">Standard RAG Colors</a>. </p>



<p>The picture below shows the list of variables we used . They are self-explanatory.  </p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-Sense-What-IF-Analysis-Variables.png" alt="Qlik-sense-What-If-Analysis-Variables" class="wp-image-909" srcset="http://codewander.com/wp-content/uploads/2020/01/Qlik-Sense-What-IF-Analysis-Variables.png 643w, http://codewander.com/wp-content/uploads/2020/01/Qlik-Sense-What-IF-Analysis-Variables-300x280.png 300w" sizes="(max-width: 643px) 100vw, 643px" /></figure>



<h3>Interactions</h3>



<h4>Switch between shapes</h4>



<p>In order to switch between shapes we use the variable input component as button group and use a variable to store the current shape.</p>



<p>Variable used: vShape</p>



<h4>Change the shape parameters</h4>



<p>We use the slider input variable components to change the parameters of the shapes. We re-use the components between the waves (Sine and Cos) and the circle.  You would have noticed that in the variables image above the circle variables are mapped to the wave variables. This is to re-use the components while making the formula more readable as you will see later in the blog.</p>



<table class="wp-block-table is-style-regular"><tbody><tr><td>Component</td><td>Wave</td><td>Circle</td></tr><tr><td>1</td><td>Frequency</td><td>Circle Center X</td></tr><tr><td>2</td><td>Amplitude</td><td>Circle Center Y </td></tr><tr><td>3</td><td>Number of Seconds</td><td>Radius</td></tr></tbody></table>



<p> So, based on the current shape the title and the min/ max values of the slider components change. The below image shows how we implemented it for the first component. We use the same approach for all the components.</p>



<p><strong><em>Title</em></strong></p>



<pre class="wp-block-code">

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">=if (vShape='Circle', 'Circle Center X','Frequency')</div></div>

</pre>



<p><strong><em>Min/ Max</em></strong></p>



<pre class="wp-block-code">

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">Min<br />
=if (vShape='Circle', -9,1)<br />
<br />
Max<br />
=if (vShape='Circle', 9,5)</div></div>

</pre>



<p>With this we will be able to choose the shape to plot and also change the characteristics of the shape. Next we will see how to plot the shape in a graph.</p>



<h3>Draw the shapes</h3>



<p>We will use XY visualization to draw the shape.  Before we visualize we will have to arrive at the equations for  the shapes.</p>



<p>For the waves, the x-axis will be a time interval starting from zero. For this demonstration, i decided to choose 360 data points that i can use both for waves and the circle. I chose 360 because for circle i would use each 360 data points for the 360 degree but we can use more data points and all will be plotted in the same place for the circle. These data points are nothing but the count from 0 to 360.</p>



<h4><em><strong>Equations for Sine and Cos Waves</strong></em></h4>



<p>Following are the equations for Sine and Cos Waves</p>



<pre class="wp-block-preformatted">Sine wave: Amplitude * Sin ( 2 * pi * Frequency * Time Interval)</pre>



<pre class="wp-block-preformatted">Cos wave: Amplitude * Cos (2 * pi * Frequency * Time Interval)</pre>



<p>These equations are simpler ones that does not have phase shift and offset. </p>



<p>Now we have to figure out how we will increment Time Interval in the above equation so that we get a meaningful  wave. The time interval has to be in such a way that we plot all the 360 points and cover the number of waves  in a given time. Remember, that one of the parameters is the number of seconds to plot. So to compute the interval, we have the WaveTime variable. This variable is determined by the following formula</p>



<pre class="wp-block-code">

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">WaveTime = 1/ (WavePoints/Number of Seconds)</div></div>

</pre>



<p>To keep it simple, following are the X and Y axis equations for the shapes and these equations are created using the variables that we defined earlier.</p>



<p><strong><em>Sine Wave</em></strong></p>



<pre class="wp-block-preformatted">X-Axis:  Counter * WaveTime  </pre>



<pre class="wp-block-preformatted">Y-Axis:  Wave1Amplitude  * Sin( 2<em>Pi()</em> Wave1Frequency * Counter*WaveTime </pre>



<p><strong><em>Cos Wave</em></strong></p>



<pre class="wp-block-preformatted">X-Axis:  Counter * WaveTime </pre>



<pre class="wp-block-preformatted">Y-Axis:  Wave1Amplitude  * Cos( 2<em>Pi()</em> Wave1Frequency * Counter*WaveTime </pre>



<p><strong><em>Circle</em></strong>: </p>



<pre class="wp-block-preformatted">X-Axis: Circle1Center_X + Circle1Radius*Cos(Counter)</pre>



<pre class="wp-block-preformatted">Y-Axis: Circle1Center_X + Circle1Radius*Sin(Counter)</pre>



<p>Now we combine all these equations and write the X axis and Y-Axis formula for the visualization. We can use either IF ELSE or  PICK MATCH as shown below.</p>



<pre class="wp-block-preformatted"><strong><em>X Axis
</em></strong>=if (vShape =  'Circle',Circle1Center_X + Circle1Radius*Cos(Counter), Counter * WaveTime)

<strong><em>Y Axis
</em></strong>=   Pick( match(vShape, 'Sine','Cos','Circle'),
 Wave1Amplitude  * Sin( 2<em>Pi()</em> Wave1Frequency * Counter*WaveTime ),
   Wave1Amplitude  * Cos( 2<em>Pi()</em> Wave1Frequency * Counter<em>WaveTime ),     Circle1Center_Y + Circle1Radius</em>Sin(Counter))</pre>



<h4>Changing the Range of X and Y Axis</h4>



<p>Earlier in this blog article, we saw that we changed the Min and Max values of the slide based on the shape. So in order to accommodate the same, we have to change the range of the X and Y axis of the chart too. It is achieved using the below formula.</p>



<p>Under Appearance/ Range, Choose custom and Min/Max and write the below formula</p>



<pre class="wp-block-preformatted"><strong><em>Min</em></strong>
=if(vShape='Circle',-10,-.1)

<strong><em>Max</em></strong>
=if (vShape='Circle',10,WaveSecondsToPlot+1)</pre>



<h3>Demo</h3>



<figure class="wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe  id="_ytid_25735" width="678" height="381"  data-origwidth="678" data-origheight="381"  src="https://www.youtube.com/embed/-8WviQm03Vo?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;iv_load_policy=1&#038;loop=0&#038;modestbranding=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;" class="__youtube_prefs__" title="YouTube player"  allow="autoplay; encrypted-media" allowfullscreen data-no-lazy="1" data-skipgform_ajax_framebjll=""></iframe>
</div></figure>
<p>The post <a rel="nofollow" href="http://codewander.com/implement-what-if-analysis-in-qlik-sense/">Implement What-If Analysis in Qlik Sense</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/implement-what-if-analysis-in-qlik-sense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Qlik Sense Tips to Create a quick Cyclic Dimension</title>
		<link>http://codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/</link>
				<comments>http://codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/#respond</comments>
				<pubDate>Thu, 02 Jan 2020 04:11:15 +0000</pubDate>
		<dc:creator><![CDATA[codeatroost]]></dc:creator>
				<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Qlik sense]]></category>
		<category><![CDATA[Qlik sense Tips]]></category>
		<category><![CDATA[Qlik sense tips]]></category>

		<guid isPermaLink="false">http://www.codewander.com/?p=895</guid>
				<description><![CDATA[<p>This blog is about the qlik sense tips to create a quick cyclic dimension. But my sincere hope is that qlik will introduce cyclic dimension to qlik sense also.</p>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/">Qlik Sense Tips to Create a quick Cyclic Dimension</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></description>
								<content:encoded><![CDATA[
<p>Qlik view had a powerful feature that lets you change the view of the dashboard in one click. Its the well known <a rel="noreferrer noopener" aria-label="cyclic dimension (opens in a new tab)" href="https://www.youtube.com/watch?v=J6Yj92qDreE" target="_blank">cyclic dimension</a>. It lets user choose a different dimension to analyze and the entire dashboard will change to reflect the chosen dimension. This blog is about the qlik sense tips to create a quick cyclic dimension. But my sincere hope is that qlik will introduce cyclic dimension to qlik sense also.</p>



<h3>Why Cyclic Dimension?</h3>



<p>Imagine a scenario where your analysis is the same but the dimension that you analyze change. So instead of creating a new copy of the sheet you can reuse the sheet but change the dimensions of the charts in a single click.</p>



<h3>Why not Alternate Dimension?</h3>



<p>Alternate Dimension is the feature of Qlik Sense that comes closer to cyclic dimension. However, it does not give the advantage that cyclic dimensoin provides i.e. change the entire dashboard view. </p>



<h3>How to enable a quick cyclic dimension? </h3>



<p>Two main features that we will use </p>



<ol><li>Vairabe input component from Qlik Dashboard Bundle</li><li>Variable</li></ol>



<p>In this blog lets take the <a rel="noreferrer noopener" aria-label="Odoo - Point of Sale (opens in a new tab)" href="http://www.codewander.com/odoo-point-of-sale-dashboard-power-bi-vs-qlik-sense/" target="_blank">Odoo &#8211; Point of Sale</a> qlik sense dashboard that I created as part of the <a rel="noreferrer noopener" aria-label="Odoo Power BI Qlik sense with Talend (opens in a new tab)" href="http://www.codewander.com/odoo-dashboard-in-qlik-sense-and-power-bi-with-talend/" target="_blank">Odoo Power BI Qlik sense with Talend</a> series. This dashboard has a single sheet that looks like below.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-sense-Odoo-Point-of-Sale-1024x509.png" alt="Odoo Point of Sale using Qlik Sense" class="wp-image-896" srcset="http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-Odoo-Point-of-Sale-1024x509.png 1024w, http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-Odoo-Point-of-Sale-300x149.png 300w, http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-Odoo-Point-of-Sale-768x381.png 768w, http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-Odoo-Point-of-Sale.png 1361w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The dashboard is very simple showing Sales metrics on the top and the following charts</p>



<ol><li>Performance by hour of the day</li><li>Pie Chart &#8211; Sales share by product category</li><li>XY Chart &#8211; Performance by Products</li></ol>



<p>For the demonstration purpose, lets say that we want the entire dashboard to be shown either by category or product. We want to introduce a second dimension in the performance by hour of the day which can either be product or category. Lets see the steps in achieving it.</p>



<h4>Step 1: Create a variable</h4>



<p>The first step is to create a new variable. In this example, I created a new variable called vView and assigned a value. The value must be the field that we want to use as the default dimension. Here I chose products field as my default dimension.</p>



<figure class="wp-block-image"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-creation.jpg" alt="Qlik sense cyclic dimension - Variable Creation" class="wp-image-897" srcset="http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-creation.jpg 647w, http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-creation-300x282.jpg 300w" sizes="(max-width: 647px) 100vw, 647px" /></figure>



<h4>Step 2: Create a Variable Input Component</h4>



<p>Drag and drop the variable input component and key in all the categories we want as part of the cyclic dimensions. I chose buttons with dynamic values as it gives option to choose a value and label. This will give a good tab like appearance with user friendly names.</p>



<p>In the dynamic values formula enter the following values to accomodate the product and category field names</p>



<pre class="wp-block-code">

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">='products.product_name~Product|products.product_category_name~Category'</div></div>

</pre>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-Input-Component-Configuration.jpg" alt="" class="wp-image-898" width="193" height="444" srcset="http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-Input-Component-Configuration.jpg 246w, http://codewander.com/wp-content/uploads/2020/01/Qlik-sense-tips-cyclic-dimension-variable-Input-Component-Configuration-131x300.jpg 131w" sizes="(max-width: 193px) 100vw, 193px" /></figure></div>



<h4>Step 3: Replace the dimensions of the charts with variable name</h4>



<p>We have created two basic blocks, namely the variable and the variable input component that will help us in changing the variable name. Now, we will use these variables in the charts that we want to change dynamically.</p>



<p>The dimension that i will use is as follows</p>



<pre class="wp-block-code">

<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">=$(vView)</div></div>

</pre>



<p>I made the following changes</p>



<ol><li>Introduced a new dimension for the bar chart</li><li>Replaced the existing category dimension of pie chart</li><li>Replaced the existing product dimension of the XY Chart</li></ol>



<p>Now the entire dashboard looks like below</p>



<div class="wp-block-image"><figure class="aligncenter"><img src="http://www.codewander.com/wp-content/uploads/2020/01/Qlik-sense-cyclic-dimension.gif" alt="Qlik sense cyclic dimension using variables and variable input component" class="wp-image-899"/></figure></div>



<pre class="wp-block-preformatted">Limitations: You cannot use this to cycle between two master dimensions. However you can create a master dimension using a variable and make the master dimension itself a cyclic dimension.</pre>
<p>The post <a rel="nofollow" href="http://codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/">Qlik Sense Tips to Create a quick Cyclic Dimension</a> appeared first on <a rel="nofollow" href="http://codewander.com">CodeWander</a>.</p>
]]></content:encoded>
							<wfw:commentRss>http://codewander.com/qlik-sense-tips-to-create-a-quick-cyclic-dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
