<?xml version="1.0" encoding="utf-8"?> 
<rss version="2.0">

<channel>

<title>LEFT JOIN: blog on analytics, visualisation &amp; data science, posts tagged: BI-tools</title>
<link>https://en.leftjoin.ru/tags/bi-tools/</link>
<description></description>
<generator>E2 (v3386; Aegea)</generator>

<item>
<title>SAP Analytics Cloud Dashboard Overview</title>
<guid isPermaLink="false">63</guid>
<link>https://en.leftjoin.ru/all/sap-analytics-cloud-dashboard-overview/</link>
<comments>https://en.leftjoin.ru/all/sap-analytics-cloud-dashboard-overview/</comments>
<description>
&lt;p&gt;Our last guide on BI tools was dedicated to &lt;a href="https://en.leftjoin.ru/all/qliksense-dashboard-overview/"&gt;QlikSense&lt;/a&gt; and today we will have a look at SAP Analytics Cloud. The dashboard has been prepared for us by the head BI consultant at SAPRUN &lt;a href="https://t.me/avsalynin"&gt;Alexey Salynin&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In this overview, we will touch the following topics: creating a new data source in SAP, adding filters, making a Tree map,&lt;br /&gt;
setting up a preview on mobile devices, working with the Smart Insight assistant, multi language feature.&lt;/p&gt;
&lt;p&gt;This dashboard has the same structure as our previous dashboards. At the top, we can see the KPI cards and a date filter. Below there is a heatmap that shows top provinces and a chart that shows profit dynamics on the right. In the second part, we can see the products and customers analysis.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-47-44.png" width="1911" height="855" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Creating a new data source in SAP&lt;/h2&gt;
&lt;p&gt;To add a data source in SAP, we can either work with models or datasets. Models allow us to work with several data sources at the same time and carry out planning in order to solve complex problems. In our case, it’s a simple Excel file, so we used a normal dataset. As we have chosen only the orders sheet. Here is how the dataset looks:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-17-175652.png" width="1447" height="751" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Some of the columns were created, such as products hierarchy, geo hierarchy and some additional calculations.&lt;/p&gt;
&lt;h2&gt;Adding a filter&lt;/h2&gt;
&lt;p&gt;There are a number of ways to add a filter starting from default filtration methods to input fields to a timeline. If you click the edit button, you can see the filter format.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="532" data-ratio="2.4403669724771"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-48-14.png" width="532" height="218" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-48-32.png" width="500" height="342" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;A tree map shows the top provinces by sales. Each province contains information on variation similarly to the KPI cards. The map allows filtering by provinces.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/Picture3-1.png" width="624" height="336" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;On the right of the tree map there is a profit dynamics chart. The chart has a dynamic axis which allows choosing the time period in time series charts. Time series graphs in SAP can show a forecast. The forecast is done automatically using built-in algorithms. In our case, triple exponential smoothing was chosen. When hovering over the forecasted point, we can see upper and lower confidence bounds.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/Picture4.png" width="624" height="300" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;In the next part of the dashboard we can see the products and customers analysis section.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-47-18.png" width="1833" height="652" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Here you can see that products are displayed in a list without any hierarchy. To activate the hierarchy we need to change the dimension properties and set the hierarchy.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/Picture5.png" width="624" height="277" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;By default, the first level is displayed. We can change the level and see the products by category. Moreover, the bars are filters for the table on the right.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="838" data-ratio="1.7944325481799"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-47-03.png" width="838" height="467" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-46-48.png" width="990" height="568" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Smart Insight&lt;/h2&gt;
&lt;p&gt;One of the interesting features in SAP is smart insight. SAP automatically analyses the value and builds charts to provide more insights. For example, if I want to see what contributed to high level of furniture sales, I can click on smart insights and see the following results:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_15-50-55.png" width="571" height="841" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The feature is very handy as the insights are not simple graphs, but they are connected to each other and show a story. The insights allow us to interact with the data and explore it deeper. We can later add these insights into our visualization. This feature can also be used on a new dataset and empty dashboard to explore the data without building anything.&lt;/p&gt;
&lt;p&gt;The whole dashboard was built in a responsive view mode so it will be automatically adapted to different screens. Some visualizations like tables are not adapted for the mobile screen, so we can hide them for mobile screens.&lt;/p&gt;
&lt;p&gt;We can save the dashboard in the catalog and add it to favourites. Unfortunately, the functionality of the system doesn’t allow posting dashboards on public sources. But we hope that with new releases the feature will appear.&lt;/p&gt;
&lt;p&gt;Last but not least, the dashboard has been created in Russian and when we needed to translate it into English SAP multi language feature came very handy. We can choose the target language and translate all the text. Then the dashboard will be displayed in a language based on the user’s location.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image_2021-05-17_14-49-02.png" width="1822" height="857" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;We have evaluated the dashboard together with Alexey (his scores in brackets) and received the following results:&lt;br /&gt;
Meets the tasks – 9.8 (10)&lt;br /&gt;
Learning curve  – 6.5 (7)&lt;br /&gt;
Tool functionality – 9.8 (9)&lt;br /&gt;
Ease of use – 8.2 (8)&lt;br /&gt;
Compliance with the layout – 9.3 (10)&lt;br /&gt;
Visual evaluation – 8.6 (9)&lt;/p&gt;
&lt;p&gt;Overall: 8.71 out of 10. Have a look at the final results:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/superstore_sales_sac_en@2x.png" width="956" height="1040" alt="" /&gt;
&lt;/div&gt;
</description>
<pubDate>Thu, 20 May 2021 10:18:45 +0300</pubDate>
</item>

