<?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>UI/UX | Capstone Analytics</title>
	<atom:link href="https://capstoneanalytics.com.au/tag/ui-ux/feed/" rel="self" type="application/rss+xml" />
	<link>https://capstoneanalytics.com.au</link>
	<description>Analytics Simplified</description>
	<lastBuildDate>Thu, 02 Apr 2020 01:19:58 +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>Get users to select the colours in your reports</title>
		<link>https://capstoneanalytics.com.au/get-users-to-select-the-colours-in-your-reports/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=get-users-to-select-the-colours-in-your-reports</link>
					<comments>https://capstoneanalytics.com.au/get-users-to-select-the-colours-in-your-reports/#respond</comments>
		
		<dc:creator><![CDATA[Abhijith DSouza]]></dc:creator>
		<pubDate>Thu, 02 Apr 2020 01:19:58 +0000</pubDate>
				<category><![CDATA[Power BI]]></category>
		<category><![CDATA[DAX]]></category>
		<category><![CDATA[UI/UX]]></category>
		<guid isPermaLink="false">https://capstoneanalytics.com.au/?p=2178</guid>

					<description><![CDATA[Deciding which colours to use in a report is never an easy decision as each one of us has our own preferences. Someone will always be disappointed with the choice of colours used in your reports. One way around this is to conduct a survey of the colours to use in a report and incorporate [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Deciding which colours to use in a report is never an easy decision as each one of us has our own preferences. Someone will always be disappointed with the choice of colours used in your reports. One way around this is to conduct a survey of the colours to use in a report and incorporate it in your data model and give options for the users to select their own colours.</p>
<p>Let&#8217;s say we have conducted a survey and have selected five sets of colours. Create a table called Colour in your data model which might look like this</p>
<p>&nbsp;</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2179" src="https://capstoneanalytics.com.au/wp-content/uploads/2020/04/colour-scheme.png" alt="" width="347" height="151" /></p>
<p>I have copied the hex colours for each set of colours and entered them into the columns Hex1 and Hex2. Make sure to sort the column ColourScheme by the Order column</p>
<p>Using the adventureworks model we will define a variance measure. I want to plot the variance by countries and wanted countries with positive and negative variances hence chose an arbitrary number of 4000000 to achieve this</p>
<p>Variance =<br />
[TotalSalesAmount] &#8211; <span class="Number" style="color: #ee7f18;">4000000</span></p>
<p>Next we will define the colour scheme measure by using the Colour table and the above measure</p>
<p>VarianceColourScheme =<br />
<span class="Keyword" style="color: #035aca;">VAR</span> <span class="Variable" style="color: #49b0af;">SelectedColour</span> =<br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">SELECTEDVALUE</span><span class="Parenthesis" style="color: #808080;"> (</span> Colour[ColourScheme] <span class="Parenthesis" style="color: #808080;">)</span><br />
<span class="Keyword" style="color: #035aca;">VAR</span> <span class="Variable" style="color: #49b0af;">Hex1Colour</span> =<br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">VALUES</span><span class="Parenthesis" style="color: #808080;"> (</span> Colour[Hex1] <span class="Parenthesis" style="color: #808080;">)</span><br />
<span class="Keyword" style="color: #035aca;">VAR</span> <span class="Variable" style="color: #49b0af;">Hex2Colour</span> =<br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">VALUES</span><span class="Parenthesis" style="color: #808080;"> (</span> Colour[Hex2] <span class="Parenthesis" style="color: #808080;">)</span><br />
<span class="Keyword" style="color: #035aca;">RETURN</span><br />
<span class="indent4">    </span><span class="Keyword" style="color: #035aca;">SWITCH</span><span class="Parenthesis" style="color: #808080;"> (</span><br />
<span class="indent8">        </span><span class="Keyword" style="color: #035aca;">TRUE</span>,<br />
<span class="indent8">        </span>[variance] &gt; <span class="Number" style="color: #ee7f18;">5000000</span>, <span class="Variable" style="color: #49b0af;">Hex1Colour</span>,<br />
<span class="indent8">        </span>[variance] &lt; <span class="Number" style="color: #ee7f18;">5000000</span>, <span class="Variable" style="color: #49b0af;">Hex2Colour</span><br />
<span class="indent4">    </span><span class="Parenthesis" style="color: #808080;">)</span></p>
<p>Basically if the variance is positive use a colour usually associated with positive differences (Hex1) else chose the other option (Hex2)</p>
<p>Next create a stacked bar chart and drag SalesTerritoryCountry into Axis and Variance into Value</p>
<p>With the chart selected, in the Format pane go to Data Colour and use the &#8230; to select Conditional Formatting and use the following option</p>
<p><img decoding="async" class="alignnone  wp-image-2180" src="https://capstoneanalytics.com.au/wp-content/uploads/2020/04/colour-scheme-cond.form_.png" alt="" width="636" height="441" /></p>
<p>&nbsp;</p>
<p>Next create a Slicer and drag ColourScheme column from the Colour table into it and make it single select</p>
<p>You can now select a colour scheme and watch how the colours change in the chart.</p>
<p>With a bit of work you can set this up for all the charts in your reports and have the slicer in the front page of your report so that the users can select the colour scheme of their choice</p>
<div style="width: 1080px;" class="wp-video"><video class="wp-video-shortcode" id="video-2178-1" width="1080" height="557" preload="metadata" controls="controls"><source type="video/mp4" src="https://capstoneanalytics.com.au/wp-content/uploads/2020/04/20200402_111453.mp4?_=1" /><a href="https://capstoneanalytics.com.au/wp-content/uploads/2020/04/20200402_111453.mp4">https://capstoneanalytics.com.au/wp-content/uploads/2020/04/20200402_111453.mp4</a></video></div>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://capstoneanalytics.com.au/get-users-to-select-the-colours-in-your-reports/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		<enclosure url="https://capstoneanalytics.com.au/wp-content/uploads/2020/04/20200402_111453.mp4" length="81377" type="video/mp4" />

			</item>
	</channel>
</rss>
