<?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/"
xmlns:georss="http://www.georss.org/georss"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
><channel><title>Data Visualization &#8211; DataVeld</title> <atom:link href="http://dataveld.com/category/data-visualization/feed/" rel="self" type="application/rss+xml" /><link>https://dataveld.com</link> <description>A Microsoft Data Experience Blog</description> <lastBuildDate>Fri, 02 Apr 2021 05:59:33 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=5.3.21</generator><image> <url>https://i0.wp.com/dataveld.com/wp-content/uploads/2016/10/cropped-cropped-dataveld23.png?fit=32%2C32&#038;ssl=1</url><title>Data Visualization &#8211; DataVeld</title><link>https://dataveld.com</link> <width>32</width> <height>32</height> </image> <site
xmlns="com-wordpress:feed-additions:1">143031883</site> <item><title>Microsoft Power BI Shifts Focus to Include Data Visualization</title><link>https://dataveld.com/2021/04/01/microsoft-power-bi-becomes-a-data-visualization-tool/</link> <comments>https://dataveld.com/2021/04/01/microsoft-power-bi-becomes-a-data-visualization-tool/#comments</comments> <pubDate>Thu, 01 Apr 2021 04:00:00 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[April 1]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8794</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">2</span> <span
class="rt-label rt-postfix">minutes</span></span> UPDATE: April 2, 2021 &#8211; this post was published as satire on April Fool’s Day and is not factual In a surprise move, Microsoft has decided to bring data visualization to Power BI. Long considered a data modeling tool used...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2021/04/01/microsoft-power-bi-becomes-a-data-visualization-tool/">Microsoft Power BI Shifts Focus to Include Data Visualization</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">2</span> <span
class="rt-label rt-postfix">minutes</span></span><p><strong>UPDATE: April 2, 2021 &#8211; this post was published as satire on April Fool’s Day and is not factual</strong></p><p>In a surprise move, Microsoft has decided to bring data visualization to Power BI. Long considered a data modeling tool used in support of exporting for analysis in Microsoft Excel, the ability to visualize data effectively has eluded Power BI users until now.</p><p>Previously unknown to Power BI’s 17 billion active users, data
analyst Martin Vanderpfluegger discovered visualizations had come to Power BI while
watching a Saturday morning <em>Guy in a Cube</em> livestream. “Patrick diverted from
all the talk about Power Query and DAX. He clicked into this area he called the <em>report canvas</em>, and suddenly I saw this set of icons in a new section
called <em>Visualizations</em>. At first, I thought maybe Patrick was
accidentally using a preview version since he works for Microsoft, but then I
opened my own Power BI Desktop and discovered this easter egg was real.”</p><p>Vanderpfluegger immediately posted his find on Reddit and Twitter. “One of my seven followers retweeted it, and it went viral from there. It got four, maybe five, Likes after a few hours. Reddit was even better. I’m still new over there, but it got hyphen 17 votes, and one person even replied with ‘WTAF?’, which I think might be a newer DAX function, and a few smiling emoji. It’s just great to see this level of community engagement.”</p><p>Almost everyone from Microsoft’s Power BI product team has deferred comments until after the official blog post arrives. When pressed, however, visualizations were reluctantly confirmed by one employee. “Who hoo hoo hoo”, said Senior Program Manager Henry the Owl about the development.</p><p>“I really think this is a game changer”, continued Vanderpfluegger. “The charting in Excel has been so static, and these clicky clicky visuals are cool. I had also been stuck in my org’s Excel to Power BI to Excel cycle for so many years. I’d build out these wicked star schemas in Power BI and copy and paste my dimension and fact tables into Excel, hook them up with VLOOKUP, and then visualize my data in Excel pivot tables. Power BI can now save me a few steps plus give me a variety of bars, lines, and pies. The matrix looks cool too. I can’t wait until they add more formatting options. I want to change my bar colors.”</p><p>Henry the Owl expects data visualization in Power BI to exit preview and become generally available before 2027.</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2021/04/01/microsoft-power-bi-becomes-a-data-visualization-tool/">Microsoft Power BI Shifts Focus to Include Data Visualization</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2021/04/01/microsoft-power-bi-becomes-a-data-visualization-tool/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8794</post-id> </item> <item><title>Power BI: What Happens if I Create a Report with a Vertical Layout (Portrait Mode)?</title><link>https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/</link> <comments>https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/#comments</comments> <pubDate>Fri, 21 Aug 2020 12:08:36 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Format Options]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8691</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span> The default Power BI report layout uses a landscape orientation. While it&#8217;s not common to see report pages that use portrait mode, Prathy Kamasani (blog/twitter) has a notable example in Power BI here. Others have tried it as well. It&#8217;s...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/">Power BI: What Happens if I Create a Report with a Vertical Layout (Portrait Mode)?</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span><p>The default Power BI report layout uses a landscape orientation. While it&#8217;s not common to see report pages that use portrait mode, Prathy Kamasani (<a
rel="noreferrer noopener" aria-label="blog (opens in a new tab)" href="https://prathy.com/" target="_blank">blog</a>/<a
rel="noreferrer noopener" aria-label="twitter (opens in a new tab)" href="https://twitter.com/pkamasani" target="_blank">twitter</a>) has a notable example in Power BI <a
rel="noreferrer noopener" aria-label="here (opens in a new tab)" href="https://community.powerbi.com/t5/Data-Stories-Gallery/Terrorism-in-2017/m-p/337945" target="_blank">here</a>. Others have tried it as well. It&#8217;s used occasionally in other data communities or data-driven journalism. Overall, if you want to guide someone through your analysis by having them scroll like a web page, it <em>may</em> be an option to try.</p><p>So what happens if I create a report with a vertical layout in Power BI?</p><p>Not much. Except you might get questions. Some may begin with &#8220;Why did you do use a vertical layout?&#8221; You might be okay with a &#8220;tall&#8221; page until you hear &#8220;Why does this Power BI report take a long time to load?&#8221;, at which point, you&#8217;ve gone too far&#8230;</p><p>Personally, I do not see a vertical layout as a good option in most circumstances&#8211;with <strong>one</strong> critical exception. I think it&#8217;s at least worth a try if you have the right combination of: <br>1) Publish to Web or Embedded report with a small number of visuals and that has width constraints on the web page into which you&#8217;re embedding (blog or news page with sidebar, for example).<br>2) Viewers who are not familiar with Power BI&#8217;s interactivity and navigation options (typically external, public viewers) <br><br>With internal reporting or for users already familiar with Power BI&#8217;s interactivity like drill through, cross filtering, advanced page navigation and more; use a more traditional layout with which people are familiar.<br></p><h2>UPDATE: Embedded &#8220;in the wild&#8221; Example</h2><p>After initially posting this, Nick Nigro shared an example with me where it&#8217;s used and embedded outside of Power BI&#8217;s Data Stories Gallery. Let us know what you think, and thanks Nick!<br><a
href="https://securingdemocracy.gmfus.org/hamilton-dashboard/">https://securingdemocracy.gmfus.org/hamilton-dashboard/</a></p><figure
class="wp-block-image size-large"><img
data-attachment-id="8720" data-permalink="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/image-7-5/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?fit=735%2C603&amp;ssl=1" data-orig-size="735,603" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-7" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?fit=300%2C246&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?fit=640%2C525&amp;ssl=1" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?w=640&#038;ssl=1" alt="" class="wp-image-8720" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?w=735&amp;ssl=1 735w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-7.png?resize=300%2C246&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><h2>Format: Page Size</h2><p>Under the <strong>Page Size </strong>format area, Power BI has different <strong>Type</strong> options. While the default uses a 16:9 aspect ratio, choosing the <strong>Custom </strong>type and manually adjusting the <strong>Width </strong>and <strong>Height </strong>allows you to define any size and resulting orientation you would want.</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8693" data-permalink="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/image-4-5/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?fit=217%2C413&amp;ssl=1" data-orig-size="217,413" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-4" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?fit=158%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?fit=217%2C413&amp;ssl=1" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?w=640&#038;ssl=1" alt="" class="wp-image-8693" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?w=217&amp;ssl=1 217w, https://i1.wp.com/dataveld.com/wp-content/uploads/2020/08/image-4.png?resize=158%2C300&amp;ssl=1 158w" sizes="(max-width: 217px) 100vw, 217px" data-recalc-dims="1" /></figure><p>For example, a simple vertical layout might involve swapping the default width and height so that 720 pixels are now used for the width and 1280 pixels are used for the height. You could define height at any (well-performing, reasonable) value based on the needs of your report though.</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8694" data-permalink="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/image-5-5/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?fit=220%2C433&amp;ssl=1" data-orig-size="220,433" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-5" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?fit=152%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?fit=220%2C433&amp;ssl=1" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?w=640&#038;ssl=1" alt="" class="wp-image-8694" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?w=220&amp;ssl=1 220w, https://i0.wp.com/dataveld.com/wp-content/uploads/2020/08/image-5.png?resize=152%2C300&amp;ssl=1 152w" sizes="(max-width: 220px) 100vw, 220px" data-recalc-dims="1" /></figure><h2>Don&#8217;t Forget &#8220;Fit To Width&#8221;</h2><p>The default <em>Page View</em> option in Power BI is <strong>Fit to Page</strong>, but when using a vertical layout, the entire page appears on screen. This default makes it more difficult to design. Instead, if you attempt a vertical layout, go to the <strong>View </strong>tab in the ribbon, select <strong>Page View</strong>, and then choose <strong>Fit to Width</strong>. <strong>Actual Size</strong> might be reasonable too depending on your dimensions.</p><figure
class="wp-block-image size-large"><img
data-attachment-id="8695" data-permalink="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/image-6-5/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?fit=777%2C317&amp;ssl=1" data-orig-size="777,317" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-6" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?fit=300%2C122&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?fit=640%2C261&amp;ssl=1" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?w=640&#038;ssl=1" alt="" class="wp-image-8695" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?w=777&amp;ssl=1 777w, https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?resize=300%2C122&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2020/08/image-6.png?resize=768%2C313&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></figure><p>This option stretches the report canvas to take the available width, and you scroll up and down to add visuals along your vertical layout.</p><h2>Pros</h2><ul><li>Mimics the natural scrolling behavior of someone browsing a website.</li><li>Gives the viewer more control over their navigation.</li><li>More content fits on a single page (although see a Con below if you add to many visuals to a page).</li><li>Good top to bottom story format.</li><li>Could help with more easily viewing content if public Publish to Web reports are embedded in sites with reduced width (such as a news page or blog with a sidebar) or if the audience will largely be viewing the Publish to Web report on mobile.</li></ul><h2>Cons</h2><ul><li>Poor format for reports that are highly interactive, rely on a lot of cross filtering for analysis, bookmarks, etc.</li><li>Scrolling could be confusing to viewers at first since this page orientation is not commonly used in Power BI.</li><li>May be difficult to find specific visuals compared to standard page navigation where entire pages appear on screen.</li><li>Viewer will not know if the report page is 1,000 pixels or 20,000 pixels (how tall is tall?).</li><li>Since a single page can be as tall as you want, performance may suffer as you add more and more visuals to the page.</li><li>Export to PDF or PowerPoint does not maintain the Fit to Width setting, so a single page in Power BI is still a single page when exporting.</li></ul><p>Can you think of any more Pros or Cons of using a vertical report layout in Power BI? I&#8217;d appreciate your comments below.</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/">Power BI: What Happens if I Create a Report with a Vertical Layout (Portrait Mode)?</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2020/08/21/power-bi-what-happens-if-i-create-a-report-with-a-vertical-layout-portrait-mode/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8691</post-id> </item> <item><title>A Primer for the Microsoft Power BI Color Picker</title><link>https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/</link> <comments>https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/#respond</comments> <pubDate>Tue, 31 Dec 2019 02:55:41 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Color]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8297</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span> UPDATED February 2021: With the February 2021 release of Power BI Desktop, this color picker is in use everywhere. The original post below references its initial introduction into a single area of Power BI Desktop. ORIGINAL POST from December 2019:...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/">A Primer for the Microsoft Power BI Color Picker</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">3</span> <span
class="rt-label rt-postfix">minutes</span></span><strong>UPDATED February 2021:<br
/> </strong>With the February 2021 release of Power BI Desktop, this color picker is in use everywhere. The original post below references its initial introduction into a single area of Power BI Desktop.</p><p><strong>ORIGINAL POST from December 2019:</strong><br
/> With the December Power BI Desktop update, users are introduced to a new color picker when customizing theme colors. The new color picker is much more versatile than the original when selecting colors.</p><h3><strong>Power BI&#8217;s new custom color picker:</strong></h3><p><img
data-attachment-id="8300" data-permalink="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/power-bi-new-color-picker/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?fit=735%2C1090&amp;ssl=1" data-orig-size="735,1090" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI New Color Picker" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?fit=202%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?fit=640%2C950&amp;ssl=1" class="alignnone size-full wp-image-8300" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?resize=640%2C949&#038;ssl=1" alt="" width="640" height="949" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?w=735&amp;ssl=1 735w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?resize=202%2C300&amp;ssl=1 202w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-New-Color-Picker.png?resize=690%2C1024&amp;ssl=1 690w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h3><strong>Power BI&#8217;s original custom color picker:</strong></h3><p><img
data-attachment-id="8302" data-permalink="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/power-bi-former-color-picker-custom-color/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?fit=435%2C665&amp;ssl=1" data-orig-size="435,665" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Former Color Picker Custom Color" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?fit=196%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?fit=435%2C665&amp;ssl=1" class="alignnone size-full wp-image-8302" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?resize=435%2C665&#038;ssl=1" alt="" width="435" height="665" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?w=435&amp;ssl=1 435w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Former-Color-Picker-Custom-Color.png?resize=196%2C300&amp;ssl=1 196w" sizes="(max-width: 435px) 100vw, 435px" data-recalc-dims="1" /></p><p>The new color picker allows colors in <strong>RGB format</strong> in addition to the hex color format that Power BI has used exclusively until now.</p><p>The new one also easily allows users to choose from a wider selection of shades and tones. This builds upon the simpler selection of hues and tints in the original.</p><p>Oversimplifying color definitions:</p><ul><li><strong>Hue</strong> &#8211; the dominant color along the spectrum of red to green to blue back to red (this is usually visualized as the &#8220;<a
href="https://en.wikipedia.org/wiki/Color_wheel" target="_blank" rel="noopener noreferrer">color wheel</a>&#8220;)</li><li><strong>Tint</strong> &#8211; color when a range of white combines with hue</li><li><strong>Shade</strong> &#8211; color when a range of black combines with hue</li><li><strong>Tone</strong> &#8211; color when a range of grey combines with hue</li></ul><p>The new color picker represents <strong>Hue</strong> along the bottom bar. If this were shown on a color wheel, it would be a 360 degree circle moving clockwise from red to green to blue to red. In the case of Power BI, you can adjust hue by clicking in the bar and dragging the selection or by clicking and hitting the left or right arrows keys on the keyboard. In fact, if you use the arrow keys, you&#8217;ll see that you increase or decrease hue values by the equivalent of a degree on a circle. Give it a try&#8211;you can start on the left and hit the right arrow 360 times to get all the way to the right (don&#8217;t actually try this 360 times&#8230;).</p><p><strong>Tint</strong>, <strong>Shade</strong>, and <strong>Tone</strong> are achieved by clicking and dragging the small circle in the square<strong> </strong>above the hue bar. You can also manually specify the hex or RGB values. As a result, the new color picker better visualizes the full range of tints, tones, and shades for a specific color.</p><p><img
data-attachment-id="8298" data-permalink="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/power-bi-color-picker-hue-tint-shade-tone/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?fit=1440%2C1417&amp;ssl=1" data-orig-size="1440,1417" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Color Picker Hue Tint Shade Tone" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?fit=300%2C295&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?fit=640%2C630&amp;ssl=1" class="alignnone size-full wp-image-8298" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?resize=640%2C630&#038;ssl=1" alt="" width="640" height="630" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?w=1440&amp;ssl=1 1440w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?resize=300%2C295&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?resize=768%2C756&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?resize=1024%2C1008&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?resize=50%2C50&amp;ssl=1 50w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Hue-Tint-Shade-Tone.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>In contrast, the original color picker:</p><ul><li>does not allow for wider tone or shade selection</li><li>shows only hex colors and not RGB</li><li>does <em>not</em> change the hex value when hovering over the image (this makes precision selections impossible through a visual hover and click)</li></ul><p><img
data-attachment-id="8304" data-permalink="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/power-bi-color-picker-old-hue-tint/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?fit=1005%2C1230&amp;ssl=1" data-orig-size="1005,1230" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Color Picker Old Hue Tint" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?fit=245%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?fit=640%2C783&amp;ssl=1" class="alignnone size-full wp-image-8304" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?resize=640%2C783&#038;ssl=1" alt="" width="640" height="783" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?w=1005&amp;ssl=1 1005w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?resize=245%2C300&amp;ssl=1 245w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?resize=768%2C940&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/12/Power-BI-Color-Picker-Old-Hue-Tint.png?resize=837%2C1024&amp;ssl=1 837w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/">A Primer for the Microsoft Power BI Color Picker</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/12/30/a-primer-for-the-microsoft-power-bi-color-picker/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8297</post-id> </item> <item><title>3D Effect with Orthographic Projection in Power BI</title><link>https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/</link> <comments>https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/#comments</comments> <pubDate>Sat, 07 Sep 2019 15:18:52 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[3D]]></category> <category><![CDATA[Orthographic]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8243</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span> Orthographic projection is a way to use two-dimensional space to represent three-dimensional objects. In Microsoft Power BI, this 3D effect can be achieved quite easily if you have a set of coordinates in three separate columns that compose (x,y,z). In...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/">3D Effect with Orthographic Projection in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span><a
href="https://en.wikipedia.org/wiki/Orthographic_projection" target="_blank" rel="noopener">Orthographic projection</a> is a way to use two-dimensional space to represent three-dimensional objects. In Microsoft Power BI, this 3D effect can be achieved quite easily if you have a set of coordinates in three separate columns that compose (x,y,z). In the following sample, I used a dataset with coordinates taken from the profile of a human face and built a report that allows users to rotate the face along three axes.</p><p><img
data-attachment-id="8244" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-projection-in-power-bi-dataveld/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?fit=2175%2C1222&amp;ssl=1" data-orig-size="2175,1222" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic Projection in Power BI &#8211; DataVeld" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?fit=300%2C169&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?fit=640%2C359&amp;ssl=1" class="alignnone size-full wp-image-8244" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?resize=640%2C360&#038;ssl=1" alt="" width="640" height="360" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?w=2175&amp;ssl=1 2175w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?resize=300%2C169&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?resize=768%2C431&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?resize=1024%2C575&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?w=1280&amp;ssl=1 1280w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Projection-in-Power-BI-DataVeld.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>Let&#8217;s take a look at how to build it.</p><h2>Data</h2><p>Obtain a dataset that has coordinates in three separate columns. In my case, I needed to add an Index column so that I could break out all of the points into unique rows once added to a visual in Power BI. Your data might look something like this:</p><p><img
data-attachment-id="8245" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-data/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?fit=747%2C675&amp;ssl=1" data-orig-size="747,675" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic Data" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?fit=300%2C271&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?fit=640%2C578&amp;ssl=1" class="alignnone size-full wp-image-8245" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?resize=640%2C578&#038;ssl=1" alt="" width="640" height="578" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?w=747&amp;ssl=1 747w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Data.png?resize=300%2C271&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>What-If Parameters</h2><p>The dynamic rotation relies on &#8220;what-if&#8221; parameters. Add three &#8220;what-if&#8221; parameters corresponding to the three axes. In my case, I used possible rotation values of -90 to 90 degrees, but you could use anything from 0 to 360, -180 to 180, etc. Be sure to leave the option to &#8220;Add slicer to this page&#8221; checked. Having the slicers is what enables users to dynamically rotate your object.</p><p><img
data-attachment-id="8246" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-what-if-parameter/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?fit=1520%2C867&amp;ssl=1" data-orig-size="1520,867" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic What If Parameter" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?fit=300%2C171&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?fit=640%2C365&amp;ssl=1" class="alignnone size-full wp-image-8246" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?resize=640%2C365&#038;ssl=1" alt="" width="640" height="365" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?w=1520&amp;ssl=1 1520w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?resize=300%2C171&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?resize=768%2C438&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?resize=1024%2C584&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?resize=220%2C126&amp;ssl=1 220w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-What-If-Parameter.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>X and Y Measures</h2><p>The projection from three coordinates to a 2D plane is achieved by adding the following two measures. Be sure to adjust the column references and what-if parameter names at the top to correspond to your own data.</p><p>Here&#8217;s my &#8220;Ortho x&#8221; measure. The initial six bold values are what you&#8217;d need to adjust to your own data and parameter names.</p><div><pre>Ortho x = 
VAR x =
    MIN ( <strong>Coordinates[x]</strong> )