<item>
<title>QlikSense Dashboard Overview</title>
<guid isPermaLink="false">61</guid>
<link>https://en.leftjoin.ru/all/qliksense-dashboard-overview/</link>
<comments>https://en.leftjoin.ru/all/qliksense-dashboard-overview/</comments>
<description>
&lt;p&gt;Our &lt;a href="https://en.leftjoin.ru/all/redash-dashboard-overview/"&gt;last overview&lt;/a&gt; on BI instruments was dedicated to Redash, but today we will deal with the dashboard in QlikSense using the SuperStore Sales dataset. The dashboard was built for us by &lt;a href="https://t.me/Solidus274"&gt;Alexey Grinenko&lt;/a&gt;, a head of BI section, Business Solutions Development Department at Softline.&lt;/p&gt;
&lt;h2&gt;Data Sources&lt;/h2&gt;
&lt;p&gt;To load data in QlikSense we need to use load scripts. This is how the script looks:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/loadscript@2x.jpg" width="640" height="583" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Basically, the script lists the columns that we need to import and the link to a file. [Calendar_Order] script makes a custom calendar as all our data is before 2012 and the default calendar creates measures such as *current month* or *previous month* which we don’t need.&lt;/p&gt;
&lt;h2&gt;Dashboard Structure&lt;/h2&gt;
&lt;p&gt;As you can see, the dashboard has the same structure as in Tableau with some peculiarities of QlikSense.&lt;/p&gt;
&lt;p&gt;At the top, there is a line with KPI cards. The cards compare KPI values in the chosen year with the values in the previous one and show the change in percentage. If the change is positive, the percentage is displayed in green, if the change is negative, values are red.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/photo_2021-05-07_16-04-59.jpg" width="1280" height="699" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Then you can see a treemap which shows provinces by profit. The color shows profit distribution in the provinces. As all charts in QlikSense, the treemap is clickable and we can choose several provinces and see only the data related to them. On the right of the treemap, you can see area graphs that show profits by month in 4 different years.&lt;/p&gt;
&lt;p&gt;At the top right corner of the dashboard, we have a drop down menu where we can choose a month and a year. As QlikSense doesn’t have this feature as default, we had to customly create such a calendar in a load script. First, we loaded the Month and the Year columns and created a third column where we concatenated Month and Year with a dash. This measure will later help us in switching the periods.&lt;/p&gt;
&lt;p&gt;In the next part of the dashboard, we can see the analysis of products and customers. On the right, there is a bar chart that shows profit and sales by categories. On the left, the bar chart displays the Top 15 products by profit. In the settings, we can change this number and display fewer products if we wish.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/photo_2021-05-07_16-05-12.jpg" width="1280" height="575" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Last but not least, we have a bubble chart which shows the distribution of customers by profit and sales. Each bubble represents a customer and the size of the bubble shows the number of orders. The color indicates the size of the discount.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/photo_2021-05-07_16-05-24.jpg" width="1280" height="651" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Conclusions&lt;/h2&gt;
&lt;p&gt;Together with Alexey (his scores are in brackets) we have evaluated the dashboard on 10 points scale (10 being the highest score) and received the following results:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;Meets the tasks – 10&lt;/li&gt;
&lt;li&gt;Learning curve  – 6.9 (8)&lt;/li&gt;
&lt;li&gt;Tool functionality – 9.0 (7)&lt;/li&gt;
&lt;li&gt;Ease of use – 7.3 (8)&lt;/li&gt;
&lt;li&gt;Compliance with the layout – 9.8 (9)&lt;/li&gt;
&lt;li&gt;Visual evaluation – 7.5 (10)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Overall: 8.4 out of 10.&lt;/p&gt;
</description>
<pubDate>Tue, 11 May 2021 15:28:04 +0300</pubDate>
</item>

<item>
<title>Redash Dashboard Overview</title>
<guid isPermaLink="false">60</guid>
<link>https://en.leftjoin.ru/all/redash-dashboard-overview/</link>
<comments>https://en.leftjoin.ru/all/redash-dashboard-overview/</comments>
<description>
&lt;p&gt;Redash is an open-source tool that is available in two versions: self-hosted and cloud. If you use the first one, Redash is free of charge, but for a cloud option you’ll have to pay. In both versions you can connect to a numerous amount of databases (including Clickhouse) or other sources like Google Sheets by API.&lt;/p&gt;
&lt;p&gt;Redash is a SQL query editor that allows building visualizations. To make a dashboard, we first need to run a SQL query and then build a visualization. After that, we can add the queries with their visualizations to the dashboard. The process makes data investigations easy and simple.&lt;/p&gt;
&lt;h2&gt;Data preparation&lt;/h2&gt;
&lt;p&gt;To start working with data we need to click settings and create a new data source.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-05-181541.png" width="1237" height="774" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;When working with Superstore dataset we could not directly connect a .xlsx file as redash works only with databases. Thus, we uploaded our .xlsx into a MySQL database.&lt;/p&gt;
&lt;h2&gt;Building reports and visualizations&lt;/h2&gt;
&lt;p&gt;In the beginning of the dashboard, you can see the filters. This is the only way to apply filters to a dashboard in Redash and to choose parameters like province interactively.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-193757.png" width="1920" height="903" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;First of all, we added KPI cards to the dashboard. The functionality of Redash is extremely limited in terms of visualizations, so the only way to build a KPI card was by using so-called counters. A counter is a type of visualization that allows displaying a current and a target value, however, in our case we used the previous year value instead of the target.&lt;/p&gt;
&lt;p&gt;For the KPI cards, we used the query below.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-195521.png" width="1431" height="648" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;It’s a simple query that returns the sum of the profit in current month and the sum of the profit in the previous one. In each query we need to define Year and Month and Province in the WHERE statement, so that all our visualizations are filtered based on the chosen year, month and province. The results are two numbers, curr and prev. Then we click on New Visualization, choose counter as a type and assign curr to the counter value and prev to the target value. We can also change format by adding a dollar sign prefix.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="1867" data-ratio="2.1608796296296"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-195956.png" width="1867" height="864" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-195719.png" width="1860" height="858" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In our previous reviews of BI-tools, we displayed all KPI cards in a single line. In Redash, however, the numbers were too small when displayed in a single line and unnecessary information like the query name and the last update time were cluttering the view. This is another disadvantage of Redash, so we had to make bigger cards and display them in two lines.&lt;/p&gt;
&lt;p&gt;To display top performing provinces we used word clouds. The query returned the sum of sales by provinces. Then the sum of sales was used as a frequency column to define the size of the province names.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-202308.png" width="1867" height="862" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;For Profit Dynamics visualization we used a simple line graph. The query below returned a table with total profits for each month as well as two additional columns that display profit in the current month and the previous one.&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code&gt;select date_format(orders.OrderDate, '%Y-%m-01') as month, sum(orders.Profit) as profit, curr.curr_profit, prev.prev_profit
from orders
left join (
    select date_format(OrderDate, '%Y-%m-01') as month, sum(Profit) as curr_profit
    from orders
    where MONTH(OrderDate)=MONTH('{{Year and Month}}') and YEAR(OrderDate)=YEAR('{{Year and Month}}')
        and ('{{Province}}'='0. All' or Province = '{{Province}}')
    group by 1
) curr on curr.month=date_format(orders.OrderDate, '%Y-%m-01')
left join (
    select date_format(OrderDate, '%Y-%m-01') as month, sum(Profit) as prev_profit
    from orders
    where MONTH(OrderDate)=MONTH('{{Year and Month}}') and YEAR(OrderDate)=YEAR('{{Year and Month}}')-1
        and ('{{Province}}'='0. All' or Province = '{{Province}}')
    group by 1
) prev on prev.month=date_format(orders.OrderDate, '%Y-%m-01')
where ('{{Province}}'='0. All' or Province = '{{Province}}')
group by 1,3,4
order by 1&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;We then used the a line graph to display the profit column and a scatter plot to display curr_profit and prev_profit columns as both of them had only one observation.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-203727.png" width="1867" height="865" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Profit and Sales by Category visualization shows a SQL query table that returns profits and sales by category and sub-category of products.&lt;/p&gt;
&lt;p&gt;Last but not least, we have pivot tables for top products and top customers by profit. Pivot tables in Redash allow grouping elements by using aggregate functions. In our case we grouped products by profit. I do not recommend using this feature for a large amount of data as if you change the aggregations on the fly in the browser, the browser might slow down and even crash.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-05-04-204757.png" width="1870" height="865" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Conclusions&lt;/h2&gt;
&lt;p&gt;You can find the final dashboard &lt;a href="http://redash.datamarathon.ru/public/dashboards/csdQnKTY5nkvByyFu9gE1DadUlCwyQBEOypaFIBj?org_slug=default&amp;p_Province=0.%20All&amp;p_Year%20and%20Month=2010-05-01"&gt;here&lt;/a&gt;.&lt;br /&gt;
Our team has evaluated the dashboard and the following scores on 1-10 scale 10 being the highest were given:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;Meets the tasks – 7.3&lt;/li&gt;
&lt;li&gt;Learning curve  – 7.5&lt;/li&gt;
&lt;li&gt;Tool functionality – 5.5&lt;/li&gt;
&lt;li&gt;Ease of use – 7.5&lt;/li&gt;
&lt;li&gt;Compliance with the layout – 6.0&lt;/li&gt;
&lt;li&gt;Visual evaluation – 5.2&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Overall: 6.5 out of 10.&lt;/p&gt;
</description>
<pubDate>Fri, 07 May 2021 13:24:27 +0300</pubDate>
</item>

