<?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>line and column chart | Capstone Analytics</title>
	<atom:link href="https://capstoneanalytics.com.au/tag/line-and-column-chart/feed/" rel="self" type="application/rss+xml" />
	<link>https://capstoneanalytics.com.au</link>
	<description>Analytics Simplified</description>
	<lastBuildDate>Wed, 18 Nov 2020 06:44:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Transforming a line and column chart</title>
		<link>https://capstoneanalytics.com.au/transforming-a-line-and-column-chart/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=transforming-a-line-and-column-chart</link>
					<comments>https://capstoneanalytics.com.au/transforming-a-line-and-column-chart/#respond</comments>
		
		<dc:creator><![CDATA[Abhijith DSouza]]></dc:creator>
		<pubDate>Wed, 18 Nov 2020 06:44:27 +0000</pubDate>
				<category><![CDATA[Power BI]]></category>
		<category><![CDATA[Daily sales]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[line and column chart]]></category>
		<guid isPermaLink="false">https://capstoneanalytics.com.au/?p=2434</guid>

					<description><![CDATA[In this post we will discuss how to transform a basic line and column chart into a chart which prompts the user to take action. We have line and column chart below which shows daily sales as columns and an average daily sales line (Day number of month as Axis and [TotalSalesAmount] as Values While [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this post we will discuss how to transform a basic line and column chart into a chart which prompts the user to take action.</p>
<p>We have line and column chart below which shows daily sales as columns and an average daily sales line (Day number of month as Axis and [TotalSalesAmount] as Values</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-2435" src="https://capstoneanalytics.com.au/wp-content/uploads/2020/11/daily-sales.png" alt="" width="902" height="343" srcset="https://capstoneanalytics.com.au/wp-content/uploads/2020/11/daily-sales.png 902w, https://capstoneanalytics.com.au/wp-content/uploads/2020/11/daily-sales-480x183.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 902px, 100vw" /></p>
<p>While this is a good enough chart to gives the daily sales, the user must exert a great deal of effort in order to determine on which days are the sales higher/lower than the average. Wouldn&#8217;t be better if we design a chart so that the user immediately knows the variance in sales ?</p>
<p>We can do this by calculating the Average daily sales as a measure as follows<br />
Average Daily Sales =<br />
<span class="Keyword" style="color: #035aca;">CALCULATE</span><span class="Parenthesis" style="color: #808080;"> (</span><br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">AVERAGEX</span><span class="Parenthesis" style="color: #808080;"> (</span><br />
<span class="indent8">        </span><span class="Keyword" style="color: #035aca;">SUMMARIZE</span><span class="Parenthesis" style="color: #808080;"> (</span><br />
<span class="indent8">        </span><span class="indent4">    </span>&#8216;Sales&#8217;,<br />
<span class="indent8">        </span><span class="indent4">    </span>&#8216;Calendar'[DayNumberOfMonth],<br />
<span class="indent8">        </span><span class="indent4">    </span><span class="StringLiteral" style="color: #d93124;">&#8220;Selected Measure&#8221;</span>, [TotalSalesAmount]<br />
<span class="indent8">        </span><span class="Parenthesis" style="color: #808080;">)</span>,<br />
<span class="indent8">        </span>[Selected Measure]<br />
<span class="indent4">    </span><span class="Parenthesis" style="color: #808080;">)</span>,<br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">ALL</span><span class="Parenthesis" style="color: #808080;"> (</span> &#8216;Calendar&#8217; <span class="Parenthesis" style="color: #808080;">)</span><br />
<span class="Parenthesis" style="color: #808080;">)</span></p>
<p>We then calculate the daily variance as</p>
<p>Daily variance = [TotalSalesAmount] &#8211; [Average Daily Sales]</p>
<p>Replacing [TotalSalesAmount] in the above chart with the Daily variance measure and using the appropriate colours we get the following chart</p>
<p><img decoding="async" class="alignnone size-full wp-image-2436" src="https://capstoneanalytics.com.au/wp-content/uploads/2020/11/Capture.png" alt="" width="877" height="261" srcset="https://capstoneanalytics.com.au/wp-content/uploads/2020/11/Capture.png 877w, https://capstoneanalytics.com.au/wp-content/uploads/2020/11/Capture-480x143.png 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 877px, 100vw" /></p>
<p>&nbsp;</p>
<p>This chart clearly indicates days which has positive variance (as blue bars) and days with negative variance (red bars). The user now can immediately get insights on the daily sales variances.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://capstoneanalytics.com.au/transforming-a-line-and-column-chart/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