VAR y =
    MIN ( <strong>Coordinates[y]</strong> )
VAR z =
    MIN ( <strong>Coordinates[z]</strong> )
VAR xDegrees =
    RADIANS ( <strong>'X Rotation'[X Rotation Value]</strong> )
VAR yDegrees =
    RADIANS (<strong> 'Y Rotation'[Y Rotation Value]</strong> )
VAR zDegrees =
    RADIANS ( <strong>'Z Rotation'[Z Rotation Value]</strong> )
VAR x0 = x
VAR y0 =
    y * COS ( xDegrees )
        + z * SIN ( xDegrees )
VAR z0 =
    z * COS ( xDegrees )
      - y * SIN ( xDegrees )
VAR x1 =
    x0 * COS ( yDegrees )
        - z0 * SIN ( yDegrees )
VAR y1 = y0
VAR finalX =
    x1 * COS ( zDegrees )
        + y1 * SIN ( zDegrees )
RETURN
    finalX</pre></div><p>Here&#8217;s my &#8220;Ortho y&#8221; measure. Again, the initial six bold values are what you&#8217;d need to adjust to your own data and parameter names.</p><div><pre>Ortho y = 
VAR x =
    MIN ( <strong>Coordinates[x]</strong> )
VAR y =
    MIN ( <strong>Coordinates[y]</strong> )