<item>
<title>PowerBI Dashboard Overview</title>
<guid isPermaLink="false">58</guid>
<link>https://en.leftjoin.ru/all/powerbi-dashboard-overview/</link>
<comments>https://en.leftjoin.ru/all/powerbi-dashboard-overview/</comments>
<description>
&lt;p&gt;We continue the series of materials on BI-systems and today we will have a look at the dashboard prepared in PowerBI using the SuperStore Sales dataset. We will cover how to connect the data to the system, set custom colors for visualizations and create new measures, implement switching between charts using bookmarks and we will discuss the challenges that we faced when building the dashboard.&lt;/p&gt;
&lt;p&gt;This is the how the final dashboard looks like:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-04-28-163157.png" width="1219" height="672" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The most notable feature of the dashboard is data cards that show the company’s KPI. The cards compare the parameters to the same period in the previous year and show the previous year’s dynamics in the background.&lt;/p&gt;
&lt;p&gt;Below we can see the chart that shows top-performing provinces. The bluer the rectangle the more profitable the province, the more orange the rectangle the more losses the province sustains. The size of the rectangle corresponds to the quantity of sales. We can click on rectangles to see more detailed information about profits and sales dynamics in the region on the graph on the left and their KPI at the top. On the graph, there are green and blue points that indicate the month of the current year and the previous year respectively. Hovering over these points, you can see a trend line.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-04-28-163527.png" width="1222" height="664" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The next part of the dashboard shows product and customer analysis. This part allows us to answer questions such as “which products were the most profitable or unprofitable” or “which customers contributed to most of the profits or most of the losses”.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-04-28-163804.png" width="1219" height="690" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Data collection&lt;/h2&gt;
&lt;p&gt;To connect the data we used an Excel file. PowerBI offers a number of sources to connect your data from such as Excel, csv, json files and various databases.&lt;/p&gt;
&lt;h2&gt;Configuring reports and visualizations&lt;/h2&gt;
&lt;p&gt;When building a dashboard in PowerBI we wanted to copy the color themes from Tableau. To do this, we have created a JSON file with the list of colors that we want to use. You can see the content of our file below. Then in the views tab, we clicked on the “browse for themes” button and uploaded our colors.&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code&gt;{
	&amp;quot;name&amp;quot;:&amp;quot;Orange-Blue Diverging&amp;quot;,
	&amp;quot;dataColors&amp;quot;: [
		
		&amp;quot;#1c5998&amp;quot;,
		&amp;quot;#1c73b1&amp;quot;,
		&amp;quot;#3a87b7&amp;quot;,
		&amp;quot;#67add4&amp;quot;,
		&amp;quot;#7bc8e2&amp;quot;,
		&amp;quot;#cacaca&amp;quot;,
		&amp;quot;#fdab67&amp;quot;,
		&amp;quot;#fd8938&amp;quot;,
		&amp;quot;#f06511&amp;quot;,
		&amp;quot;#d74401&amp;quot;,
		&amp;quot;#a33202&amp;quot;,
		&amp;quot;#7b3014&amp;quot;,
		&amp;quot;#F07C28&amp;quot;,
		&amp;quot;#2B5C8A&amp;quot;,
		&amp;quot;#94C6E1&amp;quot;,
		&amp;quot;#87d180&amp;quot;,
	]
}&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then we have created a separate table called Calendar and populated it with all order dates. After that, we created a column with just a month and a year to create a filter based on it.&lt;/p&gt;
&lt;h2&gt;Creating necessary measures&lt;/h2&gt;
&lt;p&gt;When creating a dashboard with PowerBI we often need to create new measures. For the data cards, we created such measures as Total Profit, Total Sales, Total Orders, Total Clients and so on. The arrows that you can see in the data cards are also customized and a measure was created for each of them. To apply the color to arrows we formatted the color by rules and indicated red if the value is less than 0, green if the color is more than 0.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/--2021-04-28-172058.png" width="1348" height="928" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Adding bookmarks to switch between charts&lt;/h2&gt;
&lt;p&gt;To switch between charts, we added bookmarks for sales and profits. For the sales chart, the profits bookmark is hidden and vice versa. The button was downloaded from the internet and added to the respective bookmarks.&lt;/p&gt;
&lt;h2&gt;Interesting features and challenges we faced when building the dashboard&lt;/h2&gt;
&lt;p&gt;We have created custom data cards for KPI which are different from the default ones offered by PowerBI. The original features of cards include the background trend, the name and value while the arrows and changes are a custom feature. Another interesting feature that we used is cross filtration which allowed us to apply the filter to both the profits/sales chart and KPI cards.&lt;/p&gt;
&lt;p&gt;One of the challenges that we have faced was the inability to build a bar chart with 2 categories. This feature was not implemented in PowerBI at the moment of writing this overview (maybe it is implemented now), so we had to create a table and add bar charts into it. Similarly, we inserted bar charts into the Top Customers table.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;Our team has evaluated the dashboard and has given the following scores from 1-10 scale (10 being the highest) to this dashboard:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;Meets the tasks – 9.8&lt;/li&gt;
&lt;li&gt;Learning curve  – 3.0&lt;/li&gt;
&lt;li&gt;Tool functionality – 9.5&lt;/li&gt;
&lt;li&gt;Ease of use – 7.5&lt;/li&gt;
&lt;li&gt;Compliance with the layout – 9.5&lt;/li&gt;
&lt;li&gt;Visual evaluation – 8.8&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Overall: 8.0 out of 10. Have a look at the final dashboard &lt;a href="https://app.powerbi.com/view?r=eyJrIjoiYmQ0NGY5ZjctZTQzMy00NmVkLWJlYTItNDU1ODlhOGY0ODQ0IiwidCI6ImJmZjcxOTk4LWM0NDQtNGQ2ZS05OGU1LTRiNDZkMTA0Yzc5ZiIsImMiOjJ9"&gt;here&lt;/a&gt;.&lt;/p&gt;
</description>
<pubDate>Wed, 05 May 2021 18:38:05 +0300</pubDate>
</item>