VAR z =
    MIN ( <strong>Coordinates[z]</strong> )
VAR xDegrees =
    RADIANS ( <strong>'X Rotation'[X Rotation Value]</strong> )
VAR yDegrees =
    RADIANS ( <strong>'Y Rotation'[Y Rotation Value]</strong> )
VAR zDegrees =
    RADIANS ( <strong>'Z Rotation'[Z Rotation Value]</strong> )
VAR x0 = x
VAR y0 =
    y * COS ( xDegrees )
        + z * SIN ( xDegrees )
VAR z0 =
    z * COS ( xDegrees )
        - y * SIN ( xDegrees )
VAR x1 =
    x0 * COS ( yDegrees )
        - z0 * SIN ( yDegrees )
VAR y1 = y0
VAR finalY =
    y1 * COS ( zDegrees )
        - x1 * SIN ( zDegrees )
RETURN
    finalY</pre></div><h2>Scatter Chart</h2><p>Once you have the two new X and Y measures, add a scatter chart visual to the report. Drag your X measure to the <em>X Axis</em>, Y measure to the <em>Y Axis</em>, and whatever you use for a unique index to <em>Detail</em>.</p><p><img
data-attachment-id="8247" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-scatter-chart-setup/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?fit=890%2C1247&amp;ssl=1" data-orig-size="890,1247" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic Scatter Chart Setup" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?fit=214%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?fit=640%2C897&amp;ssl=1" class="alignnone size-full wp-image-8247" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?resize=640%2C897&#038;ssl=1" alt="" width="640" height="897" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?w=890&amp;ssl=1 890w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?resize=214%2C300&amp;ssl=1 214w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?resize=768%2C1076&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Scatter-Chart-Setup.png?resize=731%2C1024&amp;ssl=1 731w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>Conditional Formatting</h2><p>To give a better visual appearance to depth along the z axis, add conditional formatting to the scatter chart. Go to <em>Format</em> and expand <em>Data Colors</em>. Hover over the area and click on the <em>[&#8230;]</em> that appears, and then select <em>Conditional Formatting.</em></p><p><img
data-attachment-id="8249" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-conditional-formatting/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?fit=840%2C850&amp;ssl=1" data-orig-size="840,850" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic Conditional Formatting" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?fit=296%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?fit=640%2C648&amp;ssl=1" class="alignnone size-full wp-image-8249" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?resize=640%2C648&#038;ssl=1" alt="" width="640" height="648" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?w=840&amp;ssl=1 840w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?resize=296%2C300&amp;ssl=1 296w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?resize=768%2C777&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting.png?resize=50%2C50&amp;ssl=1 50w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>Since my depth column is simply named <strong>z</strong>, I chose to base the color scale on &#8220;sum of z&#8221;. Choose your own field as appropriate. Select a color scale that you would like and any other options before clicking OK.</p><p><img
data-attachment-id="8248" data-permalink="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/orthographic-conditional-formatting-2/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?fit=2270%2C1052&amp;ssl=1" data-orig-size="2270,1052" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Orthographic Conditional Formatting 2" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?fit=300%2C139&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?fit=640%2C297&amp;ssl=1" class="alignnone size-full wp-image-8248" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?resize=640%2C297&#038;ssl=1" alt="" width="640" height="297" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?w=2270&amp;ssl=1 2270w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?resize=300%2C139&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?resize=768%2C356&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?resize=1024%2C475&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?w=1280&amp;ssl=1 1280w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/09/Orthographic-Conditional-Formatting-2.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>Finally, I adjusted some other format options like <strong>Shape</strong> to reduce the point size. With everything built, I now had a &#8220;face&#8221; in my data that took the 3D coordinates from my original dataset and projected onto the 2D Power BI scatter chart.</p><h2>Try it!</h2><p>Here&#8217;s a live version of the report to try out, and you can download the <a
href="https://community.powerbi.com/t5/Data-Stories-Gallery/Orthographic-Projection-in-Power-BI/td-p/786173" target="_blank" rel="noopener">sample PBIX file from the Data Stories Gallery</a>.</p><p><iframe
src="https://app.powerbi.com/view?r=eyJrIjoiZGFhNTMzNWEtYzE4OS00MGM3LWE5YjgtYzg1N2U4YzA3Mjk0IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9" width="800" height="600" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/">3D Effect with Orthographic Projection in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/09/07/3d-effect-with-orthographic-projection-in-power-bi/feed/</wfw:commentRss> <slash:comments>6</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8243</post-id> </item> <item><title>Videos for the Power BI Periodic Table of the Elements</title><link>https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/</link> <comments>https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/#respond</comments> <pubDate>Thu, 05 Sep 2019 01:56:54 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8231</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&#60; 1</span> <span
class="rt-label rt-postfix">minute</span></span> A few days ago, I published my Power BI Periodic Table of the Elements visualization to the Data Stories Gallery. I have received a few requests since then asking about certain aspects of the report. In the following YouTube videos,...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/">Videos for the Power BI Periodic Table of the Elements</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&lt; 1</span> <span
class="rt-label rt-postfix">minute</span></span>A few days ago, I published my Power BI <a
href="https://community.powerbi.com/t5/Data-Stories-Gallery/Periodic-Table-of-the-Elements-Back-to-School/td-p/780804" target="_blank" rel="noopener">Periodic Table of the Elements</a> visualization to the Data Stories Gallery. I have received a few requests since then asking about certain aspects of the report. In the following YouTube videos, I step through some basic building blocks that combine together to make the final report what it is: <a
href="https://www.youtube.com/playlist?list=PLxFFq1aRi7xvEf9b3EOlrQOQX0tsYbaT2" target="_blank" rel="noopener">https://www.youtube.com/playlist?list=PLxFFq1aRi7xvEf9b3EOlrQOQX0tsYbaT2</a></p><p>While there is more to the report than what the videos cover, the primary areas of interest include:</p><ul><li>Report page tooltip &#8211; additional filtered visuals appear in the tooltip when hovering over an element</li><li>Bookmarks and Buttons &#8211; navigation is controlled via Bookmarks, which are called by the Trends, Compare, and Back buttons</li><li>Conditional formatting with selectable measure values &#8211; the periodic table uses a scatter plot with conditional formatting, but there are several measures at work and not a single one</li><li>Dynamic axes &#8211; a scatterplot has dynamic values for both the X and Y axis rather than a static selection</li></ul><p><a
href="https://www.youtube.com/playlist?list=PLxFFq1aRi7xvEf9b3EOlrQOQX0tsYbaT2" target="_blank" rel="noopener"><img
data-attachment-id="8232" data-permalink="https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/power-bi-periodic-table-playlist/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?fit=1977%2C1272&amp;ssl=1" data-orig-size="1977,1272" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Periodic Table Playlist" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?fit=300%2C193&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?fit=640%2C412&amp;ssl=1" class="alignnone wp-image-8232 size-full" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?resize=640%2C412&#038;ssl=1" alt="" width="640" height="412" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?w=1977&amp;ssl=1 1977w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?resize=300%2C193&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?resize=768%2C494&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?resize=1024%2C659&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?w=1280&amp;ssl=1 1280w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/09/Power-BI-Periodic-Table-Playlist.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></a></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/">Videos for the Power BI Periodic Table of the Elements</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/09/04/videos-for-the-power-bi-periodic-table-of-the-elements/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8231</post-id> </item> <item><title>Power BI Blogmap at PowerBI.World</title><link>https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/</link> <comments>https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/#comments</comments> <pubDate>Sun, 04 Aug 2019 14:40:20 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Blogmap]]></category> <category><![CDATA[PowerBI]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8199</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&#60; 1</span> <span
class="rt-label rt-postfix">minute</span></span> I recently added a Power BI &#8220;Blogmap&#8221; at https://powerbi.world/. The blogmap curates a list of Power BI-related blogs that I regularly follow. I&#8217;ve come to rely on it as a primary way to view current events in the Power BI world...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/">Power BI Blogmap at PowerBI.World</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&lt; 1</span> <span
class="rt-label rt-postfix">minute</span></span>I recently added a Power BI &#8220;Blogmap&#8221; at <a
href="https://powerbi.world/" target="_blank" rel="noopener">https://powerbi.world/</a>. The blogmap curates a list of Power BI-related blogs that I regularly follow. I&#8217;ve come to rely on it as a primary way to view current events in the Power BI world at one easy to recall URL.</p><p>The Power BI Blogmap is based on the Google News &#8220;Newsmap&#8221; treemap from about 15 years ago. The idea is a simple adaptation:</p><ul><li>There is a weight assigned to the recency of posts.</li><li>Individual blogs are different colored categories.</li><li>The categories display the last ten posts for each blog.</li><li>Posts published in the last 24 hours have the highest weight and will have the largest individual rectangles.</li><li>Overall size and position of the individual blogs within the treemap are driven by the <em>overall</em> recency of the last ten posts.</li><li>The blogmap refreshes every four hours.</li></ul><p>Click the image below to visit <a
href="https://powerbi.world/" target="_blank" rel="noopener">https://powerbi.world/</a> to check it out!</p><p><a
href="https://powerbi.world/" target="_blank" rel="noopener"><img
data-attachment-id="8201" data-permalink="https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/power-bi-blogmap-at-powerbi-world/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?fit=2357%2C1620&amp;ssl=1" data-orig-size="2357,1620" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Blogmap at PowerBI.World" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?fit=300%2C206&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?fit=640%2C440&amp;ssl=1" class="alignnone size-full wp-image-8201" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?resize=640%2C440&#038;ssl=1" alt="" width="640" height="440" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?w=2357&amp;ssl=1 2357w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?resize=300%2C206&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?resize=768%2C528&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?resize=1024%2C704&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?w=1280&amp;ssl=1 1280w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Blogmap-at-PowerBI.World_.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></a></p><blockquote
class="wp-embedded-content" data-secret="LZTaXpmzSp"><p><a
href="https://powerbi.world/"></a></p></blockquote><p><iframe
class="wp-embedded-content" sandbox="allow-scripts" security="restricted" title="&#8220;&#8221; &#8212; Power BI World" src="https://powerbi.world/embed/#?secret=LZTaXpmzSp" data-secret="LZTaXpmzSp" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe></p><p><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br
/> <br
/> <ins
class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5931835938684253"
data-ad-slot="6104236328"
data-ad-format="auto"
data-full-width-responsive="true"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br
/> <br
/> <ins
class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-5931835938684253"
data-ad-slot="4694564695"
data-ad-format="auto"
data-full-width-responsive="true"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/">Power BI Blogmap at PowerBI.World</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/08/04/power-bi-blogmap-at-powerbi-world/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8199</post-id> </item> <item><title>Data Sonification in Power BI</title><link>https://dataveld.com/2019/08/03/data-sonification-in-power-bi/</link> <comments>https://dataveld.com/2019/08/03/data-sonification-in-power-bi/#comments</comments> <pubDate>Sat, 03 Aug 2019 13:00:44 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Data Sonification]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8179</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span> Data sonification uses variations in audio to hear differences in data values. From an accessibility standpoint, data sonification offers another potential avenue to enrich your reports beyond methods pertaining to data visualization. There are a few pieces that need to be assembled...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/">Data Sonification in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">5</span> <span
class="rt-label rt-postfix">minutes</span></span>Data <a
href="https://en.wikipedia.org/wiki/Sonification" target="_blank" rel="noopener">sonification</a> uses variations in audio to <em>hear</em> differences in data values. From an accessibility standpoint, data sonification offers another potential avenue to enrich your reports beyond methods pertaining to data visualization.</p><p>There are a few pieces that need to be assembled to enable data sonification that works in both Power BI Desktop and Service. While, <a
href="https://dataveld.com/2017/12/24/adding-audio-or-video-to-a-power-bi-report/" target="_blank" rel="noopener">audio has been used</a> in the Power BI Service for awhile, Power BI Desktop has been silent until now. This post attempts to show how to produce audio tones in Power BI for greater accessibility. It also demonstrates how to blend data with a standard range of audio pitches.</p><p>An embedded sample appears below. Note that audio in Publish to Web reports embedded into a page may not work, so it would be best to use this direct link to try the sample: <a
href="https://app.powerbi.com/view?r=eyJrIjoiMGFkYjVjNjYtOWZlZi00Y2E5LTk2YWQtYmZlMzk1MWRkY2Y5IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9" target="_blank" rel="noopener">https://app.powerbi.com/view?r=eyJrIjoiMGFkYjVjNjYtOWZlZi00Y2E5LTk2YWQtYmZlMzk1MWRkY2Y5IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9</a></p><p><iframe
src="https://app.powerbi.com/view?r=eyJrIjoiMGFkYjVjNjYtOWZlZi00Y2E5LTk2YWQtYmZlMzk1MWRkY2Y5IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9" width="800" height="600" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p><p>&nbsp;</p><p>In addition, most browsers now limit Autoplay for sound, but this setting can be allowed in both Chrome and Firefox using an icon near the address bar. Try changing the setting to allow sound and then refresh the page.</p><h2><img
data-attachment-id="8194" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/browser-autoplay-blocked-firefox/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?fit=997%2C995&amp;ssl=1" data-orig-size="997,995" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Browser AutoPlay Blocked Firefox" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?fit=300%2C300&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?fit=640%2C639&amp;ssl=1" class="alignnone size-full wp-image-8194" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?resize=640%2C639&#038;ssl=1" alt="" width="640" height="639" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?w=997&amp;ssl=1 997w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?resize=150%2C150&amp;ssl=1 150w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?resize=300%2C300&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?resize=768%2C766&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Firefox.png?resize=50%2C50&amp;ssl=1 50w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></h2><h2><img
data-attachment-id="8193" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/browser-autoplay-blocked-chrome/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?fit=995%2C647&amp;ssl=1" data-orig-size="995,647" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Browser AutoPlay Blocked Chrome" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?fit=300%2C195&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?fit=640%2C416&amp;ssl=1" class="alignnone size-full wp-image-8193" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?resize=640%2C416&#038;ssl=1" alt="" width="640" height="416" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?w=995&amp;ssl=1 995w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?resize=300%2C195&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Browser-AutoPlay-Blocked-Chrome.png?resize=768%2C499&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></h2><h2>Audio Frequencies</h2><p>In this sample, low pitch corresponds to low data values while higher pitch corresponds to higher values. The sample represents a range of frequencies from 130.81Hz to 2093Hz, which aligns with musical notes C3 to C7.</p><p><img
data-attachment-id="8182" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/power-bi-sonification-frequencies/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?fit=2665%2C1060&amp;ssl=1" data-orig-size="2665,1060" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Sonification &#8211; Frequencies" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?fit=300%2C119&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?fit=640%2C254&amp;ssl=1" class="alignnone size-full wp-image-8182" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?resize=640%2C255&#038;ssl=1" alt="" width="640" height="255" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?w=2665&amp;ssl=1 2665w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?resize=300%2C119&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?resize=768%2C305&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?resize=1024%2C407&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?w=1280&amp;ssl=1 1280w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Sonification-Frequencies.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>I generated a series of Wav files at the appropriate tones and stored them in a local folder for later import into Power BI. I&#8217;ve placed my core set of files from this solution into a GitHub repository here: <a
href="https://github.com/deldersveld/datasonification" target="_blank" rel="noopener">https://github.com/deldersveld/datasonification</a></p><h2>HTMLViewer with HTML5 Audio</h2><p>As with <a
href="https://dataveld.com/2017/12/24/adding-audio-or-video-to-a-power-bi-report/">past audio solutions</a> in Power BI, attempting data sonification in Power BI relies upon the use of the HTMLViewer custom visual along with the &lt;audio&gt; HTML tag. The format is fairly basic and only requires a <strong>src</strong> and <strong>autoplay </strong>specified.</p><pre>&lt;audio autoplay src='[...]'&gt;&lt;/audio&gt;</pre><p>Autoplay is important in this case because users would otherwise need to click &#8220;play&#8221; on visible audio controls for every data point. Using autoplay may have an impact in Publish to Web reports on Google Chrome, but it seems to work fine with reports published to the Service otherwise in Chrome. Firefox and the Chromium version of Microsoft Edge worked fine for me when tested.</p><h2>Imported Base64 Audio in Power BI</h2><p>The method imports audio into the data model rather than relying on hosted files. This allows the audio to play in Power BI Desktop as well as Service. Desktop never traditionally played audio from hosted wav or mp3 files well.</p><p>The technique is the same one used for Base64 images. It relies on converting wav audio files to Base64 and prefixing the converted audio with a data URI.</p><pre>data:audio/wav;base64,
data:audio/mp3;base64,</pre><p>In the Power Query Editor, the key steps are to get data from a <em>folder</em> containing Wav files (or MP3) and then concatenate the HTML audio tag text around the Base64-converted binary.</p><pre>let
    Source = Folder.Files("C:\Data\Wav"),
    #"Added Custom" = Table.AddColumn(Source, "HTMLAudioBase64", each "&lt;audio autoplay src='data:audio/wav;base64," &amp; Binary.ToText([Content],BinaryEncoding.Base64) &amp; "'&gt;&lt;/audio&gt;")
in
    #"Added Custom"</pre><p>As with Base64 images, however, there is a tradeoff. The column containing audio cannot exceed the character limit of a Power BI text field, which is roughly 32,000 characters. <span
style="font-size: 13px;">This limitation means that imported audio is limited to short durations and small sample rates. You will not be playing music with this method. The sine tones used in my sample are only 8kHz and .25 seconds in duration.</span></p><p>My final imported table contains the audio column along with Frequency, a label for the associated note at that frequency, and an index column used for sorting and a table join that is independent of frequency.</p><p><img
data-attachment-id="8184" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/power-bi-wav-table-data-sonification/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?fit=1432%2C465&amp;ssl=1" data-orig-size="1432,465" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Wav Table Data Sonification" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?fit=300%2C97&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?fit=640%2C208&amp;ssl=1" class="alignnone size-full wp-image-8184" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?resize=640%2C208&#038;ssl=1" alt="" width="640" height="208" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?w=1432&amp;ssl=1 1432w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?resize=300%2C97&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?resize=768%2C249&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?resize=1024%2C333&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Wav-Table-Data-Sonification.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><h2>Joining Another Table to an Audio Table</h2><p>Once I have a table containing the audio, I join the audio to the data I want to sonify. I intentionally deviate from two &#8220;best practices&#8221;: the use of <strong>calculated columns</strong> and <strong>cross filter direction</strong>. Since this is a special case, there is no regret of course.</p><p>How can numeric data with a wide variation of values align with audio frequencies? The DAX formula for the calculated column maps data values proportionally to available audio values. Wrapping CEILING around the formula rounds the number to an integer so that it can be joined to the index column in the audio table.</p><div><pre>Audio Join =
VAR __minAudio = MIN(Wav[Sort])
VAR __maxAudio = MAX(Wav[Sort])
RETURN CEILING(DIVIDE(Superstore[Sales],MAX(Superstore[Sales]) - MIN(Superstore[Sales])) * (__maxAudio - __minAudio),1)</pre><div></div></div><p>Since this relies on the numeric measure field coded into the calculated column, it reduces flexibility. Visuals that rely on additional filtering in explicit measures will not &#8220;play&#8221; appropriately. Data sonification is indeed a special case. You need to sacrifice some interactivity by structuring the table to correspond to values in the final visual. For example, perhaps you have a transaction table with orders and sales at the grain of Order ID. To apply data sonification to a Sales by Order Date, you would need to create a summary table with SUM(Sales) grouped by Order Date.</p><p>The audio is on the 1 side of a 1:* relationship, and the audio column needs to filter along with the visual data. To facilitate the appropriate filtering to the correct frequency, the cross filter direction on the relationship needs to be <strong>Both</strong>.</p><p><img
data-attachment-id="8185" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/power-bi-data-sonification-relationship/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?fit=1645%2C1275&amp;ssl=1" data-orig-size="1645,1275" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Data Sonification Relationship" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?fit=300%2C233&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?fit=640%2C496&amp;ssl=1" class="alignnone size-full wp-image-8185" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?resize=640%2C496&#038;ssl=1" alt="" width="640" height="496" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?w=1645&amp;ssl=1 1645w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?resize=300%2C233&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?resize=768%2C595&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?resize=1024%2C794&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Relationship.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h2>Visualization Setup</h2><p>With the data model in place, the next step is to obtain the <strong>HTML Viewer</strong> custom visual from the Marketplace and add it to the report canvas. Add the column that contains HTML audio to the visual.</p><p>The &#8220;Bottom 1&#8221; visual level filter on the HTML Viewer visual ends up being important. Power BI (really the HTML Viewer) plays all audio in the column whenever there is no selection. The visual level filter set to Bottom 1 prevents 30 tones from playing at once on report load or when the data tones finish playing. I chose Bottom 1 instead of Top 1 because the lowest pitch is less noticeable and more tolerable to my ears than the highest pitch.</p><p>Since I did not specify <em>controls</em> in the &lt;audio&gt; tag, nothing appears visually on the report. In general with audio, it would be a good practice to show, but I did not include it since the audio sequence is going to be controlled separately.</p><p><img
data-attachment-id="8187" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/power-bi-data-sonification-html-viewer-setup/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?fit=2132%2C1320&amp;ssl=1" data-orig-size="2132,1320" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Data Sonification HTML Viewer Setup" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?fit=300%2C186&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?fit=640%2C396&amp;ssl=1" class="alignnone size-full wp-image-8187" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?resize=640%2C396&#038;ssl=1" alt="" width="640" height="396" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?w=2132&amp;ssl=1 2132w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?resize=300%2C186&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?resize=768%2C475&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?resize=1024%2C634&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?w=1280&amp;ssl=1 1280w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-HTML-Viewer-Setup.png?w=1920&amp;ssl=1 1920w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>Obtain the <strong>Play Axis</strong> custom visual from the Marketplace and add it to the report canvas. Add the column that corresponds to the <em>axis</em> on the sonified visual. In my case, the main visual consists of Sales by Order Date, so the Play Axis visual needs Order Date.</p><p><img
data-attachment-id="8188" data-permalink="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/power-bi-data-sonification-play-axis-setup/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?fit=997%2C572&amp;ssl=1" data-orig-size="997,572" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Data Sonification Play Axis Setup" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?fit=300%2C172&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?fit=640%2C367&amp;ssl=1" class="alignnone size-full wp-image-8188" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?resize=640%2C367&#038;ssl=1" alt="" width="640" height="367" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?w=997&amp;ssl=1 997w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?resize=300%2C172&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?resize=768%2C441&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/08/Power-BI-Data-Sonification-Play-Axis-Setup.png?resize=220%2C126&amp;ssl=1 220w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>Turn on the volume and hit play!</p><h2>Sample PBIX</h2><p>Download the PBIX file from GitHub or the Power BI Data Stories Gallery:</p><p><a
href="https://github.com/deldersveld/PowerBISamples/blob/master/Data%20Sonification.pbix" target="_blank" rel="noopener">https://github.com/deldersveld/PowerBISamples/blob/master/Data%20Sonification.pbix</a></p><p><a
href="https://community.powerbi.com/t5/Data-Stories-Gallery/Data-Sonification/td-p/756842" target="_blank" rel="noopener">https://community.powerbi.com/t5/Data-Stories-Gallery/Data-Sonification/td-p/756842</a></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script><br
/><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/08/03/data-sonification-in-power-bi/">Data Sonification in Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/08/03/data-sonification-in-power-bi/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8179</post-id> </item> <item><title>Build a Basic Power BI Accordion Filter (or Don&#8217;t)</title><link>https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/</link> <comments>https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/#respond</comments> <pubDate>Sat, 22 Jun 2019 15:01:19 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Accordion]]></category> <category><![CDATA[Filter]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8155</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span> An accordion for a user interface is a control that expands a relevant section when a user makes a selection and collapses other sections that are not in focus. Whether you use slicers, filters in the filter pane, or crossfilter...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/">Build a Basic Power BI Accordion Filter (or Don&#8217;t)</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span>An <a
href="https://en.wikipedia.org/wiki/Accordion_(GUI)" target="_blank" rel="noopener">accordion</a> for a user interface is a control that expands a relevant section when a user makes a selection and collapses other sections that are not in focus. Whether you use slicers, filters in the filter pane, or crossfilter by selecting elements of visuals; Power BI has extensive versatility to filter data. The &#8220;accordion&#8221;-style filter for Power BI shown below can be used with either slicers or visuals. The sample I built allows users to click a bar on a bar chart, but almost any visual could work in its place.</p><p><img
data-attachment-id="8156" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/power-bi-accordion-filter/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Power-BI-Accordion-Filter.gif?fit=800%2C436&amp;ssl=1" data-orig-size="800,436" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Power BI Accordion Filter" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Power-BI-Accordion-Filter.gif?fit=300%2C164&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Power-BI-Accordion-Filter.gif?fit=640%2C349&amp;ssl=1" class="alignnone size-full wp-image-8156" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Power-BI-Accordion-Filter.gif?resize=640%2C349&#038;ssl=1" alt="" width="640" height="349" data-recalc-dims="1" /></p><h3>Try It!</h3><p>What is unique for the user is not the way the primary visual is filtered by other visuals&#8211;it&#8217;s how the filters are presented using an accordion-like control.</p><p>Try it out live:</p><p><iframe
src="https://app.powerbi.com/view?r=eyJrIjoiN2JjYjZjZmYtYjg4My00YzkwLTlmYjYtZjc1MGEwMzhiYTk3IiwidCI6ImFjYzhhYWE1LWYxOTEtNDgyZi05MjFiLWNmNmMzM2E1ODgzMiIsImMiOjF9" width="933" height="700" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><h3>Filter Pane</h3><p>If you use Power BI&#8217;s recently released Filter Pane, you should notice that filters on that pane behave in a similar manner. Accordions are not novel&#8211;they&#8217;re ubiquitous in many different types of applications. The approach that I took for the custom accordion filter would be like adding the ability to use any type of visual with Power BI&#8217;s Filter Pane.</p><p><img
data-attachment-id="8172" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/filter-pane-accordion/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Filter-Pane-Accordion.gif?fit=234%2C600&amp;ssl=1" data-orig-size="234,600" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Filter Pane Accordion" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Filter-Pane-Accordion.gif?fit=117%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Filter-Pane-Accordion.gif?fit=234%2C600&amp;ssl=1" class="alignnone size-full wp-image-8172" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Filter-Pane-Accordion.gif?resize=234%2C600&#038;ssl=1" alt="" width="234" height="600" data-recalc-dims="1" /></p><h3></h3><h3>Custom Accordion</h3><p>The Power BI custom accordion relies on <strong>Bookmarks</strong> and <strong>Buttons</strong> as key elements. I&#8217;ve only created two categories in my accordion. I&#8217;ll be honest&#8211;it&#8217;s probably more work than it&#8217;s worth to keep track of different buttons due to positions as well as what&#8217;s visible or hidden for each bookmark. The thought of expanding to three categories is a bit daunting. Why is that?</p><h3>Bookmarks</h3><p>If you have worked with bookmarks in Power BI, you might already be able to guess what the bookmarked setup visibly looks like. For this sample, there are three bookmarks:</p><p>The <strong>Main</strong> bookmark has the accordion elements collapsed.</p><p><img
data-attachment-id="8162" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/bookmark-main/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?fit=975%2C455&amp;ssl=1" data-orig-size="975,455" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Bookmark Main" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?fit=300%2C140&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?fit=640%2C299&amp;ssl=1" class="alignnone size-full wp-image-8162" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?resize=640%2C299&#038;ssl=1" alt="" width="640" height="299" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?w=975&amp;ssl=1 975w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?resize=300%2C140&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Main.png?resize=768%2C358&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>The <strong>State Expanded </strong>bookmark shows the State bar chart <em>and </em>moves the position of the Year button.</p><p><img
data-attachment-id="8161" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/bookmark-state-expanded/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?fit=969%2C952&amp;ssl=1" data-orig-size="969,952" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Bookmark State Expanded" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?fit=300%2C295&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?fit=640%2C629&amp;ssl=1" class="alignnone size-full wp-image-8161" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?resize=640%2C629&#038;ssl=1" alt="" width="640" height="629" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?w=969&amp;ssl=1 969w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?resize=300%2C295&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?resize=768%2C755&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-State-Expanded.png?resize=50%2C50&amp;ssl=1 50w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>The <strong>Year Expanded</strong> button shows the Year bar chart.</p><p><img
data-attachment-id="8160" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/bookmark-year-expanded/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?fit=975%2C889&amp;ssl=1" data-orig-size="975,889" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Bookmark Year Expanded" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?fit=300%2C274&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?fit=640%2C584&amp;ssl=1" class="alignnone size-full wp-image-8160" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?resize=640%2C584&#038;ssl=1" alt="" width="640" height="584" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?w=975&amp;ssl=1 975w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?resize=300%2C274&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/Bookmark-Year-Expanded.png?resize=768%2C700&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><h3>Buttons</h3><p>The bookmarks seem straightforward, right? It&#8217;s simply a matter of showing or hiding certain objects as with any bookmark toggle.</p><p>The need for several different button objects and positions is where a higher level of complexity comes in though.</p><p>There are actually <em>two</em> overlaid <strong>State</strong> buttons, not a single State button. That is because the <em>Action</em> setting of the button is not &#8220;bookmarkable&#8221;. A single button cannot currently launch two different bookmarks. Therefore, the main <strong>State Button</strong> has an <em>action</em> to view the <strong>State Expanded</strong> bookmark and the <strong>State Reset</strong> button has an action to view the <strong>Main</strong> bookmark. Depending on whether the user is in <strong>Main</strong> or <strong>State Expanded</strong>, only <em>one </em>of the state buttons will be visible at a time.</p><p><img
data-attachment-id="8165" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/state-button-main/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?fit=903%2C432&amp;ssl=1" data-orig-size="903,432" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="State Button Main" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?fit=300%2C144&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?fit=640%2C306&amp;ssl=1" class="alignnone size-full wp-image-8165" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?resize=640%2C306&#038;ssl=1" alt="" width="640" height="306" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?w=903&amp;ssl=1 903w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?resize=300%2C144&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-Main.png?resize=768%2C367&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="8164" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/state-button-state-expanded/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?fit=904%2C422&amp;ssl=1" data-orig-size="904,422" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="State Button State Expanded" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?fit=300%2C140&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?fit=640%2C299&amp;ssl=1" class="alignnone size-full wp-image-8164" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?resize=640%2C299&#038;ssl=1" alt="" width="640" height="299" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?w=904&amp;ssl=1 904w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?resize=300%2C140&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/State-Button-State-Expanded.png?resize=768%2C359&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>The <strong>Year </strong>button is more complex because of the position change with the <strong>State</strong> <strong>Expanded </strong>bookmark. The Year button shifts downward to allow room for the State bar chart. As a result, there are two buttons in the initial position (one for choosing the <strong>Year Expanded </strong>bookmark and one for resetting to the <strong>Main </strong>bookmark). There is an <em>additional </em>year button in the lower position for when the <strong>State Expanded</strong> bookmark is in use.</p><p><img
data-attachment-id="8168" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/year-button-main/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?fit=1257%2C613&amp;ssl=1" data-orig-size="1257,613" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Year Button Main" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?fit=300%2C146&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?fit=640%2C312&amp;ssl=1" class="alignnone size-full wp-image-8168" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?resize=640%2C312&#038;ssl=1" alt="" width="640" height="312" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?w=1257&amp;ssl=1 1257w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?resize=300%2C146&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?resize=768%2C375&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Main.png?resize=1024%2C499&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="8167" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/year-button-state-expanded/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?fit=1261%2C619&amp;ssl=1" data-orig-size="1261,619" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Year Button State Expanded" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?fit=300%2C147&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?fit=640%2C314&amp;ssl=1" class="alignnone size-full wp-image-8167" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?resize=640%2C314&#038;ssl=1" alt="" width="640" height="314" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?w=1261&amp;ssl=1 1261w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?resize=300%2C147&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?resize=768%2C377&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-State-Expanded.png?resize=1024%2C503&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><img
data-attachment-id="8166" data-permalink="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/year-button-year-expanded/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?fit=1257%2C616&amp;ssl=1" data-orig-size="1257,616" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Year Button Year Expanded" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?fit=300%2C147&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?fit=640%2C314&amp;ssl=1" class="alignnone size-full wp-image-8166" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?resize=640%2C314&#038;ssl=1" alt="" width="640" height="314" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?w=1257&amp;ssl=1 1257w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?resize=300%2C147&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?resize=768%2C376&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/06/Year-Button-Year-Expanded.png?resize=1024%2C502&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>I hope you can appreciate why I only tried this with two accordion selections. Three options require <i>four </i>individual buttons for the third category due to having to respond to two possible position shifts, four selections require <i>five </i>buttons for the fourth category, etc. As you can see, expanding the possibilities could be difficult to manage fairly quickly.</p><p>This post introduces the concept and is ultimately not a step by step guide to a Power BI accordion control. Please feel free to <a
href="https://github.com/deldersveld/PowerBISamples/blob/master/Accordion%20Filter%20Buttons.pbix" target="_blank" rel="noopener">download the PBIX</a> from GitHub and explore if you&#8217;d like to try to recreate this for your own report.</p><p>&nbsp;</p><p>&nbsp;</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/">Build a Basic Power BI Accordion Filter (or Don&#8217;t)</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/06/22/build-a-power-bi-accordion-filter/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8155</post-id> </item> <item><title>Paginated &#8220;Custom Visuals&#8221; in Power BI Report Builder: Part 1</title><link>https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/</link> <comments>https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/#comments</comments> <pubDate>Sun, 14 Apr 2019 22:27:00 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[Custom Visual]]></category> <category><![CDATA[Paginated]]></category> <category><![CDATA[Report Builder]]></category><guid
isPermaLink="false">https://dataveld.com/?p=8020</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span> Microsoft&#8217;s Power BI [Paginated] Report Builder is the newly rebranded version of the venerable SQL Server Report Builder. These static reports have been around for years, but there&#8217;s still some room for innovation. For example, Power BI allows designers to...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/">Paginated &#8220;Custom Visuals&#8221; in Power BI Report Builder: Part 1</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">4</span> <span
class="rt-label rt-postfix">minutes</span></span>Microsoft&#8217;s Power BI [Paginated] <a
href="https://powerbi.microsoft.com/en-us/blog/power-bi-paginated-report-builder-now-available/" target="_blank" rel="noopener">Report Builder</a> is the newly rebranded version of the venerable SQL Server Report Builder. These static reports have been around for years, but there&#8217;s still some room for innovation. For example, Power BI allows designers to import custom visuals into Desktop reports to enrich them beyond the default visual options. What do we get with paginated reports?</p><p>Paginated reports have a number of built-in chart options including tablix (table, matrix), gauge, maps, sparklines, and numerous other chart types.</p><p><img
data-attachment-id="8028" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/paginatedreportchartoptions/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?fit=1127%2C1195&amp;ssl=1" data-orig-size="1127,1195" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PaginatedReportChartOptions" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?fit=283%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?fit=640%2C678&amp;ssl=1" class="alignnone size-full wp-image-8028" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?resize=640%2C679&#038;ssl=1" alt="" width="640" height="679" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?w=1127&amp;ssl=1 1127w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?resize=283%2C300&amp;ssl=1 283w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?resize=768%2C814&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedReportChartOptions.png?resize=966%2C1024&amp;ssl=1 966w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>While there&#8217;s nothing directly akin to <em>true</em> custom visuals in Report Builder, paginated <em>&#8220;</em>custom visuals&#8221; <em>could</em> be crafted using a few different techniques. How can we create different chart types in Report Builder when they are not one of the default chart options?</p><p>As an initial example, let&#8217;s consider a waffle chart. This chart provides the proportion of a total by visually coloring a section of the grid to match the contribution to total. Most waffles consist of a 10&#215;10 grid that shows % of total using color.</p><p>The following waffle example reads from left to right.</p><p><img
data-attachment-id="8023" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/paginated-waffle-chart/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?fit=1605%2C1505&amp;ssl=1" data-orig-size="1605,1505" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Paginated Waffle Chart" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?fit=300%2C281&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?fit=640%2C600&amp;ssl=1" class="alignnone size-full wp-image-8023" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?resize=640%2C600&#038;ssl=1" alt="" width="640" height="600" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?w=1605&amp;ssl=1 1605w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?resize=300%2C281&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?resize=768%2C720&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?resize=1024%2C960&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>The following waffle example reads from bottom to top.</p><p><img
data-attachment-id="8026" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/paginated-waffle-chart-2/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?fit=1393%2C995&amp;ssl=1" data-orig-size="1393,995" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Paginated Waffle Chart 2" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?fit=300%2C214&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?fit=640%2C457&amp;ssl=1" class="alignnone size-full wp-image-8026" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?resize=640%2C457&#038;ssl=1" alt="" width="640" height="457" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?w=1393&amp;ssl=1 1393w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?resize=300%2C214&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?resize=768%2C549&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?resize=1024%2C731&amp;ssl=1 1024w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/Paginated-Waffle-Chart-2.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>&nbsp;</p><p>There are at least three ways to accomplish a waffle chart like the above examples in Report Builder:</p><h2>1) Tablix &amp; Code</h2><p>One method is to use a tablix and some VB code. Jason Thomas <a
href="http://sqljason.com/2013/02/100-visualization-in-ssrs.html" target="_blank" rel="noopener">outlined this years ago</a>. While this works for a waffle chart and perhaps other grid-style visuals, it does not have much versatility beyond the constraints of rows and columns in the tablix.</p><h2>2) Shapefile</h2><p>If you want more versatility, you can create a shapefile using a tool like ArcGIS or QGIS and add it to a Map layer. You can create any kind of design and go beyond the grid limitation of the tablix. The downside of a shapefile is that if you want to adapt it in different ways, you would need to create <em>multiple</em> shapefiles and somehow switch between them. A shapefile is static.</p><h2>3) SQL Server Spatial Query</h2><p>Another way to create &#8220;custom visuals&#8221; in Report Builder is to use either SQL geometry or geography data types in a spatial query and then add that field to a Map layer. The primary downside is that you need to use SQL Server to run everything. If you can get beyond that limitation, however, it opens up a world of opportunity.</p><p><img
data-attachment-id="8021" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/newmapsourceoptions/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?fit=1154%2C675&amp;ssl=1" data-orig-size="1154,675" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="NewMapSourceOptions" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?fit=300%2C175&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?fit=640%2C374&amp;ssl=1" class="alignnone size-full wp-image-8021" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?resize=640%2C374&#038;ssl=1" alt="" width="640" height="374" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?w=1154&amp;ssl=1 1154w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?resize=300%2C175&amp;ssl=1 300w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?resize=768%2C449&amp;ssl=1 768w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/NewMapSourceOptions.png?resize=1024%2C599&amp;ssl=1 1024w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>How&#8217;s that? Isn&#8217;t SQL geography and geometry stored in a database, so it needs to be predefined just like the shapefile would? Typically, a SQL spatial query is. The data is expressed in a <em>spatial</em> dataset and then joined to a <strong>separate</strong> <em>analytical</em> dataset.</p><p>Why not create your own spatial dataset at runtime dynamically <strong>based on</strong> your analytical dataset?</p><p><img
data-attachment-id="8035" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/paginatedwaffle/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedWaffle.gif?fit=636%2C600&amp;ssl=1" data-orig-size="636,600" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="PaginatedWaffle" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedWaffle.gif?fit=300%2C283&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedWaffle.gif?fit=636%2C600&amp;ssl=1" class="alignnone size-full wp-image-8035" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/PaginatedWaffle.gif?resize=636%2C600&#038;ssl=1" alt="" width="636" height="600" data-recalc-dims="1" /></p><p>SQL&#8217;s geography and geometry can be expressed in <a
href="https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry" target="_blank" rel="noopener">well-known text (WKT)</a> format. Points, Linestrings, Polygons, and Multipolygons can all be stated in an easy to read and parse form. With this in mind, you don&#8217;t have to start with <em>existing</em> shapes, lines, or points. You can <strong>calculate your own</strong> coordinates and build your own geographic/geometric features <em>dynamically</em> in a SQL query. This allows you to generate visuals that are data-driven rather than rely on predetermined shapefiles or SQL spatial data.</p><h2>Getting Started</h2><p>The waffle chart is a good starting example because we only need four points to draw a square polygon. Squares are also easier geometry than many types of more complex shapes to help introduce the concept of dynamically creating a spatial dataset. For simplicity, pretend we wanted to dynamically simplify the 10&#215;10 grid to 2&#215;2 grid. In the <em>n=4</em> square sample grid below, we would need to calculate the four coordinates that define the square as a polygon shape. Assuming that we&#8217;re working on a 2D plane that spans from (0,0) to (1,1), we need to determine the x and y coordinates for each square in relation to the entire grid.</p><p><img
data-attachment-id="8031" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/simplifiedwafflegrid-2/" data-orig-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?fit=811%2C904&amp;ssl=1" data-orig-size="811,904" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SimplifiedWaffleGrid" data-image-description="" data-medium-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?fit=269%2C300&amp;ssl=1" data-large-file="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?fit=640%2C713&amp;ssl=1" class="alignnone size-full wp-image-8031" src="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?resize=640%2C713&#038;ssl=1" alt="" width="640" height="713" srcset="https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?w=811&amp;ssl=1 811w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?resize=269%2C300&amp;ssl=1 269w, https://i1.wp.com/dataveld.com/wp-content/uploads/2019/04/SimplifiedWaffleGrid-1.png?resize=768%2C856&amp;ssl=1 768w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>While this 2&#215;2 grid is highly inaccurate compared to the 10&#215;10 grid, it hopefully gets the concept across.</p><p><img
data-attachment-id="8032" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/wafflewith4squares/" data-orig-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?fit=1418%2C1078&amp;ssl=1" data-orig-size="1418,1078" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="WaffleWith4Squares" data-image-description="" data-medium-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?fit=300%2C228&amp;ssl=1" data-large-file="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?fit=640%2C486&amp;ssl=1" class="alignnone size-full wp-image-8032" src="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?resize=640%2C487&#038;ssl=1" alt="" width="640" height="487" srcset="https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?w=1418&amp;ssl=1 1418w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?resize=300%2C228&amp;ssl=1 300w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?resize=768%2C584&amp;ssl=1 768w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?resize=1024%2C778&amp;ssl=1 1024w, https://i2.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith4Squares.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>How does dynamically generating the coordinates work? In the <strong>upcoming Part 2</strong> of this topic, I&#8217;ll step through the basics of how I use <a
href="https://docs.microsoft.com/en-us/sql/t-sql/queries/with-common-table-expression-transact-sql?view=sql-server-2017#guidelines-for-defining-and-using-recursive-common-table-expressions" target="_blank" rel="noopener">recursive common table expressions</a> in SQL to help generate coordinates dynamically.</p><p>Be careful though. Dynamically creating SQL Geometry or Geography is the Paginated Report Builder equivalent of <a
href="https://dataveld.com/2018/07/16/use-svg-images-in-power-bi-part-3/" target="_blank" rel="noopener">creating dynamic SVG image measures</a> in Power BI Desktop. <strong>No one</strong> asked for it, <strong>few</strong> have a use for it, it&#8217;s <strong>tough</strong> to comprehend, but it&#8217;s kind of a <em>fun</em> technique.</p><p><img
data-attachment-id="8034" data-permalink="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/wafflewith400squares/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?fit=1426%2C1120&amp;ssl=1" data-orig-size="1426,1120" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="WaffleWith400Squares" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?fit=300%2C236&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?fit=640%2C503&amp;ssl=1" class="alignnone size-full wp-image-8034" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?resize=640%2C503&#038;ssl=1" alt="" width="640" height="503" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?w=1426&amp;ssl=1 1426w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?resize=300%2C236&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?resize=768%2C603&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?resize=1024%2C804&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/WaffleWith400Squares.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/">Paginated &#8220;Custom Visuals&#8221; in Power BI Report Builder: Part 1</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/04/14/paginated-custom-visuals-in-power-bi-report-builder-part-1-dynamic-waffle/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">8020</post-id> </item> <item><title>Introducing the FUBAR Chart for Power BI</title><link>https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/</link> <comments>https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/#comments</comments> <pubDate>Mon, 01 Apr 2019 20:10:11 +0000</pubDate> <dc:creator><![CDATA[David Eldersveld]]></dc:creator> <category><![CDATA[Data Visualization]]></category> <category><![CDATA[Power BI]]></category> <category><![CDATA[FUBAR]]></category><guid
isPermaLink="false">https://dataveld.com/?p=7991</guid> <description><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&#60; 1</span> <span
class="rt-label rt-postfix">minute</span></span> The Funnel Bar (FUBAR) Chart for Power BI is a new concept that combines the versatility and inherent trustworthiness of the bar chart with the unpredictability of Power BI&#8217;s funnel visual. Why do people use funnels? It is well-established tradition...</p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/">Introducing the FUBAR Chart for Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></description> <content:encoded><![CDATA[<p><span
class="rt-reading-time" style="display: block;"><span
class="rt-label rt-prefix">Reading Time: </span> <span
class="rt-time">&lt; 1</span> <span
class="rt-label rt-postfix">minute</span></span>The Funnel Bar (FUBAR) Chart for Power BI is a new concept that combines the versatility and inherent trustworthiness of the bar chart with the unpredictability of Power BI&#8217;s funnel visual.</p><p>Why do people use funnels?</p><p>It is well-established tradition that sales reports include visuals where an axis (usually the Y axis) has bars that do not align at zero. Instead, sales &#8220;pipelines&#8221; and other entities that narrow down from 100% should be visualized with staggered bars reminiscent of a <em>physical</em> funnel.</p><p>Why add bars <em>inside</em> the funnel to form a FUBAR chart?</p><p>Bar charts add the appearance of accuracy and professionalism to any visual. People trust bar charts. By adding a series of bar charts <em>inside</em> a funnel, Power BI is now able to satisfy both data visualization purists as well as people who require the visual appeal of the funnel.</p><p>How do you read a FUBAR chart?</p><p>The funnel part of the FUBAR chart represents the total. Each bar in the bar chart shows the contribution to the total. It&#8217;s that simple.</p><p>&nbsp;</p><p><img
data-attachment-id="7992" data-permalink="https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/april-fools-power-bi-fubar-chart/" data-orig-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?fit=1451%2C642&amp;ssl=1" data-orig-size="1451,642" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="April Fools &#8211; Power BI FUBAR Chart" data-image-description="" data-medium-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?fit=300%2C133&amp;ssl=1" data-large-file="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?fit=640%2C283&amp;ssl=1" class="alignnone size-full wp-image-7992" src="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?resize=640%2C283&#038;ssl=1" alt="" width="640" height="283" srcset="https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?w=1451&amp;ssl=1 1451w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?resize=300%2C133&amp;ssl=1 300w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?resize=768%2C340&amp;ssl=1 768w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?resize=1024%2C453&amp;ssl=1 1024w, https://i0.wp.com/dataveld.com/wp-content/uploads/2019/04/April-Fools-Power-BI-FUBAR-Chart.png?w=1280&amp;ssl=1 1280w" sizes="(max-width: 640px) 100vw, 640px" data-recalc-dims="1" /></p><p>With the FUBAR chart for Power BI, now you too can share this advancement in data visualization with your organization. Add a comment below to get a link to the PBIVIZ and sample PBIX file.</p><p><strong>****<br
/> UPDATED 4/3/2019:</strong> Please note the date of post as April Fool&#8217;s Day. The FUBAR visual does not exist.</p><p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?6bfec1&amp;6bfec1"></script><br
/> <br
/> <ins
class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-5931835938684253" data-ad-slot="6104236328" data-ad-format="auto"></ins><br
/><script>(adsbygoogle=window.adsbygoogle||[]).push({});</script></p><p>The post <a
rel="nofollow" href="https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/">Introducing the FUBAR Chart for Power BI</a> appeared first on <a
rel="nofollow" href="https://dataveld.com">DataVeld</a>.</p> ]]></content:encoded> <wfw:commentRss>https://dataveld.com/2019/04/01/introducing-the-fubar-chart-for-power-bi/feed/</wfw:commentRss> <slash:comments>18</slash:comments> <post-id
xmlns="com-wordpress:feed-additions:1">7991</post-id> </item> </channel> </rss>