<item>
<title>Comparing Tableau and PowerBI training programs</title>
<guid isPermaLink="false">56</guid>
<link>https://en.leftjoin.ru/all/comparing-tableau-and-powerbi-training-programs/</link>
<comments>https://en.leftjoin.ru/all/comparing-tableau-and-powerbi-training-programs/</comments>
<description>
&lt;p&gt;This year I succeeded in becoming a Tableau Desktop Certified Associate. When I was thinking about how to prepare for the exam, I came across &lt;a href="https://www.tableau.com/learn/training/elearning"&gt;e-learning&lt;/a&gt; courses from Tableau that turned out to be free for 90 days.&lt;/p&gt;
&lt;p&gt;I decided not to waste such an opportunity and complete all the 3 modules in Fundamentals at a fast pace. When I got certified, I was wondering which programs are offered by other producers of BI tools. First things first, I decided to study training materials on PowerBI. In this small article, I would like to compare Tableau and PowerBI training programs.&lt;/p&gt;
&lt;p class="note"&gt;Disclaimer: in the end, I have formed an unfairly prejudiced and positive attitude towards Tableau, so PowerBI supporters may not like this article and find it biased (in all fairness, there are also words of praise for PowerBI).&lt;/p&gt;
&lt;p&gt;After having studied the training materials, I can finally state the reasons why I am definitely in favor of Tableau as a tool for data analysis and visualization.&lt;/p&gt;
&lt;p&gt;First of all, there is a huge gap in the approach to materials and the assessment of their understanding. Although Tableau training materials are more technical and pay less attention to design, by studying through their videos you can do excellent visualization. After completing all three steps of Tableau training, a strong desire to create new stunning reports with the use of LOD Expressions, Filter Actions, and make convenient interfaces arises. However, after watching all the materials on Power BI the only question that remains is why did I waste my time?&lt;/p&gt;
&lt;p&gt;Emotions aside, there are several key points that turned out to be important after having studied the material.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/1-18-1.png" width="1265" height="654" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;This is a good dashboard according to Microsoft&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;The quality of content and training examples&lt;/h2&gt;
&lt;p&gt;If you consider the way training videos are presented in Tableau and the questions in a quiz format that are posed at the end of the covered material, you start understanding the idea of the software. But in the case of Power BI, you will be totally disappointed. Have a look for instance at &lt;a href="https://docs.microsoft.com/en-us/learn/modules/perform-analytics-power-bi/3-visuals"&gt;the material for identifying outliers&lt;/a&gt;, here Microsoft suggests building a scatter plot and visually identifying all the outliers.&lt;/p&gt;
&lt;h2&gt;Design of reports and dashboards&lt;/h2&gt;
&lt;p&gt;There is some objective criticism towards Tableau training materials on the topic of graph design and control elements, but they are still neatly and beautifully made. Now have a look at the &lt;a href="https://docs.microsoft.com/en-us/learn/modules/visuals-in-power-bi/12-formatting"&gt;dreadful thing&lt;/a&gt; that Microsoft suggests as the result of the analyst’s work. And this is a &lt;a href="https://docs.microsoft.com/en-us/learn/modules/create-dashboards-power-bi/1-introduction"&gt;well-built dashboard&lt;/a&gt; according to Microsoft.&lt;/p&gt;
&lt;h2&gt;Assessment of the knowledge gained during the training&lt;/h2&gt;
&lt;p&gt;During the training at Tableau, immediately after a small lecture, you learn by applying the part of the studied material in practice. You need to click certain buttons in the interface to solve a problem. Power BI offers “labs” that are supposed to be launched from a remote machine. I didn’t manage to start a single lab; I wrote to the support 3 times and the support couldn’t solve my problem so I didn’t manage to experiment over the PowerBI tasks.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/3-16-1.png" width="1279" height="654" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;The results of the analyst’s work according to Microsoft.&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Other points are mostly related to the software rather than the training program.&lt;/p&gt;
&lt;h2&gt;Cross-platform support&lt;/h2&gt;
&lt;p&gt;I have been working with Tableau for a long time and 4 years ago I switched to Mac. After the transition from Windows, my experience of using Tableau did not change. In fact, Tableau was developing and I was developing with it, but the team did not change the key elements of the interface. I have been experimenting with building reports in PowerBI, but I was uncomfortable with different Microsoft archaisms like publications through some share-portal where you need to have an MS account and configure something through the administrator. All of this was a terrible headache.&lt;/p&gt;
&lt;p&gt;However, what struck me so much was that I could not use PowerBI on a Mac. There is absolutely no way and this is a principled stance of Microsoft which is not expected to change in the future. From my point of view, such software belongs to a B2B segment in the field of analytics, assumes the connection to all kinds of DBMS, but denies the existence of an alternative operating system which could be used by a number of potential consultants that could use and promote PowerBI as an analytical tool.&lt;/p&gt;
&lt;p&gt;Most certainly, there are some rational reasons why any software from Microsoft doesn’t work very well on Mac, but the simple truth is that for me the software remains inaccessible. Nevertheless, I wasn’t looking for an easy way out and installed PowerBI through Parallels in order to honestly consider the tools again taking into account the training materials.&lt;/p&gt;
&lt;h2&gt;Visualization options&lt;/h2&gt;
&lt;p&gt;Both Tableau and PowerBI offer stunning visualization options. In fact, in this regard, PowerBI offers a video with &lt;a href="https://docs.microsoft.com/en-us/learn/modules/visuals-in-power-bi/"&gt;a little more information&lt;/a&gt; than usual. So, on this matter, the tools are presented equally well.&lt;/p&gt;
&lt;h2&gt;Functionality&lt;/h2&gt;
&lt;p&gt;Here I want to give credits to the functionality of PowerBI. In fact, the variety of tools is extremely wide even without connecting third party libraries. For example, &lt;a href="https://docs.microsoft.com/en-us/learn/modules/perform-analytics-power-bi/5-clustering-techniques"&gt;automatic clustering&lt;/a&gt;, &lt;a href="https://docs.microsoft.com/en-us/learn/modules/ai-visuals-power-bi/4-decomposition-tree"&gt;decomposition tree&lt;/a&gt;, &lt;a href="https://docs.microsoft.com/en-us/learn/modules/clean-data-power-bi/6-profile-data"&gt;data profiler&lt;/a&gt; and &lt;a href="https://docs.microsoft.com/en-us/learn/modules/data-driven-story-power-bi/6-advanced-interactions"&gt;setting filters on a graph&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Internal language syntax&lt;/h2&gt;
&lt;p&gt;To work with PowerBI you need to learn DAX. It is not a programming language, but a functional language. You won’t be able to write your own code, however, you won’t even need it – all the functions are already implemented, so you should only learn how to use them. Microsoft tells about DAX quite well in the &lt;a href="https://docs.microsoft.com/en-us/learn/modules/dax-power-bi-write-formulas/"&gt;manual&lt;/a&gt;. Definition of a new measure in DAX looks like this:&lt;/p&gt;
&lt;pre class="e2-text-code"&gt;&lt;code&gt;Revenue YoY % =
DIVIDE(
	[Revenue]
		- CALCULATE(
			[Revenue],
			SAMEPERIODLASTYEAR('Date'[Date])
	),
	CALCULATE(
		[Revenue],
		SAMEPERIODLASTYEAR('Date'[Date])
	)
)&lt;/code&gt;&lt;/pre&gt;&lt;h2&gt;Preparing data for the analysis&lt;/h2&gt;
&lt;p&gt;Inside PowerBI there is a &lt;a href="https://docs.microsoft.com/en-us/learn/modules/clean-data-power-bi/2-shape-data"&gt;Unpivot&lt;/a&gt; feature that allows bringing the data in columns with time periods into the form that is convenient to use in pivot tables.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="537" data-ratio="1.7266881028939"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/02-original-data-ss.png" width="537" height="311" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/02-unpivot-ss.png" width="528" height="582" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;However, an ETL tool for data cleaning and wrangling in Tableau Prep also has this feature &lt;a href="https://www.tableau.com/about/blog/2019/1/new-tableau-prep-pivot-rows-columns-and-add-descriptions-any-change-99937%C2%A0"&gt;implemented&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Conclusions:&lt;/h2&gt;
&lt;p&gt;1) The training programs are built in completely different ways, the methodology of immersion into Tableau tools is more elaborate and efficient. There is an opportunity to get practical experience of solving problems and get feedback (albeit automatic).&lt;br /&gt;
2) Reports and dashboards design in training materials from Microsoft hardly look professional while Tableau’s implementation is much better.&lt;br /&gt;
3) Knowledge assessment at Microsoft is implemented at the abysmal level (absolutely perfunctory tests like in a bad school) while at Tableau it’s much better implemented, you dive into the problem, think about the answer and solve it.&lt;br /&gt;
4) Cross-platform support is not PowerBI’s strongest point, however in the case of Tableau it’s an excellent competitive advantage.&lt;br /&gt;
5) The functionality and capabilities of the tools are certainly at the highest level, and in some points, PowerBI wins.&lt;/p&gt;
&lt;p&gt;Have a look at our dashboard reviews in &lt;a href="https://www.valiotti.com/leftjoin/all/tableau-dashboard-overview/"&gt;Tableau&lt;/a&gt; and other &lt;a href="https://en.leftjoin.ru/all/guide-to-modern-business-intelligence-tools/"&gt;BI tools&lt;/a&gt;.&lt;/p&gt;
</description>
<pubDate>Mon, 26 Apr 2021 15:58:17 +0300</pubDate>
</item>

<item>
<title>Tableau Dashboard Overview</title>
<guid isPermaLink="false">54</guid>
<link>https://en.leftjoin.ru/all/tableau-dashboard-overview/</link>
<comments>https://en.leftjoin.ru/all/tableau-dashboard-overview/</comments>
<description>
&lt;p&gt;In the previous article, we focused on &lt;a href="https://en.leftjoin.ru/all/defining-a-problem-statement-for-analytical-dashboard/"&gt;the problem statement&lt;/a&gt;, designed a layout, shared our goal to build a Tableau Dashboard for &lt;a href="https://en.leftjoin.ru/all/pandas-profiling-in-action/"&gt;Superstore dataset&lt;/a&gt;. The dashboard should provide insights on most profitable regions, products, customer segments and estimate key performance indicators (KPIs) over the past time.&lt;/p&gt;
&lt;p&gt;The data in SuperStore Sales reflect sales and profit of the retail chain in Canada. It includes information about customer orders, refunds, sales and geodata. But we’re mostly interested in sales data, as our main goal is to create an executive dashboard to understand company’s operating margin, find most and least lucrative product categories,  and customer segments.&lt;/p&gt;
&lt;p&gt;So here’s how the dashboard looks like:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="2560" data-ratio="2.0109976433621"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/1@2x.png.jpg" width="2560" height="1273" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/2@2x-3.png.jpg" width="2560" height="1512" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;All dashboard elements are placed into containers, we can easily resize or change their hierarchy, this enables to optimize the dashboard and make it more mobile/tablet friendly. We can also filter the data by time periods and choose a specific month and year in the top right corner, and all the charts will be redrawn automatically.&lt;/p&gt;
&lt;p&gt;The next field shows key factoids on the company performance: profit, sales, orders count, average discount, customers and sales per customer. Each of the indicators displays YOY, a statistical measure to evaluate a company’s financial progress over time. If the indicator shows positive change, a green arrow will be added, if negative – red.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/3@2x-1.png.jpg" width="2560" height="245" alt="" /&gt;
&lt;/div&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/31@2x.png" width="1143" height="550" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Below are two core charts, displaying regions (colored based on profit) and profit dynamics. We can click on a specific one to view its stats in-depth.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/4@2x-1.png.jpg" width="2560" height="1289" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The green dot on the right chart represents data for a selected month this year, while the blue dot displays the same month last year. When hovering these points you can see a trend line, that facilitates assessing how the company’s doing today.&lt;/p&gt;
&lt;p&gt;Let’s move to the second part,  here we placed company’s products and customers onto 3 charts. The first one, starting from the left, called bar in bar chart, where you can easily explore product efficiency. For instance, Tables is one of the most inefficient categories, with Breford CR4500 that resulted in significant losses.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="2560" data-ratio="3.0622009569378"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/5@2x-1.png.jpg" width="2560" height="836" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/recording_6.gif" width="800" height="413" alt="" /&gt;
&lt;/div&gt;
&lt;div class="e2-text-caption"&gt;Bar in bar chart implementation&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Then goes the chart with company’s customers, by default they are sorted in descending order by profitability. The chart is linked with Top Performing Provinces, so if we want to discover best or worst customers for the selected province, the data will be redrawn automatically.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/6_1.png" width="638" height="525" alt="" /&gt;
&lt;/div&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/7@2x-1.png.jpg" width="2560" height="604" alt="" /&gt;
&lt;/div&gt;
&lt;h2&gt;Dashboard Evaluation&lt;/h2&gt;
&lt;p&gt;We evaluated this dashboard according to the criteria below. On a scale of 1 – 10, 10 being the highest, it gets the following scores from our team :&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;p title="1 – fails to meet 10 –fully meets"&gt;Meets the &lt;a href="https://en.leftjoin.ru/all/defining-a-problem-statement-for-analytical-dashboard/original"&gt;tasks&lt;/a&gt; – 10,0&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;p title="1 – too hard to learn, 10 – easy"&gt;Learning curve  – 5,5&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;p title="1 – very poor functionality, 10 – multifunctional"&gt;Tool functionality – 9,0&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;p title="1 – very inconvinient, 10 – super convinient"&gt;Ease of use – 8,5&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;p title="1 – far from the designed layout, 10 – close to the designed layout and objective"&gt;Compliance of the result – 10,0&lt;/p&gt;&lt;/li&gt;
  &lt;li&gt;&lt;p title="1 – poor appearance, 10 – great visual appearance"&gt;Visual evaluation – 9,7&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This Tableau Dashboard scored 8.8 out of 10 from the team! In our perspective, the dashboard fully meets the requirements and facilitates understanding of business performance over a reporting period. We can assess profit dynamics in general or for the selected region, and effectively leverage products and customers data in measuring monetary results. The final version is available through &lt;a href="https://en.leftjoin.ru/bi-guide/tableau-superstore.html"&gt;this link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please let us know your thoughts in the comments down below, how would you rate this dashboard?&lt;/p&gt;
</description>
<pubDate>Fri, 06 Nov 2020 12:07:00 +0300</pubDate>
</item>

<item>
<title>Animating sports data in Tableau</title>
<guid isPermaLink="false">52</guid>
<link>https://en.leftjoin.ru/all/animating-sports-data-in-tableau/</link>
<comments>https://en.leftjoin.ru/all/animating-sports-data-in-tableau/</comments>
<description>
&lt;p&gt;Previously we shared &lt;a href="https://en.leftjoin.ru/all/custom-visualization-of-sports-data-in-tableau/"&gt;how to visualize your sports data from the SwingVision app in Tableau&lt;/a&gt; , using custom background and shapes. This time we are going to animate our dashboard to watch how landing locations of tennis shots changed over the match. Such an animation can be exported into a video file for later use. That’s what our result looked like in Tableau earlier:&lt;/p&gt;
&lt;div class='tableauPlaceholder' id='viz1602497747053' style='position: relative'&gt;&lt;p&gt;&lt;noscript&gt;&lt;a href='#'&gt;&lt;img alt=' ' src='https:&amp;#47;&amp;#47;public.tableau.com&amp;#47;static&amp;#47;images&amp;#47;Sw&amp;#47;SwingVisionstatistics&amp;#47;Swing&amp;#47;1_rss.png' style='border: none' /&gt;&lt;/a&gt;&lt;/noscript&gt;&lt;/p&gt;
&lt;object class='tableauViz'  style='display:none;'&gt;&lt;param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /&gt; &lt;param name='embed_code_version' value='3' /&gt; &lt;param name='site_root' value='' /&gt;&lt;param name='name' value='SwingVisionstatistics&amp;#47;Swing' /&gt;&lt;param name='tabs' value='no' /&gt;&lt;param name='toolbar' value='yes' /&gt;&lt;param name='static_image' value='https:&amp;#47;&amp;#47;public.tableau.com&amp;#47;static&amp;#47;images&amp;#47;Sw&amp;#47;SwingVisionstatistics&amp;#47;Swing&amp;#47;1.png' /&gt; &lt;param name='animate_transition' value='yes' /&gt;&lt;param name='display_static_image' value='yes' /&gt;&lt;param name='display_spinner' value='yes' /&gt;&lt;param name='display_overlay' value='yes' /&gt;&lt;param name='display_count' value='yes' /&gt;&lt;param name='language' value='en' /&gt;&lt;/object&gt;
&lt;/div&gt;&lt;script type='text/javascript'&gt;                    var divElement = document.getElementById('viz1602497747053');                    var vizElement = divElement.getElementsByTagName('object')[0];                    if ( divElement.offsetWidth &gt; 800 ) { vizElement.style.width='1000px';vizElement.style.height='827px';} else if ( divElement.offsetWidth &gt; 500 ) { vizElement.style.width='1000px';vizElement.style.height='827px';} else { vizElement.style.width='100%';vizElement.style.height='727px';}                     var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);&lt;/script&gt;
&lt;p&gt;The chart shows landing coordinates of tennis shots on the court. Forehand shots are marked in red, backhands are in orange, the x marks for shots went into the net. We can also use filtering and get expanded tooltip info on hover.&lt;br /&gt;
Tableau enables us to create pages to flip through members of a field, changing and animating the analysis. In this case, all we need to is simply drag-and-drop the Shots table to the Pages shelf and click on the Play button.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/1.gif" width="800" height="447" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Let’s switch to the dashboard and try adding the Pages shelf, just click on Worksheet -&gt; Show cards and apply to the current page.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/2@2x-2.png" width="2483" height="1432" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Next, create a new vertical container, drag the panel and minimize the view:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/2.gif" width="800" height="447" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;Now after clicking on the Play button, the first part is done:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/3.gif" width="800" height="497" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;If you’re a macOS user, it won’t be a problem to make a video from this animation by pressing ⌘ + Shift + 5 and choosing a specific part of your screen. In other cases, you may need to download third-party software for screen recording.&lt;/p&gt;
</description>
<pubDate>Wed, 28 Oct 2020 09:45:36 +0300</pubDate>
</item>

<item>
<title>Custom visualization of sports data in Tableau</title>
<guid isPermaLink="false">51</guid>
<link>https://en.leftjoin.ru/all/custom-visualization-of-sports-data-in-tableau/</link>
<comments>https://en.leftjoin.ru/all/custom-visualization-of-sports-data-in-tableau/</comments>
<description>
&lt;p&gt;Being a tennis fan, I recently discovered a new app created to help players to assess their game skills – &lt;a href="https://swing.tennis"&gt;SwingVision&lt;/a&gt;. The app can recognize tennis shots in real-time and display its landing coordinates. The author of this app is Swupnil Sahai, currently he is a Lecturer at UC Berkley.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/1@2x.jpg" width="562.5" height="619.5" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;My tennis stats, shown by the app&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;SwingVision also allows you to view your “rallies” and specific shots, assess the average shot speed and error rate. Moreover one can easily export its stats as an Excel Table.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/2@2x-1.png" width="1128" height="849" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;Example of exported table&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In today’s material, we are going to create a custom Tableau chart that would reproduce stats from SwingVision and display the landing location of my shots on the court. First, we need to find a suitable tennis court image (top view), like &lt;a href="https://leftjoin.ru/pictures/court_image.png"&gt;this one&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Next, we need to import &lt;a href="http://leftjoin.ru/files/swingvision.xls"&gt;the data&lt;/a&gt; stored as an Excel Table into Tableau, set values for both coordinates using the Shot Placement (x), and Shot Placement (y) columns, and remove the aggregation of measures to get something like this:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/3@2x.png" width="1240.5" height="694" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;After filtering shots by player the chart somewhat resembles the upside-down version of the actual image:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/4@2x.png" width="1242" height="692" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;To reverse the image, we need to change the values of current x and y from positive to negative by creating new measures, add some color and everything will start to line up:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/5@2x.png" width="1236.5" height="690.5" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The X marks on the chart represent all shots that hit the net, we can hide them from view and set a constant value for Y =- 11,89, which corresponds to the length of a half-court.&lt;br /&gt;
Then when we try adding the background image, however, this will cause a warning, because the image is not scaled properly:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="2469" data-ratio="1.7904278462654"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/6@2x.png" width="2469" height="1379" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/7@2x.png" width="2477" height="1384" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This means that we need to calculate the ratio of our image to the real-size court. In our case, for instance, the image is 913px in width, while the court itself is 10.97 meters wide, so by calculating 913 over 10.97, the ratio for x will be 83.227.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/8@2x.png" width="1238.5" height="691" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;The middle of the court will be considered as the origin (0,  0), and will divide the court vertically into halves of 456.5px.&lt;br /&gt;
Remember that the image itself has margins, both to the right and left that are equal to 143.3px each. Just create new measures for x and y, substituting with the following values:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;div class="fotorama" data-width="2477" data-ratio="1.7845821325648"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/9@2x.png" width="2477" height="1388" alt="" /&gt;
&lt;img src="https://en.leftjoin.ru/pictures/10@2x.png" width="2485" height="1388" alt="" /&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;After these steps, our image should be as follows:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/11@2x.png" width="1240" height="671" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;As finishing touches, we set a custom icon for each point on the chart and add filtering options.&lt;/p&gt;
&lt;p&gt;To sum up, the dashboard displays everything we need: landing location of shots, their speed, types of strokes and expanded tooltip info on hover:&lt;/p&gt;
&lt;div class='tableauPlaceholder' id='viz1602497747053' style='position: relative'&gt;&lt;p&gt;&lt;noscript&gt;&lt;a href='#'&gt;&lt;img alt=' ' src='https:&amp;#47;&amp;#47;public.tableau.com&amp;#47;static&amp;#47;images&amp;#47;Sw&amp;#47;SwingVisionstatistics&amp;#47;Swing&amp;#47;1_rss.png' style='border: none' /&gt;&lt;/a&gt;&lt;/noscript&gt;&lt;/p&gt;
&lt;object class='tableauViz'  style='display:none;'&gt;&lt;param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' /&gt; &lt;param name='embed_code_version' value='3' /&gt; &lt;param name='site_root' value='' /&gt;&lt;param name='name' value='SwingVisionstatistics&amp;#47;Swing' /&gt;&lt;param name='tabs' value='no' /&gt;&lt;param name='toolbar' value='yes' /&gt;&lt;param name='static_image' value='https:&amp;#47;&amp;#47;public.tableau.com&amp;#47;static&amp;#47;images&amp;#47;Sw&amp;#47;SwingVisionstatistics&amp;#47;Swing&amp;#47;1.png' /&gt; &lt;param name='animate_transition' value='yes' /&gt;&lt;param name='display_static_image' value='yes' /&gt;&lt;param name='display_spinner' value='yes' /&gt;&lt;param name='display_overlay' value='yes' /&gt;&lt;param name='display_count' value='yes' /&gt;&lt;param name='language' value='en' /&gt;&lt;/object&gt;
&lt;/div&gt;&lt;script type='text/javascript'&gt;                    var divElement = document.getElementById('viz1602497747053');                    var vizElement = divElement.getElementsByTagName('object')[0];                    if ( divElement.offsetWidth &gt; 800 ) { vizElement.style.width='1000px';vizElement.style.height='827px';} else if ( divElement.offsetWidth &gt; 500 ) { vizElement.style.width='1000px';vizElement.style.height='827px';} else { vizElement.style.width='100%';vizElement.style.height='727px';}                     var scriptElement = document.createElement('script');                    scriptElement.src = 'https://public.tableau.com/javascripts/api/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);&lt;/script&gt;
</description>
<pubDate>Fri, 23 Oct 2020 14:28:53 +0300</pubDate>
</item>

<item>
<title>Defining a problem statement for Analytical Dashboard</title>
<guid isPermaLink="false">49</guid>
<link>https://en.leftjoin.ru/all/defining-a-problem-statement-for-analytical-dashboard/</link>
<comments>https://en.leftjoin.ru/all/defining-a-problem-statement-for-analytical-dashboard/</comments>
<description>
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/Statistics-pana@2x.png" width="746.5" height="380" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://en.leftjoin.ru/all/guide-to-modern-business-intelligence-tools/"&gt;In our previous post&lt;/a&gt;, we announced the beginning of a new series about modern Business intelligence (BI) tools. As the adage goes, “problem first, solution second” –  today we’ll start by defining our problem. Let’s consider a fairly common scenario for a large company, one that almost every company, where I happened to work encountered with. Suppose that a top management team holds monthly meetings to review the results of the past month. Their key goal is to maximize the company’s dividends and profits.&lt;br /&gt;
Hence the team needs a tool that would display the historical profit trend with some other key indicators for the reporting period. The tool is needed to understand where and how profit is formed, and what are the main drivers for profit growth. We suggest using an analytical dashboard as such a tool.&lt;/p&gt;
&lt;h2&gt;Problem Statement&lt;/h2&gt;
&lt;p&gt;Our goal is to design and create a Dashboard using the Superstore Sales data (which is really close to reality) to provide answers to the following questions:&lt;/p&gt;
&lt;ol start="1"&gt;
&lt;li&gt;What are the performance indicators values for the past month? It’s necessary for stocktaking and comparing it against the same period last year.&lt;/li&gt;
&lt;li&gt;What key factors do affect profit growth?&lt;/li&gt;
&lt;li&gt;What categories, subcategories, products and clients generate more profits, and what ones that bring losses?&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Reviewing Data&lt;/h2&gt;
&lt;p&gt;The &lt;a href="https://github.com/PacktPublishing/Tableau-10-Best-Practices/blob/master/Chapter%205/Sample%20-%20Superstore%20Sales%20(Excel).xls"&gt;data&lt;/a&gt; contains information about customer purchases (Orders list) and returns (Returns list). The purchasing data includes all available information on orders:  record ids, order dates, order-processing priority, number of items, sales and profit margins, discounts, shipping options and prices, customer data, and other useful information. But are only interested in the Orders list.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/2-18.png" width="1219" height="257" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;Snippet of the Orders list&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;Designing a Layout&lt;/h2&gt;
&lt;p&gt;We’ll position the header with a brief description on top of the page. Then, goes the time-based filter on par with the header. And the subheading “KPI” on the next line.&lt;/p&gt;
&lt;p&gt;First of all, we want to generalize key changes according to the factoids:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Profit and YoY growth&lt;/li&gt;
&lt;li&gt;Sales and YoY growth&lt;/li&gt;
&lt;li&gt;Orders count and YoY growth&lt;/li&gt;
&lt;li&gt;Avg Discount and YoY growth&lt;/li&gt;
&lt;li&gt;Number of customers and YoY growth&lt;/li&gt;
&lt;li&gt;Sales per Customer and YoY growth&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Below will be a graph presented as a tree-like map (or equivalent) with top regions by sales count. It will be comprised of different rectangles, the size will correspond to sales volume while the color to profits made. This brings more clarity and helps understand which regions are most effective. It would be great if the reviewed BI tool would provide expanded information upon clicking on a region so that we could see the difference between regions.&lt;/p&gt;
&lt;p&gt;More to the right will be a graph with a historical profit trend, displaying how profits change over time. We will try to dot the reviewed month and the same month last year to trace a trend.&lt;/p&gt;
&lt;p&gt;Next is products and customer segments. The horizontal bar chart on the left side will be displayed sales volume and profits arranged by categories and subcategories. And try adding a filter for top product names by profit if the BI tool functionality allows so.&lt;/p&gt;
&lt;p class="note"&gt;Learn more about how to build &lt;a href="https://en.leftjoin.ru/all/building-an-interactive-waterfall-chart-in-python/"&gt;an interactive waterfall chart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the right is a horizontal bar chart with top products sorted by profit&lt;br /&gt;
volume.&lt;/p&gt;
&lt;p&gt;On the bottom of the page, there will be a horizontal bar chart displaying most lucrative clients. It’s very similar to the previous one, but instead of product names will be shown names of customers grouped by their segment and amount of generated profits.&lt;/p&gt;
&lt;p&gt;To sum it up, our dashboard layout will look something like this:&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/image-(1).png.jpg" width="2560" height="1440" alt="" /&gt;
&lt;div class="e2-text-caption"&gt;Dashboard draft layout&lt;/div&gt;
&lt;/div&gt;
</description>
<pubDate>Wed, 14 Oct 2020 15:59:31 +0300</pubDate>
</item>

<item>
<title>Guide to modern Business Intelligence Tools</title>
<guid isPermaLink="false">48</guid>
<link>https://en.leftjoin.ru/all/guide-to-modern-business-intelligence-tools/</link>
<comments>https://en.leftjoin.ru/all/guide-to-modern-business-intelligence-tools/</comments>
<description>
&lt;p&gt;In our new series, we will try to give a detailed representation of  several BI tools using the &lt;a href="https://github.com/PacktPublishing/Tableau-10-Best-Practices/blob/master/Chapter%205/Sample%20-%20Superstore%20Sales%20(Excel).xls"&gt;SuperStore Sales dataset&lt;/a&gt;. The data in SuperStore Sales reflect sales and profit of the retail chain in US dollars.&lt;/p&gt;
&lt;p&gt;In the upcoming blog post, we will discuss a real problem statement that could arise when creating a dashboard based on the SuperStore Sales data and design a functional layout to provide clear answers. Throughout this task, we’ll stick with a predefined set of colors to make the comparison more unbiased.&lt;/p&gt;
&lt;p&gt;Next, we’re going to create a dashboard that would assist in data-based decision-making with each of the BI tools. We also plan to involve industry experts to learn from their experience.&lt;/p&gt;
&lt;p&gt;A complete list of BI systems and tools to be tested in our experiment is provided below. I want to welcome everyone who is willing to help us in solving this challenge to message me on Telegram  – &lt;a href="https://t.me/valiotti"&gt;@valiotti&lt;/a&gt;. I will be glad to hear from you. Although it’s a non-profit project, it’ll be really useful for the open-source community.&lt;/p&gt;
&lt;div class="e2-text-picture"&gt;
&lt;img src="https://en.leftjoin.ru/pictures/1@2x.jpeg" width="651" height="463.5" alt="" /&gt;
&lt;/div&gt;
&lt;p&gt;We plan to cover the following list of tools:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Free Open Source:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Metabase&lt;/li&gt;
&lt;li&gt;Redash&lt;/li&gt;
&lt;li&gt;Apache Superset&lt;/li&gt;
&lt;li&gt;Dash / Plotly&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Free Cloud-Based:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Google Studio&lt;/li&gt;
&lt;li&gt;Yandex Datalens&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Paid Cloud-Based:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mode&lt;/li&gt;
&lt;li&gt;Cluvio&lt;/li&gt;
&lt;li&gt;Holistic&lt;/li&gt;
&lt;li&gt;Chartio&lt;/li&gt;
&lt;li&gt;Periscope&lt;/li&gt;
&lt;li&gt;DeltaDNA&lt;/li&gt;
&lt;li&gt;Klipfolio&lt;/li&gt;
&lt;li&gt;Count.co&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Paid:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PowerBI&lt;/li&gt;
&lt;li&gt;Tableau&lt;/li&gt;
&lt;li&gt;Looker&lt;/li&gt;
&lt;li&gt;Excel&lt;/li&gt;
&lt;li&gt;Alteryx&lt;/li&gt;
&lt;li&gt;Qlik Sense&lt;/li&gt;
&lt;li&gt;Qlik View&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The final goal is to evaluate the BI tools against the following criteria:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;learning curve of BI tool (1 — too hard to learn, 10 — easy)&lt;/li&gt;
&lt;li&gt;tool functionality (1 — very poor functionality, 10 — multifunctional)&lt;/li&gt;
&lt;li&gt;ease of use (1 — very inconvenient, 10 — super convenient)&lt;/li&gt;
&lt;li&gt;compliance of the result (1 — far from the designed layout, 10 — too close to the designed layout and objective)&lt;/li&gt;
&lt;li&gt;visual evaluation (1 — poor appearance, 10 — great visual appearance)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;An integral weighted score for each tool will be calculated based on the internal estimates.&lt;/p&gt;
&lt;p&gt;The results will be posted to our Telegram channel &lt;a href="https://t.me/leftjoin_en/"&gt;@leftjoin_en &lt;/a&gt; and followers will also be able to share their thoughts on the experiment.&lt;br /&gt;
By the end, each tool will be represented as a point in the plane, which will be divided into 4 parts.&lt;/p&gt;
&lt;p&gt;This article will be updated with links and ratings as we new posts come out.&lt;/p&gt;
</description>
<pubDate>Fri, 09 Oct 2020 08:57:38 +0300</pubDate>
</item>


</channel>
</rss>