<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Code Titan on Medium]]></title>
        <description><![CDATA[Stories by Code Titan on Medium]]></description>
        <link>https://medium.com/@info.codetitan?source=rss-5666958f3409------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*bbVX4u907TUhaj6bCvzIOg.png</url>
            <title>Stories by Code Titan on Medium</title>
            <link>https://medium.com/@info.codetitan?source=rss-5666958f3409------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:00:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@info.codetitan/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Learn Microsoft Fabric and Copilot from Scratch]]></title>
            <link>https://medium.datadriveninvestor.com/learn-microsoft-fabric-and-copilot-from-scratch-94430ee55619?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/94430ee55619</guid>
            <category><![CDATA[fabric]]></category>
            <category><![CDATA[microsoft-copilot]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Sat, 20 Dec 2025 06:05:14 GMT</pubDate>
            <atom:updated>2026-03-26T10:00:02.315Z</atom:updated>
            <content:encoded><![CDATA[<h4>Weaving your data story with Microsoft Fabric and Copilot</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*2rtyLCyvwNRICYAxD5LRSQ.jpeg" /><figcaption>Image by Author</figcaption></figure><p>Pam’s presentation of the final report was well received by her boss, Yash, as well as the rest of the C-level executives within the organization. They immediately want to put the report into production so that department and geographic managers can begin using the insights to better manage their organization. At the same time, Yash and the other executives want to scale the report created by Pam to include years of historical information as well as future-proof the solution for many years to come. To this end, Rahul, their IT architect, has been tasked with creating a revised solution that can scale. In this article, we will deeply understand Microsoft Fabric and Copilot, and we also take a descriptive shift towards how AI helps businesses to execute efficiently and makes our data valuable and meaningful for the businesses that matter the most.</p><h3>Table of Contents</h3><ol><li>Leveraging data factory</li><li>Working with a data warehouse</li><li>Microsoft fabric items</li><li>Working with Copilot</li></ol><h3>Leveraging Data Factory</h3><p>When looking at Pam’s solution, Rahul quickly realizes that a single Excel file holding all the hours for every year and month on separate tabs is not going to scale.</p><p>Instead, Rahul decides to separate the hours for each month and year into separate files.</p><p>These files will then be placed in a single directory to provide the source of the information for Microsoft Fabric.</p><p>In addition, instead of creating a Power BI Desktop file to store the queries that access this source data, Rahul decides to use dataflows.</p><p>Dataflows are reusable queries created in the service.</p><p>These queries can then be used across multiple solutions, both within Power BI Desktop and within the service.</p><h4>To demonstrate how to use dataflows, do the following:</h4><ul><li>Download January.xlsx, February.xlsx, March.xlsx, and People and Tasks.xlsx datasets from <a href="https://www.kaggle.com/"><strong>Kaggle</strong></a>.</li><li>Create a new folder and place all three files into the folder.</li><li>Log in to the Power BI service.</li><li>Create a new workspace and assign the workspace to your Fabric trial capacity. This is done by expanding the <strong>Advanced</strong> section in the <strong>Create a workspace</strong> pane and choosing the <strong>License mode</strong> as <strong>Trial</strong>. Then click the <strong>Apply</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*K_f71THCH02TJDdWPmxo6A.png" /></figure><ul><li>While in the new workspace, click the <strong>+ New item</strong> button at the upper left of the page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*4-nZ_hHnPaik1qxMcpSbqA.png" /></figure><ul><li>In the <strong>New item</strong> pane, choose <strong>Dataflow Gen2</strong>.</li><li>Click the <strong>Create </strong>button.</li><li>You are now presented with an interface that looks almost exactly like Power Query Editor.</li><li>Choose <strong>Get data</strong> (first icon) and then <strong>More…</strong> from the <strong>Home</strong> tab of the ribbon.</li><li>In the <strong>Choose data source</strong> dialog, select <strong>Folder</strong>.</li><li>Enter the <strong>Connection settings</strong> information including the <strong>Folder path</strong>, <strong>Connection name</strong>, <strong>Data gateway</strong>, <strong>Username</strong>, and <strong>Password</strong>, and then click the <strong>Next</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*mZ7Uo_jZ2QJJLuULSna_Yw.png" /></figure><ul><li>On the <strong>Preview</strong> folder data dialog, click the <strong>Combine</strong> button.</li><li>In the <strong>Combine files </strong>dialog, keep <strong>Example file </strong>as <strong>First file</strong> and choose the <strong>Hours</strong> table.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*3YOl-Bcd_xZpRjf8-4gmBQ.png" /></figure><ul><li>Click on the <strong>Create</strong> button.</li><li>Additional transformations can now be applied to the data. However, in this case, simply rename the dataflow by clicking on <strong>Dataflow 1 </strong>at the upper left and renaming the dataflow to <strong>Hours</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/1*foBHxGn9slZY_n8El1KaNw.png" /></figure><ul><li>Now click the <strong>Publish</strong> button.</li><li>In the workspace, click the “New Item” button and then select “Dataflow Gen2”.</li><li>Name the data flow ‘People’ and then click the <strong>Create</strong> button.</li><li>This time, choose <strong>Get data</strong> (first icon) and then <strong>Excel workbook</strong>.</li><li>On the <strong>Connect to data source</strong> page, this time, enter the full path to the People and Tasks.xlsx file. Use <strong>People and Tasks</strong> as the connection name.</li><li>Click the <strong>Next</strong> button.</li><li>On the <strong>Choose data</strong> dialog, choose the <strong>People</strong> table and then click the <strong>Create</strong> button.</li><li>Click the <strong>Publish </strong>button.</li></ul><p>There are actually two different types of dataflows — Gen1 and Gen2.</p><p>While both allow you to author dataflows, Gen1 dataflows offer the unique abilities to use Direct Query, incremental refresh, and AI insights support.</p><p>Conversely, Gen2 dataflows have improved monitoring and refresh support, can integrate with data pipelines, and support high-scale compute.</p><p>In addition to dataflows, Data Factory also supports pipelines and Spark jobs for data ingestion and transformation.</p><p>Pipelines provide a no-code, low-code environment like dataflows.</p><p>However, pipelines support about 30 connectors and can only handle lightweight data transformation.</p><p>Dataflows have more than 150 connectors and can support complex data transformation.</p><p>Pipelines are generally used for process orchestration, while dataflows are used for data transformation.</p><p>Spark jobs require the ability to code in Scala, Python, Spark SQL, or R.</p><p>Now that Rahul has two separate Dataflow Gen2 queries for Hours and People, it is time to create a data warehouse.</p><h3>Working with Data Warehouse</h3><p>Microsoft describes Fabric Data Warehouse as a next-generation solution consisting of a lake-centric warehouse with a SQL analytics endpoint and a Fabric data warehouse.</p><p>This may sound extremely confusing, considering that Fabric also supports the ability to create an object called a Lakehouse as well.</p><p>In short, create a data warehouse when dealing with structured data, if you need multi-table transactions, or you want to develop using T-SQL.</p><p>Create a Lakehouse when dealing with unstructured and structured data, if you need only single-table transactions, or if you want to develop using Spark.</p><p>Since the data in this scenario is structured data, Rahul chooses to build a data warehouse to store the data that will come from the dataflows created earlier in the <em>Leveraging Data Factory </em>section of this article.</p><h4>To create a data warehouse, do the following:</h4><ul><li>Navigate to the workspace in your Fabric trial.</li><li>Click the <strong>New item </strong>button in the ribbon and then choose<strong> Warehouse</strong> under the <strong>Store data </strong>heading in the <strong>New item</strong> pane.</li><li>In the New warehouse dialog box, type <strong>Learn Power BI Warehouse</strong> for the name and then click the <strong>Create</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*mm4QY_SZ5AGqZmL49hREtQ.png" /></figure><ul><li>Once the warehouse is created, click back on the workspace in the left navigation pane.</li><li>Hover over the <strong>Hours</strong> dataflow, click the ellipsis (<strong>…</strong>), and then choose <strong>Edit</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*j0oPxVpB1BSUhLMfy4wW-Q.png" /></figure><ul><li>Once the query loads, choose <strong>Get data</strong> (first icon) and then <strong>Excel workbook</strong> from the <strong>Home </strong>tab of the ribbon.</li><li>On the <strong>Connect to data source</strong> page, this time, enter the full path to the <strong>People and Tasks.xlsx </strong>file. Note that this reuses your <strong>People and Tasks</strong> connection created earlier.</li><li>Click the <strong>Next</strong> button.</li><li>On the <strong>Choose data</strong> dialog, choose the <strong>Tasks</strong> table and then click the <strong>Create</strong> button.</li><li>Once the table loads, click the <strong>Use first row as headers</strong> in the <strong>Transform</strong> area of the <strong>Home</strong> tab of the ribbon. Use the down-arrow chevron on the far right of the ribbon to expand the ribbon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/535/1*79MkxnUkxpzy67meRtM5Ew.png" /></figure><ul><li>Click on the <strong>Hours</strong> query.</li><li>Choose <strong>Merge queries</strong> in the <strong>Combine</strong> section of the <strong>Home</strong> tab of the ribbon.</li><li>In the <strong>Merge</strong> dialog, select <strong>Tasks</strong> as <strong>Right table for merge</strong> and select the <strong>TaskID</strong> columns in both queries.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*I94jL8v3d_MSGadd7WiZcA.png" /></figure><ul><li>Click the <strong>OK</strong> button. If you receive a message about privacy levels, simply ignore the privacy levels.</li><li>In the header of the <strong>Tasks</strong> column, click the diverging arrows icon, deselect <strong>TaskID</strong>, and then click the <strong>OK</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*N80Wj7EbP-mD3AT6iyQ54g.png" /></figure><ul><li>In the <strong>Query</strong> section of the <strong>Home</strong> tab of the ribbon, select <strong>Add data destination</strong> and then select <strong>Warehouse</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*mu51bs_2j0xFS3Jgm1r5TA.png" /></figure><ul><li>On the <strong>Connect to data destination</strong> page, click the <strong>Sign in</strong> button and sign in if necessary.</li><li>Click the <strong>Next</strong> button.</li><li>On the <strong>Choose destination target</strong> dialog, select <strong>Learn Power BI Warehouse</strong> and leave <strong>Table name</strong> as <strong>Hours.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*fSsPqfFVxIkiyTZBDSVFTA.png" /></figure><ul><li>Click the <strong>Next</strong> button.</li><li>On the <strong>Choose destination settings</strong> dialog, choose the <strong>Save settings</strong> button.</li><li>Click the <strong>Publish</strong> button.</li><li>Back in the workspace, select <strong>Learn Power BI Warehouse.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*w-Gw-urBUhcuYD6cr5daBA.png" /></figure><ul><li>In the <strong>Explorer</strong> panel, expand <strong>Learn Power BI Warehouse</strong>, expand <strong>Schemas</strong>, expand <strong>dbo</strong>, expand <strong>Tables</strong>, and click on the <strong>Hours</strong> table to view the first 1,000 rows. If the <strong>Hours</strong> table is not present, you will need to wait until the <strong>Hours</strong> dataflow completes its refresh.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*3EGQF3tQY2s6axhfP-_EiA.png" /></figure><ul><li>Click on the workspace in the left navigation pane.</li><li>Edit the <strong>People</strong> query and add a data destination of <strong>Learn Power BI Warehouse</strong>. Use the same connection already created.</li><li>While in the workspace, click on <strong>Learn Power BI Warehouse</strong> to open the warehouse.</li><li>Confirm that the <strong>People</strong> table exists in the <strong>Explorer</strong> pane.</li><li>In the <strong>Explorer</strong> pane, click on <strong>Model layouts</strong>.</li><li>Create a relationship between the <strong>EmployeeID</strong> column in the <strong>Hours</strong> table and the <strong>ID</strong> column in the <strong>People</strong> table by dragging and dropping.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*v0zT7xD-4MX4fkIWCQRVyw.png" /></figure><ul><li>Click the <strong>Reporting</strong> tab of the ribbon and then select <strong>Manage default semantic model</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*rtDtSbVNhMDLOzlPAb-BqQ.png" /></figure><ul><li>In the <strong>Manage default semantic model</strong> dialog, check the <strong>Select all</strong> checkbox.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*QemEZiXrLz_SKM2MW1Z4ig.png" /></figure><ul><li>Click the <strong>Confirm</strong> button.</li><li>On the <strong>Reporting</strong> tab of the ribbon, click <strong>Automatically update semantic model</strong>.</li></ul><p>As you can see, you can create one or more semantic models based on the warehouse.</p><p>You can also explore the data in the semantic model as well as create reports.</p><h4>To see how this is done, do the following:</h4><ul><li>Navigate back to the workspace in your Fabric trial.</li><li>Click on <strong>Semantic model (default) Learn Power BI Warehouse</strong>. Note, select the semantic model, not the warehouse.</li><li>In the ribbon, select <strong>Explore this data</strong> and then select <strong>Explore this data.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*LF5DVLfvVBQHLMfv1-cpLg.png" /></figure><ul><li>In the <strong>Explore Learn Power BI Warehouse</strong> dialog, in the <strong>Data</strong> pane, select the <strong>EmployeeType </strong>column from the <strong>People</strong> table and the <strong>TotalHours</strong> column from the <strong>Hours</strong> table.</li><li>Both a <strong>Matrix</strong> and a <strong>Visual</strong> chart are created.</li><li>An alternate visual can be shown by clicking the <strong>Visual</strong> text and then selecting a different visual type.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*K-Ii2x-H0o-wtYbbFYYPwQ.png" /></figure><ul><li>You can also add filters by clicking the <strong>Add filter</strong> text above <strong>Matrix</strong>. In the dropdown, expand <strong>All data</strong>, expand <strong>Hours</strong>, and then choose the <strong>Category</strong> column.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*8qfMhA4XjvPhlJIdkC88Wg.png" /></figure><ul><li>For the filter, choose <strong>Billable</strong> and then click the <strong>Apply</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*M_ccx-jEPGNqA3tQV7Zjjw.png" /></figure><ul><li>If desired, you can save this as an exploration or as a report using the <strong>Save</strong> button in the ribbon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*frjOATsCm7EDH_n1hVlPTw.png" /></figure><ul><li>Close out of the exploration dialog by clicking the <strong>X</strong> icon in the upper-right corner.</li><li>In the ribbon, select <strong>Explore this data</strong>, but this time, choose <strong>Auto-create a report</strong>.</li><li>Watch for a notification to appear in the upper-right corner, and when it does, select <strong>View report now.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*k0JSL6cyPePHs342wZRuXQ.png" /></figure><ul><li>The report will open as follows.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*HI3NbV85O_k00VmJAg30kw.png" /></figure><ul><li>Click the <strong>Save</strong> button in the ribbon to save the report.</li><li>In the <strong>Save your report</strong> dialog, enter a name for your report and then click the <strong>Save</strong> button.</li></ul><h3>Microsoft Fabric Items</h3><p>Once Microsoft Fabric content such as dataflows and warehouses are created, there are multiple ways to use these items within the Power BI/Fabric service as well as in Power BI Desktop.</p><h4>To demonstrate how to use these Fabric items in Power BI Desktop, do the following:</h4><ul><li>Open Power BI Desktop and create a blank report.</li><li>On the <strong>Home</strong> tab of the ribbon, select <strong>Get data</strong> and then choose <strong>Dataflows</strong>.</li><li>Sign in to your organizational account and then choose the <strong>Connect</strong> button.</li><li>In <strong>Navigator</strong>, expand <strong>Dataflows</strong>, expand your workspace (in this case, <strong>Learn Power BI</strong>), expand <strong>Hours</strong> and select the <strong>Hours</strong> table, and expand <strong>People</strong> and select the <strong>People</strong> table.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*gy6QvouXHMl-Vc6hGNXBDw.png" /></figure><ul><li>Select the <strong>Load</strong> button when finished.</li><li>If prompted for credentials, choose Microsoft account, sign in with your organizational account, and then choose the <strong>Connect</strong> button.</li><li>When prompted for <strong>Privacy levels</strong>, check the box to ignore privacy levels.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*jqsd7Qc6GyjPeya0Jt6apg.png" /></figure><ul><li>Click the <strong>Save</strong> button.</li><li>In the <strong>Set storage mode</strong> dialog, leave the storage modes as <strong>Import</strong> and then click the <strong>OK</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*fWygmplTNk-oO3XghQETlg.png" /></figure><ul><li>The <strong>Load</strong> dialog appears, wait for it to complete.</li></ul><p>The advantage of dataflows should now be clear.</p><p>The next time Pam or anyone else wants to build a report based on the people in the organization and the hours worked, they simply need to connect to the appropriate dataflow. Since the data has already been transformed, less work is required on the part of the end user.</p><p>In addition, the same dataflows can be used across multiple reports.</p><p>This not only eliminates duplication but can also improve the operation of the entire system since source systems are only accessed by a single dataflow for refresh purposes versus multiple queries created in multiple semantic models.</p><p>This is because dataflows access the source systems and load the data into Azure Data Lake Storage Gen2 storage blobs.</p><p>Other semantic models or objects that utilize these dataflows pull the data from the Azure storage blob versus the actual source systems themselves.</p><p>You can also use the warehouse object as well as its associated semantic model in Power BI Desktop.</p><h4>To demonstrate, do the following:</h4><ul><li>In Power BI Desktop, create a new blank report.</li><li>From the <strong>Home</strong> tab of the ribbon, choose <strong>Get data</strong> and then <strong>Power BI semantic models</strong>.</li><li>Choose the <strong>Learn Power BI Warehouse</strong> semantic model and then click the <strong>Connect</strong> button.</li><li>You are now connected live to the <strong>Learn Power BI Warehouse</strong> semantic model.</li><li>Create another blank report.</li><li>From the <strong>Home</strong> tab of the ribbon, choose <strong>Get data</strong> and then <strong>More…</strong>.</li><li>In the <strong>Get Data</strong> dialog, choose <strong>Microsoft Fabric</strong>, <strong>Warehouses</strong>, and then <strong>Connect.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*LTQQ7QbI28CO5IFRThLQBA.png" /></figure><ul><li>Choose <strong>Learn Power BI Warehouse</strong> and then click the <strong>Connect</strong> button.</li><li>You are now connected live to the <strong>Learn Power BI Warehouse</strong> semantic model.</li></ul><p>Both of these methods create a <strong>Live</strong> connection to the<strong> Learn Power BI Warehouse</strong> semantic model.</p><p>However, you can also connect to the SQL endpoint for the warehouse.</p><h4>To do this, perform the following steps:</h4><ul><li>In the Power BI service, navigate to the workspace where you created your data warehouse.</li><li>Select <strong>Learn Power BI Warehouse</strong> (the <strong>Warehouse</strong>, not the<strong> Semantic model (default)</strong>.</li><li>On the <strong>Home</strong> tab, click the gear icon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/1*vjTu7KkzQixWr9eRacfPWQ.png" /></figure><ul><li>Under <strong>SQL connection string</strong>, click the copy icon to copy the connection string.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*y14V3Jz9n8k7N7tmpLH4RQ.png" /></figure><ul><li>Create a new blank report in Power BI Desktop.</li><li>On the <strong>Home</strong> tab of the ribbon, choose <strong>Get data</strong> and then <strong>SQL Server</strong>.</li><li>For <strong>Server</strong>, paste in the connection string and then click the <strong>OK</strong> button.</li><li>In <strong>Navigator</strong>, expand <strong>Learn Power BI Warehouse</strong> and note that you can select the <strong>Hours</strong> and <strong>People</strong> tables.</li></ul><h3>Working with Copilot</h3><p>Copilot is Microsoft’s generative AI feature designed to enable alternative ways to create reports and visuals, analyze and transform data, and generate insights.</p><p>Using Copilot in Microsoft Fabric and Power BI requires a reserved Fabric capacity of F64 or higher, although Microsoft has recently announced that Copilot will be available for all Fabric capacities.</p><p>Copilot is not enabled for trial Fabric capacities and is not available in sovereign clouds (government clouds).</p><p>Copilot must be enabled in <strong>Tenant settings</strong> within the Power BI/Fabric tenant. See <a href="https://medium.com/@info.codetitan/understanding-deployment-governing-and-adopting-power-bi-fae2b7e9d8ed"><strong>Deploying, Governing, and Adopting Power BI</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/572/1*6IDvZsVGw0vG45JlIN8avA.png" /></figure><p>Once Copilot is enabled, you must assign at least one workspace to an F64+ reserved capacity.</p><p>Once enabled, Copilot appears in the ribbon of the service when viewing certain content such as reports, dataflows, and data warehouses.</p><p>For example, when viewing a report, a Copilot icon appears on the far right of the ribbon. Clicking the Copilot icon opens the Copilot pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*lrprA1yia-InlCV-wkijvg.png" /></figure><p>Asking a question about the data generates a text response within the Copilot pane.</p><p>You can also use Copilot when editing a report. Doing so provides options such as <strong>Suggest content for a new report page</strong>.</p><p>Selecting this option provides a response that includes a button for creating the suggested page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/388/1*VypCoQG9QSfNn8pMWy40eA.png" /></figure><p>Clicking the <strong>+ Create</strong> button creates the page in the report.</p><p>Copilot can also be used with Data Factory and Data Warehouse workloads.</p><p>In Data Factory, Copilot can be used with Dataflow Gen2 dataflows as well as data pipelines.</p><h4>With Dataflow Gen2 dataflows, the following actions are supported:</h4><ul><li>Summarize an existing query.</li><li>Create a new query.</li><li>Create new transformation steps for an existing query</li></ul><h4>With data pipelines, the following actions are supported:</h4><ul><li>Summarize an existing pipeline.</li><li>Create a new pipeline.</li><li>Provide an explanation of error messages.</li></ul><h4>For Data Warehouse, Copilot supports the following actions:</h4><ul><li>Create a SQL query using a natural language description.</li><li>Help complete the code.</li><li>Provide an explanation of how to fix an existing query via the <strong>Fix</strong> quick action in the SQL query editor.</li><li>Provide a summary of a query via the Explain quick action in the SQL query editor.</li><li>Receive intelligent observations and suggestions based on the schema and metadata of your warehouse.</li></ul><p>Copilot is available for similar tasks in other Fabric workloads such as Data Engineering, Data Science, Real-Time Intelligence, and SQL Databases. Copilot can also be used in Power BI Desktop.</p><h4>To see how this works, do the following:</h4><ul><li>Open the Learn Power BI.pbix file in Power BI Desktop.</li><li>While in <strong>Report view</strong>, on the <strong>Home</strong> tab of the ribbon, select the Copilot icon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/124/1*z3XEpiKk6m29Jypj0nAb3g.png" /></figure><ul><li>If this is the first time using Copilot in Power BI Desktop, click the <strong>Select a workspace</strong> button.</li><li>In the <strong>Copilot workspace</strong> dialog, choose a workspace and press the <strong>OK</strong> button.</li><li>The Copilot pane now operates identically to when editing a report in the Power BI service.</li></ul><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/how-to-publish-and-share-reports-using-power-bi-c7356b4abc70">How to Publish and Share Reports using Power BI</a></li><li><a href="https://medium.com/@info.codetitan/tableau-data-modeling-joins-and-blends-from-scratch-18f303860584">Tableau Data Modeling, Joins, and Blends From Scratch</a></li><li><a href="https://pub.aimind.so/crafting-visuals-that-inspire-and-inform-e96573258b6b">Crafting Visuals that Inspire and Inform</a></li><li><a href="https://medium.com/@info.codetitan/b2b-seo-vs-b2c-seo-97a60cf10aa7">B2B SEO Vs B2C SEO</a></li><li><a href="https://pub.aimind.so/skyview-of-excel-2021-3f5bed2a1d0a">Skyview of Excel 2021</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><p>Your Business — On AutoPilot with <em>DDImedia AI Assistant</em><br>(<a href="https://waitlist.ddimedia.ai/join-the-waitlist-aie">Join Our Waitlist</a>)</p><p>Visit us at <a href="https://www.datadriveninvestor.com/"><em>DataDrivenInvestor.com</em></a></p><p>Join our creator ecosystem <a href="https://join.datadriveninvestor.com/"><em>here</em></a>.</p><p>DDI Official Telegram Channel: <a href="https://t.me/+tafUp6ecEys4YjQ1">https://t.me/+tafUp6ecEys4YjQ1</a></p><p>Follow us on <a href="https://www.linkedin.com/company/data-driven-investor"><em>LinkedIn</em></a>, <a href="https://twitter.com/@DDInvestorHQ"><em>Twitter</em></a>, <a href="https://www.youtube.com/c/datadriveninvestor"><em>YouTube</em></a>, and <a href="https://www.facebook.com/datadriveninvestor"><em>Facebook</em></a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94430ee55619" width="1" height="1" alt=""><hr><p><a href="https://medium.datadriveninvestor.com/learn-microsoft-fabric-and-copilot-from-scratch-94430ee55619">Learn Microsoft Fabric and Copilot from Scratch</a> was originally published in <a href="https://medium.datadriveninvestor.com/">DataDrivenInvestor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Deployment, Governing, and Adopting Power BI]]></title>
            <link>https://medium.com/@info.codetitan/understanding-deployment-governing-and-adopting-power-bi-fae2b7e9d8ed?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/fae2b7e9d8ed</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[deployment]]></category>
            <category><![CDATA[data-governance]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 12:03:10 GMT</pubDate>
            <atom:updated>2025-12-19T12:03:10.725Z</atom:updated>
            <content:encoded><![CDATA[<h4>Building a data-driven organization that thrives</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WlgXHwQ7FWt2G9PBTjoo-Q.jpeg" /><figcaption>Image by Author</figcaption></figure><p>Now that you have learned the fundamentals of working with Power BI and have seen Power BI’s powerful analytics and visualization features firsthand, it is time to turn our attention to the broader topics of deployment, governance, and the adoption of Power BI within an organization. This article is designed to help you understand the organizational issues and requirements of Power BI within an enterprise.</p><h3>Table of Contents</h3><ol><li>Understanding models</li><li>Governing and administering</li><li>Adopting Power BI</li></ol><h3>Understanding Models</h3><p>Power BI provides considerable flexibility regarding how organizations deploy and adopt the technology.</p><p>There are nearly limitless ways to organize and use such things as workspaces, apps, and scorecards, as well as how organizations choose to share and distribute content.</p><p>We call the overall architecture and plan for how organizations deploy and utilize Power BI <strong>usage models</strong>.</p><p>Usage models encapsulate how an organization adopts and utilizes the various components of Power BI to provide governance and processes for the use of Power BI.</p><p>The following sections explore some of the more common usage models for Power BI.</p><p>However, keep in mind that there are nearly unlimited usage models, as organizations can combine aspects of different ones in various ways to facilitate the particular needs of their organization.</p><p>The usage models covered here can be thought of as archetypes, or base usage scenarios, that demonstrate particular desired outcomes or traits.</p><h4>Anarchy Model</h4><p>Many Power BI implementations start as near chaos or anarchy, the grassroots adoption of Power BI by end users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*0USmhXzFaipO0rqF_qy1Gw.png" /></figure><p>If <em>Figure </em>looks messy, that is intentional. In the <strong>anarchy model</strong>, end users just start connecting to data sources, building semantic models, reports, and dashboards, and then sharing those reports with whomever.</p><p>This is the epitome of grassroots, self-service business intelligence and mimics how many organizations use Excel.</p><p>Under this model, there is little to no governance or control.</p><p>While the anarchy model empowers business users, there are definite drawbacks.</p><p>For example, there is no real single source of truth. Different business users may calculate various business metrics differently.</p><p>There can also be a tremendous amount of duplication of effort. Finally, without any <em>official </em>reporting, there is no guarantee that users can access and view the appropriate reports and dashboards.</p><p>It is important to understand that while the anarchy model should absolutely not be the end journey of an organization’s Power BI usage model, the anarchy model is present in all deployments of Power BI.</p><p>All Power BI users get their own workspace, <strong>My workspace</strong>, where they can create their own semantic models, reports, and dashboards.</p><p>This is okay and is, in fact, a good thing.</p><p>The anarchy model represents the citizen data analyst and citizen data scientist.</p><p>It is a key component of building a data culture within an organization.</p><p>And if anarchy is not occurring in Power BI, it is certainly occurring somewhere else, such as in Excel.</p><p>By leveraging Power BI for anarchy, users are free to explore and harness data and share their insights with others.</p><h4>Centralized Model</h4><p>At the opposite end of the spectrum from the anarchy model is the <strong>centralized model</strong>.</p><p>In the centralized model, a single individual or group of individuals (often the IT department) controls the creation of all official semantic models, reporting, and distribution. The centralized model is shown in <em>Figure.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*3dUE9TOj2YZFn_D4b2cu5Q.png" /></figure><p>The main strengths of the centralized model are trust, governance, and efficiency.</p><p>Because the semantic models and reports are created by a central team of business intelligence professionals, the organization can trust that the metrics presented are consistent and accurate.</p><p>In addition, efficiency is achieved since business intelligence professionals are likely more skilled than the average business user, and as there is central control, it is unlikely that there is excessive duplication of effort.</p><p>The main weakness of the centralized model is the difficulty of scaling to large organizations.</p><p>The centralized model creates a funnel point for all official reporting, and it is common for this to be a constraint to the business.</p><p>Business users desiring certain information or metrics are required to make requests to the centralized team.</p><p>It is not uncommon for there to be more requests for reports than the centralized team can handle within a timeframe the organization desires, creating a backlog and leaving organizational users wanting more.</p><p>An additional weakness of the centralized model is the requirement for gathering.</p><p>It is often necessary for a liaison to exist between the centralized IT team and the business users.</p><p>IT people tend to know a lot about the technology side of the equation, but are often not deeply knowledgeable about the actual business, the metrics important to the business, and exactly how the business users wish to view and interact with the data.</p><h4>Federated Model</h4><p>To solve the scale issues inherent in the centralized model, organizations can adopt the <strong>federated model</strong> instead.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*27Dm24N3XII5vr12P_vmzw.png" /></figure><p>Similar in concept to the centralized model, the federated model solves the scaling problem by creating multiple teams of semantic model and report authors, such as one per organizational unit or department.</p><p>For example, the sales, finance, and supply chain departments would each have their own team of business intelligence professionals responsible for the creation of semantic models and reports for their respective departments.</p><p>While the federated model solves the scaling problem inherent in the centralized model, the federated model can lead to the duplication of effort and metrics being calculated differently, and does not necessarily solve the need to translate requirements between the business and the federated teams of business intelligence professionals.</p><h4>Golden Semantic Model</h4><p>A popular method of asset development and deployment includes the concept of creating multiple reports from a single, central semantic model that effectively serves as a sort of datamart, sometimes called a <strong>golden semantic model</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*fBQzdeyVAI2OyYRGa1XYww.png" /></figure><p>A golden semantic model is derived from the term <em>gold standard</em>.</p><p>A golden semantic model represents the single source of truth (or <em>gold standard</em>) of cleansed data and consistent business metrics.</p><p>Under the golden semantic model paradigm, a central team of business intelligence professionals (usually IT) is solely responsible for the creation of semantic models and business metric calculations.</p><p>These semantic models are often created and published without any official reporting.</p><p>The report creation is done by separate teams of content creators who connect live to the semantic model within their own PBIX files and develop reports.</p><p>Content creators may use only the golden semantic model for their content or may create <strong>composite models</strong> that combine the golden semantic model with additional data.</p><p>The golden semantic model paradigm is popular because it facilitates the separation of duties between the IT team and the business.</p><p>The IT team is concerned with data lineage, semantic model sprawl, and the accuracy and consistency of metrics, and governs and controls the creation of semantic models, while the business users, who deeply understand their business domain and desire speedy analysis and reporting, control the creation of content.</p><p>In this way, the golden semantic model paradigm provides the <em>best of both worlds</em> between the centralized and distributed model approaches.</p><h4>Hybrid Model</h4><p>It is not uncommon for multiple usage models to be used simultaneously within the same organization in order to accommodate different needs within the organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*h4S0-InyJGwAp8XDr2hYXg.png" /></figure><p>In the hybrid model depicted in <em>Figure</em>, the organization has chosen to combine the golden semantic model with the federated model.</p><p>Golden semantic models are used for official organizational content created by the centralized team of IT business professionals.</p><p>However, departmental workspaces are also created to allow the individual departments within the organization flexibility in creating content that is used internally within the department.</p><p>The examples covered here are simply examples of some of the more common usage models found within organizations that use Power BI, and are certainly not the only ways in which organizations might deploy and leverage Power BI.</p><p>However, keeping these base archetypes in mind can help you determine the correct usage model or combination of usage models that will meet the needs of your organization.</p><p>Now that we have learned about several different usage models for Power BI, let’s next take a closer look at governing and administering Power BI.</p><h3>Governing and Administering Power BI</h3><p>Governance of Power BI is a broad and potentially complex subject that can encompass the overall data governance within an organization as well as Power BI Desktop and the Power BI service.</p><p>However, at its core, governance for Power BI is simply a set of established rules and policies regarding what people can do with organizational data.</p><blockquote>The overall goals of governance in the context of Power BI are as follows:</blockquote><ul><li>Empower business users to use data for making decisions.</li><li>Comply with applicable government, industry, and contractual regulations.</li><li>Establish rules that comply with organizational requirements.</li></ul><p>The usage models in the <em>Understanding usage models</em> section within this article are one way of implementing governance.</p><p>For example, controlling who is allowed to publish <em>official</em> semantic models is an example of governance.</p><p>By centralizing the creation of semantic models and metrics, business users can be empowered because this ensures that those metrics or <strong>key performance indicators</strong> (<strong>KPIs</strong>) are consistent and accurate.</p><p>In addition, those creating the semantic models can ensure that only appropriate data is exposed to the business, thereby avoiding regulatory compliance issues.</p><p>Many of these governance and administration settings are controlled in the <strong>Admin portal</strong>.</p><p>To go to the <strong>Admin portal</strong>, select the gear icon in the upper-right corner of the Power BI service and choose <strong>Admin portal</strong> under <strong>Governance and insights</strong>.</p><p>Alternatively, click the ellipsis (<strong>…</strong>) in the upper-right corner, then <strong>Settings</strong>, and then <strong>Admin portal</strong>.</p><p>These sections explore additional important governance controls, such as classifying content, tenant settings, organizational visuals, deploying Power BI content, gateway governance, and Purview.</p><h4>Classifying Content</h4><p>Power BI includes a number of different methods for classifying content within the Power BI service.</p><p>Classifying content helps users discover relevant information more easily. Types of classification include.</p><ul><li>Domains</li><li>Tags</li><li>Endorsements</li><li>Featured content</li></ul><h4>Domains</h4><p>Domains are Microsoft’s attempt to support a federated data architecture or data mesh. Domains can be particularly useful if employing the federated usage model covered earlier in this article.</p><p>Domains are simply a logical container or tag, enabling workspaces to be organized based on domains and users to filter content by domain.</p><blockquote>To create a domain, perform the following steps:</blockquote><ul><li>Go to the <strong>Admin portal</strong>.</li><li>Select <strong>Domains</strong>.</li><li>Select <strong>Create new domain.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*oChZTm2WtSWaE2Q5iHx4Uw.png" /></figure><ul><li>Enter a name for the new domain and, optionally, specify <strong>Domain admins</strong>. The user creating the domain is automatically assigned as a domain admin.</li><li>Click the <strong>Create</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*4AUwRAlV7Xefi3zgKukOJA.png" /></figure><ul><li>On the <strong>Domains</strong> page, click the newly created domain name.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*uZXkdpOVZDjbYb7JzDKW1Q.png" /></figure><p>The page for the new domain enables you to assign workspaces to the domain, create one or more new subdomain(s), and configure <strong>Domain settings</strong>.</p><h4>Tags</h4><p>Tags are simply additional labels or metadata that can be applied to content items such as reports, dashboards, semantic models, and other content items. Like domains, tags help increase or otherwise enhance the discoverability, organization, and data categorization of content.</p><blockquote>To create a tag, follow these steps:</blockquote><ul><li>Go to the <strong>Admin portal</strong>.</li><li>Select <strong>Tags (preview)</strong>.</li><li>Select <strong>Create your first tags.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*9KkVPsIxfxKLzJ1KU04nxw.png" /></figure><ul><li>In the <strong>Name your tags</strong> dialog, enter one or multiple tags separated by commas.</li><li>Click the <strong>Create</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*pmEswRdhMTfqqWk3yu8mWQ.png" /></figure><ul><li>Navigate to <strong>Settings</strong> for a report, dashboard, semantic model, or other content item.</li><li>Use the <strong>Apply tags to this item</strong> area to assign tags.</li><li>Click the <strong>Save</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*4XPUGuVVQPTaOgWMa8eiEA.png" /></figure><p>The tags are now viewable next to the content item.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*juWqejZr4lzNhoXskhrIOA.png" /></figure><p>In addition, in the <strong>Filter</strong> area for a workspace, the available filters include tags.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*m13NaN6j9LJb7DgQRtmtbw.png" /></figure><h4>Endorsements and Featured Content</h4><p>Endorsements and featured content are related concepts in Power BI.</p><p>Endorsements are another method of classifying content as either <strong>Promoted</strong> or <strong>Certified</strong>.</p><p>In general, a promoted item simply highlights content that the user deems as valuable or worthwhile to others, while certified items indicate that the content is aligned with an organization’s overall quality requirements, meaning that it is an authoritative and reliable source of information.</p><p>To endorse a content item, navigate to <strong>Settings</strong> for a report, app, semantic model, or dataflow.</p><p>Use the <strong>Endorsement</strong> section to mark the content as either <strong>Promoted</strong> or <strong>Certified. </strong>Semantic models can also be marked as<strong> Master data.</strong></p><p>You can optionally use the <strong>Feature on Home</strong> setting to display the content in the <strong>Featured</strong> section on the Power BI Home page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*7KRToxPXcMAWXE2rsdVzSA.png" /></figure><p>Now, when listed as content in the Power BI service, the endorsement is visible.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*M5gvP0i7zzFYAPxCMrtg0A.png" /></figure><p>When endorsing content, it is also possible to feature that content on the Power BI Home page. This concludes our exploration of different methods of classifying content, so let’s next look at tenant settings.</p><h4>Tenant Settings</h4><p>As explained in <a href="https://medium.com/datadriveninvestor/tutorial-a5071c1e55db"><strong><em>Business Intelligence and Power BI</em></strong></a>, a <strong>tenant</strong> is simply a logical slice of the Power BI service particular to a single organization.</p><p>Each Power BI tenant must have at least one account that is deemed the <strong>tenant administrator</strong>.</p><p>The tenant administrator or administrators control which features and functionality are enabled within the tenant.</p><p>This section explains the various tenant settings within Power BI, along with suggestions and recommendations for their enablement or disablement.</p><p>For tenant administrators, it is important to understand these tenant settings and carefully consider the implications of each with regard to empowering business users and complying with regulatory and organizational requirements.</p><p>For business users, it is also important to understand which available features may be disabled by tenant administrators so that requests can be made to enable those features should the need arise to make use of them.</p><p>Tenant settings are accessed in the Power BI service by clicking on the gear icon in the upper-right corner of the Power BI service, choosing <strong>Admin portal</strong>, and then <strong>Tenant settings</strong>.</p><p>Alternatively, click on the ellipsis (<strong>…</strong>) in the upper-right corner, then <strong>Settings</strong>, <strong>Admin portal</strong>, and finally, <strong>Tenant settings</strong>.</p><p>Once enabled, many tenant settings allow the tenant administrator to choose whether the feature is enabled for the entire organization or for specific security groups <strong><em>(Entra groups)</em></strong>.</p><p>In addition, tenant administrators can also exclude specific security groups if desired.</p><p>The common dialog for setting tenant security is shown in <em>Figure:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*rUFvVf_d_QsDMJQdGnEm3g.png" /></figure><p>In general, it is advisable to use the least privileges approach to tenant settings.</p><p>That is, only enable the features required by the organization and only enable those features for the groups of business users that require the use of those features.</p><p>It is important to understand that tenant settings are constantly evolving, with new tenant settings added frequently.</p><p>Therefore, the following list highlights some of the more important and helpful tenant settings.</p><h4>Microsoft Fabric</h4><p>The Microsoft Fabric tenant settings control various aspects of Microsoft Fabric, the umbrella service of which Power BI is a part.</p><p>In general, these tenant settings control who can and cannot create various Microsoft Fabric content items such as lakehouses, warehouses, real-time dashboards, AI skill item types, etc.</p><h4>Help and Support Settings</h4><p>Help and support settings include options to control help and support links as well as notifications about service outages, the use of enhanced features on a trial basis, and custom messages when publishing content.</p><ul><li><strong>Publish “Get Help” information</strong>: This setting allows the administrator to change certain menu links in the service to point to internal help and support resources. Enabling this can be helpful for large organizations in order to point business users toward internal support organizations and content. Configuring this option would generally be done for the entire organization and provides the ability to replace certain links in the Power BI help menu (<strong>? Help &amp; Support</strong>) with custom links.</li></ul><p>It shows the different settings that can be customized as well as which menu links are changed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/509/1*Vb4Kv_PWQpApHxjHJEbhRQ.png" /></figure><ul><li><strong>Receive email notifications for service outages or incidents</strong>: If enabled, the specified mail-enabled security groups receive email notifications if there is an outage or other issue with the Power BI tenant. It is recommended that this option be enabled for specific mail-enabled security groups such as IT support and the help desk or anyone responsible for the administration and governance of Power BI.</li><li><strong>Users can try Microsoft Fabric paid features</strong>: If enabled, users can sign up for a Microsoft Fabric trial for 60 days. In general, it is recommended that this option be disabled.</li><li><strong>Show a custom message before publishing reports</strong>: This feature is useful for organizations that wish to inform content creators of any organizational policies or procedures that should be followed when publishing content. When content creators publish a report, they’ll see a custom message prior to publication. Enable this feature if your organization wishes to inform publishers of organizational policies, although you may wish to exempt certain groups such as IT.</li></ul><h4>Domain Management Settings</h4><p>Domain management settings control whether or not tenant and domain admins are allowed to override workspace assignments.</p><p>The assignment of workspaces to domains can be based upon the name of the domain but also based upon a workspace admin or by capacity.</p><p>In other words, all workspaces with a particular admin or within a particular capacity can be mass-assigned to a domain. This setting allows tenant and domain admins to override these assignments.</p><h4>Workspace Settings</h4><p>Workspace settings control who and what types of workspaces can be created as well as the use of semantic models between workspaces.</p><ul><li><strong>Create workspaces</strong>: If enabled, users can create new workspaces within the Power BI service. It is recommended that this be enabled for only authorized security groups within the organization in order to avoid the proliferation of workspaces within the tenant.</li><li><strong>Use semantic models across workspaces</strong>: Users in the organization can use semantic models across workspaces if they have the required build permission. It is recommended that this be enabled for specific security groups within the organization and is generally a required setting for usage models such as golden semantic models.</li><li><strong>Define workspace retention period</strong>: There is a default retention period of 7 days in which to recover a deleted workspace. This setting allows this default retention period to be extended up to 90 days. Workspaces can be restored by using the <strong>Workspaces</strong> link within the <strong>Admin portal</strong>.</li></ul><h4>Information Protection</h4><p>Information protection settings control the application and use of sensitivity labels for Power BI content.</p><h4>Export and Sharing Settings</h4><p>Export and sharing settings control guest user access to the tenant, export formats for reports, the ability of users to certify and promote content, and additional sharing and collaboration functionality.</p><p>Only enable external sharing of content, guest users, and the ability of users to accept external sharing requests if necessary.</p><p>In general, the export settings apply to both Power BI reports and paginated reports.</p><p>In addition, the export settings apply to the interface for exporting in the service as well as the Power BI REST API.</p><p>Enabling these settings can be beneficial to end users but some organizations may see exporting as a security risk and, therefore, would disable these settings.</p><blockquote>Some of the more specific settings available are as follows:</blockquote><ul><li><strong>Publish to web</strong>: If enabled, users can publish public reports to the web. When reports are published to the web, those reports do not require authentication in order to view them; anyone with the link can view the report. It is highly advised that this setting be disabled as this can result in severe security and compliance issues for most organizations. If enabled, tenant administrators should regularly review generated embed codes via the <strong>Embed Codes</strong> page in the <strong>Admin portal </strong>in order to ensure that no confidential information has been published to the web.</li><li><strong>Copy and paste visuals</strong>: This enables or disables the ability for users to copy and paste dashboard tiles or report visuals as static images. There is no real security benefit in disabling this feature as users can still take screenshots or take pictures of tiles and visuals using their mobile device.</li><li><strong>Export to …:</strong> This enables or disables the ability of users to export data from report visuals or paginated reports to an Excel file or comma-separated value (.csv) file. Note that the .csv setting also allows exporting from dashboard tiles.</li><li><strong>Download reports</strong>: This enables or disables the ability of users to download Power BI Desktop (.pbix) files or paginated report (.rdl) files.</li><li><strong>Users can work with semantic models in Excel using a live connection</strong>: This enables or disables the ability of users to connect live to Power BI semantic models. Disabling this feature effectively disables the Analyze in Excel functionality in the service, as the Excel files generated by Analyze in Excel use a live connection to the semantic model. Enabling this feature is a requirement for the golden semantic model usage model.</li><li><strong>Export reports as …:</strong> This enables or disables the ability of users to export reports to PowerPoint, PDF, MHTML, Word, XML, or images.</li><li><strong>Print dashboards and reports</strong>: This enables or disables the ability of users to print dashboards, reports, and paginated reports. Enabling this setting allows content to be printed regardless of applied sensitivity labels (see the <em>Purview</em> section).</li><li><strong>Certification</strong> and<strong> Endorse master data</strong>: Enabling these features allows users to certify semantic models, dataflows, reports, and apps. <strong>Endorse master data</strong> only applies to semantic models. See the <em>Endorsements and featured content</em> section of this chapter for additional information.</li><li><strong>Users can se tup email subscriptions</strong>: This enables or disables the ability of users to create email subscriptions for reports, paginated reports, and dashboards.</li><li><strong>Featured content</strong>: This enables or disables the ability of users to promote dashboards, reports, and paginated reports to the <strong>Featured</strong> section of the Power BI <strong>Home</strong> page. This setting should only be enabled for trusted contributors. See the <em>Endorsements and featured content</em> section of this article for additional information.</li><li><strong>Allow connections to featured tables</strong>: This enables or disables the ability of users to access and perform calculations on data from featured tables. Featured tables are defined in the modeling view of Power BI Desktop. Featured tables can be viewed using the data types gallery of Excel. To view the data types gallery in Excel, use the <strong>Data</strong> tab of the ribbon and then expand the dropdown in the <strong>Data Types</strong> group.</li><li><strong>Allow shareable links to grant access to everyone in your organization</strong>: This enables or disables the ability of users to create links that enable anyone within the organization to view the content (assuming the correct license type). This link cannot be used by user accounts outside of the organization’s tenant. Only enable this setting if necessary and only for specific groups.</li><li><strong>Enable Microsoft Teams integration</strong>: This enables or disables the ability for users to access features associated with integration for Microsoft Teams, including launching Teams experiences from the Power BI service such as chats, the Power BI app for Microsoft Teams, and receiving Power BI notifications in Teams. To completely enable or disable Teams integration, use the <strong>Manage apps</strong> section of the Teams administrator site to allow or block the Power BI app. If enabling this feature, it is recommended to also enable <strong>Install Power BI app for Microsoft Teams automatically</strong> as well.</li><li><strong>Enable Power BI add-in for PowerPoint</strong>: This enables or disables the ability of users to embed Power BI data in PowerPoint presentations.</li><li><strong>Allow DirectQuery connections to Power BI semantic models</strong>: This enables or disables the ability of users to make changes to existing semantic models or use DirectQuery to build composite data models.</li></ul><h4>Discovery Settings</h4><p>Discovery settings control whether or not users can discover content within the Power BI service to which they do not have permission.</p><p>Enabling these settings can be viewed as a security risk and is thus generally not recommended.</p><h4>App Settings</h4><p>App settings control the ability of users to create apps, push those apps to end users, and publish apps to the entire organization. It is recommended to restrict these permissions to trusted content creators only.</p><h4>Integration Settings</h4><p>Integration settings control the integration and use of third-party systems within the Power BI service.</p><p>These include <strong>single sign-on</strong> (<strong>SSO</strong>) integrations with Dremio, Snowflake, Redshift, and Google BigQuery, which should only be enabled if actually using those systems.</p><p>In addition, the use of map visuals such as ArcGIS Maps, Azure Maps, and other default map visuals can be enabled or disabled.</p><blockquote>Some specific integration settings include the following:</blockquote><ul><li><strong>Allow XMLA endpoints and Analyze in Excel with on-premises semantic models</strong>: If enabled, users can use the Analyze in Excel functionality to create Excel files that link to Power BI semantic models. In addition, this setting allows XMLA endpoint connections. XMLA endpoints are required for certain tools such as the ALM Toolkit. Enabling this setting can be beneficial to end users but some organizations may see this as a security risk and, therefore, would disable this setting. This setting should at least be enabled for administrative security groups.</li><li><strong>Semantic Model Execute Queries REST API</strong>: This enables or disables the use of the Power BI REST API to query semantic models using DAX.</li><li><strong>Use global search for Power BI</strong>: This enables or disables the <strong>Search</strong> bar present in the header of the Power BI service. Search functionality is provided by Azure Search’s external search index. It is generally recommended to enable this setting.</li><li><strong>Integration with SharePoint and Microsoft Lists</strong>: This enables or disables the ability of users to launch Power BI from SharePoint lists and Microsoft Lists. Enabling this setting can be very beneficial to end users.</li><li><strong>Microsoft Entra single sign-on for data gateway</strong>: This enables or disables SSO for the on-premises data gateway. When enabled, user information such as the user’s name and email address is sent to the SSO-supported data source for the purposes of authentication.</li></ul><p>There are also a number of integration settings for OneDrive, SharePoint, Microsoft Lists, Power Platform, and OneLake.</p><p>Review these settings carefully and only enable the integrations necessary for your organization.</p><h4>Power BI Visuals</h4><p>Power BI visuals settings control the use of custom visuals within the Power BI service:</p><ul><li><strong>Allow visuals created using the Power BI SDK</strong>: This enables or disables the ability of users to add, view, share, and interact with custom visuals in the Power BI service. It is recommended that this setting be disabled and that you use organizational visuals to control what custom visuals are allowed. This setting does not apply to organizational visuals. Organizational visuals can be managed within the <strong>Organizational visuals</strong> page of the Admin portal. See the <em>Organizational visuals</em> section of this chapter for more information.</li><li><strong>Add and use certified visuals only </strong>(<strong>block uncertified</strong>): If enabled, users can only use certified visuals. It is recommended that this setting be disabled and that you use organizational visuals to control what custom visuals are allowed. This setting does not apply to organizational visuals. Organizational visuals can be managed within the <strong>Organizational visuals</strong> page of the Admin portal. See the <em>Organizational visuals</em> section of this article for more information.</li></ul><p>Additional settings allow or disallow custom visuals to access the browser’s local storage, access Microsoft Entra ID access tokens, and allow users to download data from custom visuals.</p><h4>R and Python Visual Settings</h4><p>R and Python visual settings control whether or not users are permitted to use R and Python visuals within the Power BI service:</p><ul><li><strong>Interact with and share R and Python visuals</strong>: This enables or disables the ability of users to use visuals created with R and Python scripts. Only enable this setting if absolutely necessary as this setting can only be applied to the entire organization and R and Python scripts could pose a significant security risk.</li></ul><h4>Audit and Usage Settings</h4><p>Audit and usage settings control the collection of audit logs and metrics as well as the ability of users to view and access these logs and metrics. For more information about audit and usage logs.</p><ul><li><strong>Usage metrics for content creators</strong>: This enables or disables the ability for users to see usage metrics for dashboards and reports to which they have permission. Enabling this setting is beneficial to end users and is generally recommended.</li><li><strong>Per-user data in usage metrics for content creators</strong>: This enables or disables the ability of content creators to view usage metrics that include the display names and email addresses of users accessing the content. There are several schools of thought on this topic. However, transparency tends to promote better security, and thus it is recommended that this be enabled for the entire organization.</li><li><strong>Azure Log Analytics connections for workspace administrators</strong>: This enables or disables the ability for administrators of workspaces to send their workspace logs to Azure Log Analytics. It is generally recommended to enable this setting.</li><li><strong>Microsoft can store query text to aid in support investigations</strong>: It is generally advisable to enable this setting, as disabling it can potentially impact the ability of Microsoft to provide support.</li></ul><h4>Dashboard Settings</h4><p>Dashboard settings control the type of content available in dashboards as well as whether data classification is available for dashboards:</p><ul><li><strong>Web content on dashboard tiles</strong>: This enables or disables the ability of users to create web content tiles on dashboards. It is highly recommended that this setting be disabled as this may expose your tenant to malicious software.</li></ul><h4>Developer Settings</h4><p>Developer settings control the use of embedding as well as the use of Power BI APIs and resource keys. For more information about Power BI APIs.</p><ul><li><strong>Embed content in apps</strong>: This enables or disables the ability of users to embed dashboards and reports in web applications using the <strong>Embed for your customers </strong>method. Only enable this setting if necessary.</li><li><strong>Service principals to use Fabric APIs</strong>: This enables or disables the ability for assigned service principals to access web apps registered in <strong>Microsoft Entra ID </strong>without a signed-in user. If a security group is specified for this setting, that security group must include the service principal. This setting should be disabled unless this functionality is required.</li><li><strong>Allow service principals to create and use profiles</strong>: This enables or disables this functionality. Keep in mind that this setting does not impact API functionality.</li><li><strong>Block Resource Key Authentication</strong>: If enabled, it blocks users from using a resource key for streaming semantic models. Only disable this setting if you require authentication via resource keys.</li></ul><h4>Admin API Settings</h4><p>Admin API settings control the use of Power BI admin APIs and the information contained within the responses from admin API requests.</p><ul><li><strong>Service principals can access read-only admin APIs</strong>: This enables or disables the ability of service principals assigned to registered Microsoft Entra ID to access Power BI admin APIs without having a signed-in user. The service principal must be included in an allowed security group. Enabling this setting provides the service principal read-only access to all the information available through the admin APIs. Only enable this setting if necessary.</li><li><strong>Enhance admin APIs responses with detailed metadata</strong>: If enabled, additional information is included in Power BI admin API requests by allowed users and service principals. If enabling the prior setting, then it is recommended to also enable this setting.</li><li><strong>Enhance admin APIs responses with DAX and mashup expressions</strong>: If enabled, additional information is included in Power BI admin API requests by allowed users and service principals regarding the metadata about queries and expressions comprising Power BI items. Only enable this setting if necessary.</li></ul><h4>Gen1 Dataflow Settings</h4><p>This enables or disables the ability of users to create Gen1 dataflows. This setting can only be enabled for the entire organization.</p><p>However, dataflows cannot be created in <strong>My workspace</strong> workspaces, so only administrators, members, and contributors to non-<strong>My workspace</strong> workspaces can create dataflows.</p><p>It is recommended that you enable this setting and utilize dataflows to curate data connections.</p><h4>Template App Settings</h4><p>Template app settings control whether users can publish or install template apps.</p><h4>Q/A Settings</h4><p>Q&amp;A settings control whether or not semantic model owners are able to review questions asked by other users as well as whether synonyms can be shared between semantic models.</p><p>If using Q&amp;A within your organization, it is recommended that these features be enabled so that semantic model owners can improve their Q&amp;A settings over time and content creators can view <strong>Suggested terms</strong> when defining synonyms for a semantic model.</p><h4>Semantic Model Security</h4><p>The semantic model security setting controls who is allowed to republish semantic models within Power BI.</p><p>If enabled, it blocks anyone except the semantic model owner from publishing updates.</p><p>This includes semantic model deployment updates from Power BI deployment pipelines.</p><p>Enabling this setting may be viewed as a security feature by organizations, but carefully consider the broader implications around usability and administration before enabling this feature.</p><h4>Advanced Networking</h4><p>Advanced networking controls whether or not users can access the Power BI tenant via a private link and/or public internet.</p><h4>Metric Settings</h4><p>Metrics settings control whether or not users are allowed to create and use goals and scorecards.</p><h4>User Experience Experiments</h4><p>This setting controls whether users experience variations in the Power BI service user interface based on Microsoft experiments. It is highly recommended to disable this feature as it can cause support issues and benefits no one other than Microsoft.</p><h4>Share Data with Your Microsoft 365 Services</h4><p>This section controls the Power BI tenant’s ability to interact with a Microsoft 365 tenant. If enabled, it permits the Power BI tenant to share information with a Microsoft 365 tenant.</p><p>This allows certain features such as favorites and search results to function the same when using either the Power BI tenant or the Microsoft 365 tenant.</p><p>Generally, it is recommended to enable this setting if both tenants are in the same geographic region. Sharing data with tenants in different geographic regions can be controlled separately.</p><h4>Insight Settings</h4><p>Insight settings control the ability of users to receive automatic insights about their reports.</p><h4>Datamart Setting</h4><p>This enables or disables the creation of datamarts. Datamarts are a special content type within Power BI that predates Microsoft Fabric. Generally, it is recommended to disable the use of datamarts.</p><h4>Data Model Setting</h4><p>This enables or disables the ability of users to edit data models within the service. You may wish to disable this setting in order to avoid the possibility that edits made in the service are later overwritten.</p><h4>Scale-out Settings</h4><p>These settings only apply to semantic models that use the large semantic model storage format. There are generally no security concerns with enabling this feature.</p><h4>OneLake Settings</h4><p>These settings control various features related to OneLake.</p><h4>Git Integration</h4><p>These settings control integration with Git. Git is a source control repository system owned by Microsoft.</p><h4>Copilot and OpenAI Service</h4><p>These settings control various features related to Copilot and Azure OpenAI.</p><h4>Organizational Visuals</h4><p>Organizational visuals allow administrators to control exactly which custom visuals users are allowed to use within their Power BI reports.</p><p>In addition to the array of default visuals included with Power BI Desktop, additional visuals are available via <strong>AppSource</strong>. You can access these visuals from Power BI Desktop via the <strong>Visualizations</strong> pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*gSMFt1ySSOPpAqhEtxpp8Q.png" /></figure><p>There are hundreds of custom visuals available from both Microsoft and various third parties.</p><p>To govern and control the use of custom visuals, refer to the <em>Power BI visuals tenant settings</em> reference in the <em>Further reading</em> section and then perform the following steps.</p><ul><li>Go to the <strong>Admin portal</strong>.</li><li>Select <strong>Organizational visuals</strong>.</li><li>On the <strong>Organizational visuals</strong> page, select <strong>+ Add visual</strong> and then <strong>From AppSource.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*HXJ820Z5jg81LmP3KMOGrw.png" /></figure><ul><li>The <strong>AppSource Power BI visuals</strong> dialog opens. This is the same interface as displayed when getting visuals from Power BI Desktop.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/818/1*2aCptCvPER7jTp2txfoR6Q.png" /></figure><ul><li>Select a visual from <strong>AppSource</strong> and then click the <strong>Add</strong> button.</li></ul><p>Once added to the <strong>Organizational visuals</strong> list, the visual can be selected and then the <strong>Enable for Visualization Pane</strong> option can be selected in the ribbon.</p><p>This setting displays the custom visual in Power BI Desktop’s <strong>Visualizations</strong> pane. With an understanding of organizational visuals, let’s next look at deploying Power BI content.</p><h4>Deploying Power BI Content</h4><p>Another way in which governance is commonly enforced is through the use of a phased approach for the development and deployment of content.</p><p>A common approach used in software testing and engineering is called <strong>DTAP</strong>, short for<strong> Development</strong>, <strong>Testing</strong>,<strong> Acceptance</strong>, and <strong>Production</strong>.</p><p>The letters of the acronym denote the environments and steps used during the engineering and testing of software, and the particular steps and environments used can vary between three and five.</p><h4>For example, the following steps might be followed as part of a software development DTAP process:</h4><ul><li>While the software is being developed, this development occurs in a development environment that only the software developers can access.</li><li>Once the software is deemed ready, the software is deployed to a test environment that closely mimics the target production environment.</li><li>If tests are completed successfully, the software is then deployed to an acceptance environment where end users can test that the software meets business requirements.</li><li>Once acceptance is achieved, the software is finally deployed to production.</li></ul><p>Well-governed Power BI deployments should also follow a similar DTAP process for the creation of content.</p><p>Power BI query parameters and the ability to publish content to multiple workspaces facilitate this process.</p><p>While a DTAP process can be performed manually, Premium users can leverage <strong>Power BI deployment pipelines</strong> to facilitate and automate this process.</p><h4>To create and use a Power BI deployment pipeline, follow these steps:</h4><ul><li>In the Power BI service, create a workspace and publish the LearnPowerBI.pbix report to this workspace.</li><li>Open the workspace in the Power BI service and choose <strong>Create deployment pipeline</strong> in the ribbon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/653/1*SrgJdOvzzDBMxSrMENWgCA.png" /></figure><ul><li>Provide a pipeline name such as <em>Learn Power BI</em> and click the <strong>Next</strong> button.</li><li>Select the <strong>Create and continue</strong> button to accept the default pipeline stages, <strong>Development</strong>, <strong>Test</strong>, and <strong>Production</strong>. Alternatively, you can add, remove, and rename stages as desired.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*Q_lVkOa2DCVffQFgY-5pfw.png" /></figure><ul><li>Assign the deployment stage for the workspace as <strong>Production</strong> and click the <strong>Assign</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*MqGQi5qh3nx6ABuS3HU2Rg.png" /></figure><ul><li>If a warning is displayed regarding unsupported items, simply click the <strong>Continue</strong> button.</li><li>Click on the <strong>Test</strong> stage. Select both the semantic model and report and then click the <strong>Deploy </strong>button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/831/1*x6-jue74L-cVQDOscu5xMQ.png" /></figure><ul><li>Again, if a warning is displayed regarding unsupported items, simply click the <strong>Continue</strong> button.</li><li>In the <strong>Deploy back to this stage</strong> dialog, click the <strong>Deploy</strong> button.</li><li>A new workspace called <strong>Learn Power BI [Test]</strong> is created and the content is deployed to that workspace.</li><li>Once the copying of content is complete, repeat the procedure in <em>step 7</em> using the <strong>Development </strong>stage in order to create and deploy content to the <strong>Development</strong> stage. This creates a <strong>Learn Power BI [Development]</strong> workspace and deploys the content to that workspace.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*SWhRXiZGBRWBqmdJQEF9Kg.png" /></figure><p>Once a deployment pipeline is deployed between stages, green checkboxes are present, indicating that the content in both stages is the same or in sync with one another.</p><p>If new or updated content is subsequently deployed to the <strong>Development</strong> stage, this icon indicates that the content is not in sync.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*WWsk97-xJx7k9P43vEjRvQ.png" /></figure><p>To deploy the updated content from the <strong>Development</strong> stage to the <strong>Test</strong> stage, click the Test stage, select the modified content and click the <strong>Deploy</strong> button.</p><p>In addition to making deployment between workspaces easy, pipelines also allow you to define rules for the different pipeline stages.</p><p>These rules allow you to repoint data sources, for example, from Development systems to Test and Production systems.</p><p>The ability to define deployment rules is accessed by clicking the lightning bolt icon of the appropriate stage.</p><h4>Gateway Governance</h4><p>While we already covered the basics of managing gateways and connections in <a href="https://medium.com/@info.codetitan/how-to-use-and-install-data-gateways-c4820167e005"><strong><em>How to Use and Install Data Gateways</em></strong></a>, there is also the ability to govern who can install data gateways if you have the <strong>Global Admin </strong>or <strong>Fabric Admin</strong> role within <strong>Entra</strong>.</p><blockquote>To see how this is done, do the following:</blockquote><ul><li>Select the gear icon in the upper-right corner of the Power BI service and choose <strong>Manage connections and gateways</strong> under <strong>Resources and extensions</strong>. Alternatively, click the ellipsis (<strong>…</strong>) in the upper-right corner, then <strong>Settings</strong>, and then <strong>Manage connections and gateways</strong>.</li><li>In the upper-right corner, toggle <strong>Tenant administration</strong> to <strong>On</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*KMEgEQ7i2os0WVwlh3VsWw.png" /></figure><ul><li>Select the <strong>On-premises data gateways</strong> tab.</li><li>Select <strong>Manage gateway installers</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*LBeR6tNod_yKZHwZsjOP_A.png" /></figure><ul><li>The <strong>Manage gateway installers</strong> pane opens on the right-hand side of the page. Toggle <strong>Restrict users in your organization from installing gateways</strong> to <strong>On</strong>.</li><li>Under <strong>Users who can install gateways</strong>, use the <strong>Search by name or email</strong> field and the <strong>Add </strong>button to add gateway installers.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*YOetRFOON1qen10lOf-LlA.png" /></figure><h4>Purview</h4><p>Microsoft Purview assists organizations in managing, protecting, and governing their data.</p><p>In fact, Microsoft Purview is essentially an umbrella for a number of previous loosely related data security and compliance solutions.</p><ul><li>Data Loss Prevention</li><li>Information Barriers</li><li>Information Protection</li><li>Insider Risk Management</li><li>Privileged Access Management</li></ul><p>Certain Microsoft Purview functionality is included in a Microsoft Fabric trial.</p><p>However, to make full use of Purview requires separate licensing, such as Purview Information Protection for Office 365 licenses.</p><p>Of most relevance for Power BI, Purview Information Protection allows the application of sensitivity labels for Power BI content in both Power BI Desktop and the Power BI service.</p><p>Sensitivity labels, such as Confidential, are visible within many different areas of Power BI and Fabric and can control what operations a user may perform on data exported from Power BI content with applied sensitivity labels.</p><p>Purview Data Loss Prevention policies can also be applied to Power BI content, allowing policy tips to be attached to items that have sensitive content and alerts to be triggered that can be reviewed in the Microsoft Purview compliance portal.</p><p>Basic Purview reporting is built into the Power BI service.</p><blockquote>To access this reporting, perform the following steps:</blockquote><ul><li>Select the gear icon in the upper-right corner of the Power BI service and choose <strong>Microsoft Purview hub</strong> under <strong>Governance and insights</strong>. Alternatively, click the ellipsis (<strong>…</strong>) in the upper-right corner, then <strong>Settings</strong>, and then <strong>Microsoft Purview hub</strong>.</li><li>The Microsoft Purview hub page is displayed. Reporting can be found under the Microsoft Fabric data heading.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*etgs570RqqpltiUgIAxe2Q.png" /></figure><p>We have now covered many different settings and methods for governing Power BI.</p><h3>Adopting Power BI</h3><p>The subject of an organization adopting a disruptive technology such as Power BI is vast and complex and a complete treatment of this subject is beyond the scope.</p><p>However, this section introduces the topic and provides the essential strategies for adopting Power BI within an organization.</p><p>Adoption as covered here is the diffusion of a disruptive technology within an organization.</p><p>It means that a technology progresses from being used infrequently by a small percentage of an organization to being used by the entire organization on a daily basis.</p><p>Power BI, a self-service business intelligence technology, should be viewed as a disruptive technology that must be evangelized in order to promote its use throughout an organization.</p><p>The basic underpinnings of the diffusion of technology within a society is a well-researched subject within scientific literature, popularized in 1962 by Everett Rodgers’ seminal work, <em>Diffusion of Innovation</em>.</p><p>The diffusion of innovation theory is most often presented as a bell curve similar to <em>Figure</em>, where adopters are classified into five categories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/1*566YJl9uTUd0o-cOKGCXPQ.png" /></figure><p>Geoffrey Moore later extended the diffusion of innovation work by Everett Rodgers and identified an <em>adoption chasm</em> between the early adopters and the early majority.</p><p>While Rodgers’ and Moore’s work mainly dealt with disruptive technologies adopted by society as a whole, many of the same principles and challenges apply to disruptive technologies such as Power BI when considering adoption by an organization.</p><h4>Adoption Strategies</h4><p>If you are the first or one of the first Power BI users within your organization, then you fall into the Innovators category of the diffusion of innovation bell curve.</p><p>As an innovator, you are more prone to take risks and learn new technologies.</p><p>As an innovator using Power BI, you understand the intrinsic business value that Power BI can bring to an organization regarding self-service business intelligence.</p><p>The data analytics and visualization capabilities of Power BI can help organizations make better business decisions and improve the efficiency and effectiveness of business processes, making the business more profitable.</p><p>However, not everyone within an organization is willing to take risks, learn new technologies, or understand the potential business value of Power BI.</p><p>Therefore, your first goal is to identify the potential early adopters of Power BI, but not all early adopters are created equal.</p><p>Early adopters should be considered based on their authority and influence within an organization.</p><p>Early adopters who are executive leaders and/or whose opinions are respected by their peers should be sought out when targeting early adopters because their opinions carry weight within their peer group, and this influence or clout can further drive adoption by their peers.</p><p>Early adopters who have little authority and are not influential within their peer groups are far less effective at driving adoption.</p><p>Once an appropriate group of early adopters has been identified, the next step is to identify a need or pain point that is compatible with a Power BI solution.</p><p>This need or pain point could be many different things.</p><p>For example, the need or pain point may take the form of the creation of manual processes for creating reports in Excel.</p><p>A common theme is that raw data is imported into Excel, massaged, and then reported on.</p><p>This process may take an hour or two every week. Power BI can help solve this problem by effectively eliminating this manual process.</p><p>Another example is perhaps a regularly scheduled meeting that reviews different projects or initiatives within the organization.</p><p>Often, these types of meetings require managers to review data from multiple systems in order to determine the health of each project or initiative.</p><p>Power BI can help solve this problem by bringing together data from multiple source systems and reporting on that information in a visual way that makes the health of each project or initiative immediately clear.</p><p>These are just two examples, but it should be clear that any task where Power BI can save people time and energy is a good candidate because eliminating monotonous, manual effort is generally a winning theme for most individuals and organizations.</p><p>After identifying a need or pain point, the next step is to create a quick <strong>Proof-Of-Concept</strong> (<strong>POC</strong>).</p><p>This POC does not have to be elaborate or even have real data behind it. Rather, the purpose of a POC is to convey the <em>what-if</em> scenario.</p><blockquote>What if the need or pain point of the early adopter could be solved by Power BI?</blockquote><p>A simple POC that visually demonstrates the antidote or cure for the early adopter’s pain.</p><p>Assuming the POC is received favorably, the next step is to propose a business intelligence project that implements the concept demonstrated by the POC. Once this goal is reached, refer to <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, to plan and implement the solution.</p><p>Once you complete your first solution, there is no time to rest on your laurels.</p><p>Evangelize the solution with peers and coworkers, but more importantly, repeat the process with the next pain point and/or early adopter.</p><p>A single success is not likely to create the bandwagon effect necessary to hurdle the adoption chasm between early adopters and the early majority.</p><p>Repeated successes, however, can create the necessary tension and envy within other parts of the organization that allow you to bridge and eventually cross the adoption chasm.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/how-to-use-and-install-data-gateways-c4820167e005">How to Use and Install Data Gateways</a></li><li><a href="https://medium.com/@info.codetitan/learn-ai-assisted-analysis-in-tableau-015a4a58779b">Learn AI-Assisted Analysis in Tableau</a></li><li><a href="https://pub.aimind.so/unveiling-statistical-relationships-4b5688dce0cf">Unveiling Statistical Relationships</a></li><li><a href="https://medium.com/@info.codetitan/collect-database-offline-for-e-mail-marketing-4cd77e6c16be">Collect Database Offline For E-mail Marketing</a></li><li><a href="https://pub.aimind.so/how-to-use-bilateral-filter-in-dsa-d5c1e8fbd6a7">How to Use Bilateral Filter in DSA</a></li></ul><p>Connect with us:</p><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fae2b7e9d8ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use and Install Data Gateways]]></title>
            <link>https://medium.com/@info.codetitan/how-to-use-and-install-data-gateways-c4820167e005?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4820167e005</guid>
            <category><![CDATA[data-gateway]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 09:13:25 GMT</pubDate>
            <atom:updated>2025-12-17T09:13:25.926Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>A step-by-step guide to accessing on-premises data with confidence</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GMvwwW3A_JSdIOIo4ifh7g.jpeg" /><figcaption>Image by Author</figcaption></figure><p>We have spent quite a bit of time in the Power BI service working with reports, dashboards, apps, and security. Till now, we have learned how to create semantic models and reports and then publish and share our work using the Power BI service. However, it is the nature of data to change over time. New data gets added, or existing rows are deleted or changed. Hence, once our work is in the Power BI service, how do we keep our work up to date with new data without having to manually refresh the data on the desktop and republish it? Luckily, the Power BI service contains even more functionality that allows us to keep our data refreshed. In this article, we will cover how to install and configure data gateways, which can keep our data up to date. Then, we will learn how to configure our semantic models to use these gateways.</p><h3>Table of Contents</h3><ol><li>Installing and using data gateways</li><li>Downloading and installing a data gateway</li><li>Running a data gateway</li><li>Configuring a data gateway</li><li>Managing a data gateway</li><li>Refreshing semantic models</li></ol><h3>Installing and Using Data Gateways</h3><p>As mentioned in the introduction, it is the nature of data to change over time.</p><p>The Power BI service includes functionality to keep our data refreshed.</p><p>However, when the data exists on-premises and not in the service, we require a bridge between the Power BI service in Microsoft’s cloud and the on-premises environment.</p><p>This bridge is handled by the on-premises data gateway.</p><p>The <strong>on-premises data gateway</strong>, or simply <strong>data gateway</strong>, is software that’s installed on an on-premises computer that provides a secure connection between local, on-premises data and a variety of services that reside in Microsoft’s cloud, including the Power BI service.</p><p>Once installed, the Power BI service can use this gateway to refresh semantic models that have been published to the Power BI service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*msy_TY9Lst6wyshs5AS9CA.png" /></figure><blockquote>There are two ways the gateway can operate, as follows:</blockquote><ul><li>Standard</li><li>Personal</li></ul><p>The reason to install a gateway in one mode versus the other comes down to the scenario in which you plan to use the gateway.</p><h4>You want to use the standard mode if the following applies:</h4><ul><li>You want other users within the organization to use a single, centralized gateway.</li><li>You need <strong>DirectQuery</strong>, as well as import mode semantic models.</li><li>You wish to use the gateway for Power Apps, Azure Logic Apps, Power Automate, Azure Analysis Services, and dataflows, as well as for Power BI.</li><li>You can run the installation as an administrator.</li><li>The computer that you are installing the gateway on is not a domain controller.</li></ul><p>Many end users often start by installing the gateway in personal mode because they are often not administrators of their local computer.</p><p>In this scenario, they can only use import mode and only use the gateway with Power BI.</p><p>For these users, it is advisable to get the <strong>Information Technology</strong> (<strong>IT</strong>) department involved to install the gateway in standard mode if additional functionality is required.</p><h3>Downloading and Installing a Data Gateway</h3><p>To install a data gateway in either mode, follow these steps:</p><ul><li>Log in to the Power BI service.</li><li>In the header area, click the down arrow icon or the ellipsis. Choose <strong>Data Gateway</strong>. This is a link that takes you to Microsoft’s data gateway home page <a href="https://powerbi.microsoft.com/gateway/">https://powerbi.microsoft.com/gateway/</a>, which should look similar to the following.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LftKOs_I9TYWXeD1YJguIA.png" /></figure><ul><li>Click either the “Download Standard Mode” or “Download Personal Mode” button. The file downloaded is Gateway Install.exe for standard mode and On-premises Data Gateway (Personal Mode).exe for personal mode.</li><li>Save the file to your Downloads directory or another location on your local computer. Once the file has finished downloading, open the folder on your computer where you downloaded the file.</li></ul><h4>Personal Mode Installation</h4><p>To install the gateway in personal mode, follow these steps:</p><ul><li>Right-click the On-premises data gateway (personal mode).exe file and choose <strong>Open</strong>. The installation splash screen is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*cDK2HIOgEMr1rHUIbnAqaQ.png" /></figure><ul><li>Edit the <strong>Install to</strong> directory if desired, accept the terms and conditions, and click the <strong>Install </strong>button.</li><li>It may take a few minutes for the installation to complete. After the installation completes, enter</li><li>the email address that you use to log into the Power BI service and click the <strong>Sign in</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*xHUsY7NOhtV1H8pQfFMvtA.png" /></figure><ul><li>Sign in to the Power BI service to register the gateway.</li><li>Once you have successfully signed in, the gateway is installed and ready to use.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*X_Anz54yzu43PZz-W5ineQ.png" /></figure><h4>Standard Mode Installation</h4><p>To install the gateway in standard mode, follow these steps:</p><ul><li>Right-click the GatewayInstall.exe file and choose <strong>Run as administrator</strong>. The installation splash screen is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*5LdmjEO2n-ZY9LJXpwot7Q.png" /></figure><ul><li>Edit the <strong>Install to</strong> directory if desired, accept the terms and conditions, and click the <strong>Install </strong>button.</li><li>It may take a few minutes for the installation to complete. After the installation completes, enter the email address that you use to log into the Power BI service and click the <strong>Sign in </strong>button.</li><li>Sign in to the Power BI service.</li><li>Choose whether you wish to register a new gateway or migrate/restore/takeover an existing gateway. We will choose <strong>Register a new gateway on this computer</strong> and click the <strong>Next</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/566/1*C4Koj9Xv40Xijl2HIJlg7w.png" /></figure><ul><li>Enter a name for the gateway, provide a recovery key, and click the <strong>Configure</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*oaJvtJ8FFrLFnCXuqMTb4Q.png" /></figure><p>The recovery key is needed if you need to restore the gateway or wish to add additional gateways to the gateway cluster, so make sure that you record this recovery key in a safe place.</p><p>You have the option to add a gateway to an existing cluster.</p><p>Only do this if you have already installed a gateway and wish to enable redundancy.</p><p>In addition, at the bottom of the screen, you have the option to change the region that your gateway operates in.</p><p>Only do this if you understand what you are doing.</p><p>The gateway’s region is based on the Power BI tenant that’s tied to your login.</p><p>If you install the gateway for another region, it will not operate correctly with that tenant’s region.</p><ul><li>The data gateway should now be installed and ready to use.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*bZNkAyXKbQdS1JHuDlkirg.png" /></figure><p>Now that the gateway is installed, we can move on to how to operate and use it.</p><h3>Running a Data Gateway</h3><p>The data gateway runs as either an application or a service on the computer that the installation was run on, depending on which mode — either personal or standard — was used for the installation.</p><h4>Personal Mode</h4><p>When installed in personal mode, the gateway runs as a background process called <strong>Microsoft.PowerBI.</strong></p><p><strong>DataMovement.PersonalGateway</strong>. This background process continues to run even if you close the gateway administration screen that appears at the end of the installation.</p><p>This administration screen is the <strong>PersonalGatewayConfigurator</strong> application.</p><p>The <strong>PersonalGatewayConfigurator</strong> application is enabled to start automatically by default. To prevent the gateway from starting automatically after rebooting.</p><ul><li>Use the Windows Start menu to launch <strong>Task Manager</strong>. The Power BI gateway background process can be found on the <strong>Processes</strong> tab.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*ZTKWB25_W6YjQbtxjB_laA.png" /></figure><ul><li>If desired, you can select <strong>Microsoft.PowerBI.DataMovement.PersonalGateway</strong> and click the <strong>End task</strong> button to stop the gateway.</li><li>In the <strong>Task Manager</strong> window, switch to the <strong>Startup apps</strong> tab.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*L38GUzxt67erOGy-2NFWLA.png" /></figure><ul><li>If you do not want the personal gateway to start automatically, right-click <strong>PersonalGatewayConfigurator</strong> and choose <strong>Disable</strong>.</li></ul><h4>Standard Mode</h4><p>When installed in standard mode, the gateway runs as a Windows service, which is why you need to run the installation as an administrator.</p><p>This service’s name is <strong>PBIEgwService</strong> with a <strong>Description</strong> of an <strong>On-premises data gateway service</strong>, and the background process is called <strong>Microsoft.PowerBI.EnterpriseGateway</strong>.</p><p>Once installed, this service is set to automatically start when the computer is rebooted.</p><p>This Windows service continues to run even if you close the gateway administration screen that appears at the end of the installation.</p><p>This administration screen is the <strong>EnterpriseGatewayConfigurator</strong> application.</p><p>If you close the administration application, you can bring the administration screen back up by finding and running <strong>On-premises data gateway</strong> in the Windows Start menu. Now that you have a data gateway installed, it is time to configure the data gateway.</p><h3>Configuring a Data Gateway</h3><p>The data gateway has some additional configuration settings that are worth understanding. These configuration settings are available from the gateway administration application that appears at the end of the installation. We already saw the <strong>Status</strong> page of the application at the end of the <em>Downloading and installing a data gateway</em> section.</p><blockquote>The additional pages are as follows:</blockquote><ul><li>Service Settings</li><li>Diagnostics</li><li>Network</li><li>Connectors</li><li>Recovery Keys</li></ul><h4>Service Settings</h4><blockquote>The <strong>Power BI Service Settings</strong> page is shown in the following screenshot:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*tYKyDOGoH7KHEhe8jvSUag.png" /></figure><p>Both the personal mode and standard mode configurators allow you to restart the gateway by clicking the <strong>Restart now</strong> link.</p><p>It is advisable to restart the gateway anytime a configuration setting is changed.</p><p>Standard mode also allows you to change the account that’s used to run the Windows service.</p><p>You can do so by clicking the <strong>Change account</strong> link if you are already signed in. By default, the Power BI service runs as the internal account known as NT SERVICE\PBIEgwService.</p><p>This can be changed if you wish to run the Power BI service as an Active Directory domain account.</p><h4>Diagnostics</h4><p>The <strong>Diagnostics</strong> page, as shown in the following screenshot, is the same for both modes of the gateway.</p><p>If you are having an issue with your gateway, then this is a good place to start troubleshooting.</p><p>This page allows you to enable detailed logging by moving the <strong>Additional logging</strong> slider to the right.</p><p>These logs can be used for troubleshooting purposes, but should not be enabled unless you are experiencing issues with the gateway.</p><p>This is because enabling added logging can cause performance issues.</p><p>These logs can be exported to a single .zip file by selecting the <strong>Export logs</strong> link under the <strong>Gateway logs</strong> heading.</p><p>New gateway installations include support for <strong>Even Tracing for Windows</strong> (<strong>ETW</strong>) logging as well.</p><p>You can also ensure that the communication pathways are open between the gateway and the Power BI service by selecting the <strong>Start new test</strong> link under the <strong>Network ports test</strong> heading.</p><p>This is useful if you wish to see whether there might be something such as a firewall blocking communication.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*NCN4_gtpK-YFY3e9rWNcqQ.png" /></figure><h4>Network</h4><p>The <strong>Network</strong> page, as shown in the following screenshot, is the same for both modes of the gateway. Here, you can see the status of the network connectivity between the gateway and the Power BI service.</p><p>In addition, you can turn HTTPS mode on or off to force the gateway to use either <strong>HyperText Transfer Protocol Secure</strong> (<strong>HTTPS</strong>) or <strong>Transmission Control Protocol</strong> (<strong>TCP</strong>) as the network communication protocol.</p><p>In either mode, network traffic is encrypted. It is recommended that you leave HTTPS mode with its default settings.</p><p>If HTTPS mode is off, the gateway will still automatically switch to using HTTPS mode if it is unable to communicate via direct TCP.</p><p>This setting always reflects the current network communication protocol being used by the gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*vDAYeggFDmx-RaCaOI6cKA.png" /></figure><h4>Connectors</h4><p>The <strong>Connectors</strong> page, as shown in the following screenshot, is nearly identical for both modes of the gateway.</p><p>Power BI is an extremely extensible platform, and this is also true of the data gateway.</p><p>The <strong>Connectors</strong> page specifies the file location where custom data connectors are installed.</p><p>Custom data connectors allow developers to create data connectors to applications, services, and data sources that aren’t currently supported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*sJ5wwtLcHIHPNvpcFs_fiQ.png" /></figure><h4>Recovery Keys</h4><p>The <strong>Recovery Keys</strong> page only appears when you sign in to the data gateway. This page simply allows you to set new recovery keys.</p><p>You will need the current recovery key to set a new recovery key, so make certain to keep your recovery keys safe. Now that we have investigated the additional configuration settings for the data gateway.</p><h3>Managing a Data Gateway</h3><p>Once the gateways have been installed and configured, standard mode gateways can be managed via the Power BI service.</p><blockquote>To manage a standard mode gateway, do the following:</blockquote><ul><li>Log in to the Power BI service.</li><li>Click the gear icon at the top right and choose <strong>Manage connections and gateways</strong>. Depending on your screen resolution and level of zoom, you may need to click on the ellipses (<strong>…</strong>) to the right of the <strong>Search</strong> box, then <strong>Settings</strong>, and then <strong>Manage connections and gateways.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*qd6Ux5MrtF8fFji1i_jI4A.png" /></figure><p>After selecting the <strong>Manage connections and gateways</strong> link from the gear icon in the Power BI service, the <strong>Manage Connections and Gateways</strong> page is displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*fqjsVpwbzvjs7w4nDS4SZA.png" /></figure><p>Selecting <strong>Settings</strong> displays the <strong>Settings</strong> pane on the right-hand side of the page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/1*OUfbKxLYaURhljBJ9whyxg.png" /></figure><p>The first four settings listed are primarily informational. These include <strong>Name</strong>, <strong>Department</strong>, <strong>Description</strong>, and <strong>Contact information</strong>.</p><p>However, it is important to understand the three checkboxes after these four informational fields.</p><ul><li>The first checkbox is <strong>Distribute requests across all active gateways in this cluster</strong>. Installing a gateway creates a single gateway cluster. If additional gateways are installed within that single cluster, the load balancing across gateways within the cluster is random by default. Checking this box forces refresh requests to be distributed evenly across all of the gateways in the cluster. Only enable this checkbox if you’re using multiple gateways in a single cluster, and you wish for the load balancing not to be random.</li><li>The next checkbox is <strong>Allow user’s cloud data sources to refresh through this gateway cluster. </strong>This setting is used when you wish to have a single query that merges or appends both cloud and on-premises data sources. It is a good idea to enable this setting since, if this setting is not enabled, any queries that merge with both cloud and on-premises data sources within a single query will fail to refresh.</li><li>The third checkbox is <strong>Allow user’s custom data connectors to refresh through this gateway cluster</strong>. This setting allows custom data connectors to be refreshed through this gateway. Keep in mind that the custom data connector must be installed in the gateway’s custom data connector’s folder, as specified on the <strong>Connectors</strong> page of the gateway configuration application. You should only enable this checkbox if you’re using custom data connectors.</li></ul><p>The third checkbox is <strong>Allow user’s custom data connectors to refresh through this gateway cluster</strong>.</p><p>This setting allows custom data connectors to be refreshed through this gateway.</p><p>Note that the custom data connector must be installed in the gateway’s custom data connector’s folder, as specified on the <strong>Connectors</strong> page of the gateway configuration application.</p><p>You should only enable this checkbox if you’re using custom data connectors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*Q2CGqC5oX0WYX3LqrX93ag.png" /></figure><p>Gateway administrators and users can also be removed by selecting the trash can icon next to their names.</p><p>Next to the <strong>Manage users</strong> button is the <strong>Remove</strong> button.</p><p>Even if you uninstall a gateway from a computer or turn of f the computer that a gateway is installed on, the gateway cluster remains registered in the Power BI service.</p><p>Therefore, to remove the gateway from the service, you must select the gateway and click <strong>Remove</strong>.</p><h4>Adding Connections</h4><p>Unlike personal gateways, which automatically map themselves to available semantic model connections, standard mode gateways must have their connections created and then mapped to data sources.</p><ul><li>On the <strong>Connections</strong> tab, choose <strong>+ New</strong>. The <strong>New connection</strong> pane is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*I1gOWZXmLxlyb5su8TcW-g.png" /></figure><p>This page varies, depending on the <strong>Connection type</strong> parameter that’s selected.</p><p>However, in general, this page allows the gateway administrator to manually define a data source that can be refreshed using the gateway.</p><p>Once a connection is created, selecting the connection on the <strong>Connections</strong> tab allows you to manage users.</p><p>This controls who is allowed to use the connection on the gateway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*205e0tC34YHQsisqWORpOA.png" /></figure><p>Now that you understand the management of gateways and connections.</p><h3>Refreshing Semantic Models</h3><p>Now that a gateway is installed and configured, it is time to enable our semantic model so that it can automatically refresh.</p><p>This means that if we add to or replace the data in our file or database, the Power BI service can automatically refresh that data within the published semantic model so that the associated dashboards and reports are kept up to date.</p><h4>Scheduling a Refresh</h4><p>To schedule a refresh for a semantic model, do the following:</p><ul><li>Log in to the Power BI service. Navigate to your workspace.</li><li>For the desired semantic model, hover over your semantic model, click the ellipsis (<strong>…</strong>), and choose <strong>Settings.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*2w3acfOieRJE8POQQo-rfw.png" /></figure><ul><li>Expand the <strong>Gateway and cloud connections</strong> section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*4h2qu5Olu23IcIBfS1iJQA.png" /></figure><p>Keep in mind that any installed personal gateways, as well as any standard mode gateways that you have access to, appear under this section.</p><p>As shown in the preceding screenshot, the personal mode gateway displays a checkbox under <strong>Status</strong> indicating that it is properly configured to refresh the semantic model.</p><p>However, the standard mode gateway status is <strong>Not configured correctly</strong>.</p><p>This is because the data sources that are used by the semantic model haven’t been added to the gateway.</p><p>This is an important distinction between the different modes of the gateway.</p><p>Gateways that are installed in personal mode do not require data sources to be added to the gateway and managed, but gateways that are installed in standard mode require additional steps to be used.</p><p>If you are using <strong>Personal Gateway</strong>, skip to <em>Step 11</em>; otherwise, continue with <em>Step 4</em>.</p><ul><li><strong>Standard mode only</strong>: To add the data sources to our standard mode data gateway, click the right arrow icon beneath <strong>Actions</strong>. This displays a <strong>Data sources included in this semantic model</strong> list.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*FesvBGoSHduGdo_XCPynNA.png" /></figure><ul><li><strong>Standard mode only</strong>: To add data sources to the data gateway, simply click the <strong>Add to gateway </strong>link next to the data source. This transports you to the <strong>New connection</strong> page for the gateway.</li></ul><p>Again, this page will vary, depending on the type of data source, but by default, <strong>Connection type</strong> and some other information will already be filled in on the page.</p><p>Complete any other required information; in this case, provide a descriptive name, as well as your <strong>Authentication </strong>settings. When you’re finished, click the <strong>Create</strong> button.</p><ul><li><strong>Standard mode only</strong>: After clicking the <strong>Create</strong> button, if the data source has been set up and tested successfully, you will be transported back to the semantic model’s settings page. Expand the <strong>Gateway connections</strong> section and click the right arrow icon in the <strong>Actions</strong> area for the standard mode gateway.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*u4nFAyFG2UGhUESUXrvg7g.png" /></figure><ul><li><strong>Standard mode only</strong>: This time, you should have a green checkmark instead of a red <strong>x</strong> next to your first data source. In addition, instead of an <strong>Add to gateway</strong> link, there should be a <strong>Maps to</strong> drop-down box. Click this drop-down box and note that the name of your newly created gateway data source definition appears, which, in this case, is <strong>Budget and Forecast</strong>. This is why it is important to provide good, descriptive names when defining data sources for a gateway.</li><li><strong>Standard mode only</strong>: Repeat <em>Step 5</em> and <em>Step 7</em> for the two additional data sources. When you are finished, your standard mode gateway should show green text and a status of <strong>Running on</strong>. In addition, your data sources should display green checkmarks and have <strong>Maps to</strong> drop-down boxes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*dOrXSJ9gGd5AN8aOwAIeOw.png" /></figure><ul><li><strong>Standard mode only</strong>: Map each of the data sources to their corresponding gateway data source definitions using the <strong>Maps to</strong> drop-down menu and click the <strong>Apply</strong> button. Note that, in the <strong>Data source credentials</strong> section, the yellow warning banner goes away, and that you are no longer required to enter your credentials. This is because the credentials have been defined as part of the gateway connection definitions. Skip to <em>Step 12</em>.</li><li><strong>Personal mode only</strong>: If you’re using a gateway in personal mode, you must enter the authentication credentials that will be used to access the data in the <strong>Data source credentials</strong> section. Any data source that has a warning icon next to the <strong>Edit credentials</strong> link must have credentials entered for it. To do this, click the <strong>Edit credentials</strong> link next to a data source and sign in. Repeat this for each data source. Note that the warning icon disappears once the data source has been correctly configured. Once all of the data sources have been correctly configured, the yellow warning banner will disappear.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*oI4OqHWBvTQcsRBsT6XVEA.png" /></figure><ul><li>Now that the appropriate gateway and credentials have been configured, it is time to configure the refresh schedule. Expand the <strong>Refresh</strong> section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*lNrnQ0kTS-lRMYI7CZgbnQ.png" /></figure><ul><li>Toggle <strong>Configure a refresh schedule</strong> to <strong>On</strong>. You can set <strong>Refresh frequency</strong> to either <strong>Daily</strong> or <strong>Weekly</strong>, as well as setting <strong>Time zone</strong>. Click <strong>Add another time</strong> under the <strong>Time</strong> area.</li><li>Use the drop-down boxes to set the desired time for the refresh. If you’re using a <strong>Weekly</strong> refresh schedule, you can also select the days of the week when refreshes occur. Multiple times can be added to keep a semantic model refreshed by clicking the <strong>Add another time</strong> link. Up to eight scheduled refreshes can be configured per day with Power BI Pro and up to 48 refreshes per day with Premium Per User and Fabric SKUs (formally, Power BI Premium).</li><li>Once you have finished adding the specified refresh times, you can add an email address that notifications will be sent to if there is a problem with the data refresh. Then, you can click the <strong>Apply</strong> button.</li></ul><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/learn-dashboards-apps-metrics-and-security-36db44c0cdee">Learn Dashboards, Apps, Metrics, and Security</a></li><li><a href="https://medium.com/@info.codetitan/building-a-dynamic-dashboard-using-tableau-b8ff183a36f3">Building a Dynamic Dashboard Using Tableau</a></li><li><a href="https://medium.com/@info.codetitan/measures-of-association-and-shape-in-statistics-732fda42b492">Measures of Association and Shape in Statistics</a></li><li><a href="https://medium.com/@info.codetitan/collect-database-offline-for-e-mail-marketing-4cd77e6c16be">Collect Database Offline For E-mail Marketing</a></li><li><a href="https://pub.aimind.so/how-i-use-chatgpt-with-excel-a9c9710f0db6">How I Use ChatGPT With Excel</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4820167e005" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Dashboards, Apps, Metrics, and Security]]></title>
            <link>https://medium.com/@info.codetitan/learn-dashboards-apps-metrics-and-security-36db44c0cdee?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/36db44c0cdee</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[dashboard-design]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[metrics]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Mon, 15 Dec 2025 11:06:53 GMT</pubDate>
            <atom:updated>2025-12-15T11:06:53.599Z</atom:updated>
            <content:encoded><![CDATA[<h4>A human guide to building dashboards that inform, apps that empower, metrics that matter, and security you can trust</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bkrU5H9iui_UlZw01MgPmg.jpeg" /><figcaption>Image by Author</figcaption></figure><p>While reports are what you will primarily interact with the most in the service, other aspects of the service are quite powerful and can add tremendous value. It is important to understand the capabilities of objects such as dashboards and apps to determine the best method of sharing and collaborating on your work. In addition, scorecards and metrics can help you keep track of important business KPIs. The goal of this article is to familiarize you with all of the other objects within the service and understand how these different objects interrelate with one another in terms of security.</p><h3>Table of Contents</h3><ol><li>Understanding dashboards</li><li>Creating and using apps</li><li>Working with metrics</li><li>Understanding security and permissions</li></ol><h3>Understanding Dashboards</h3><p>Dashboards are single-page canvases that contain visualizations called <strong>tiles</strong>. These tiles are visualizations pinned from reports, other dashboards, <strong>Question and Answer</strong> (<strong>Q&amp;A</strong>) displays, or other sources such as quick insights. Single visuals or entire report pages can be pinned.</p><p>At first, you may be confused regarding the purpose of dashboards versus reports since both are essentially collections of visualizations.</p><p>The most important difference is that reports can only contain visuals based upon a single semantic model, versus Power BI dashboards, which can contain visuals from many different reports and thus many different semantic models within the same workspace.</p><p>In addition, dashboards have exclusive features, such as setting alerts, setting a featured dashboard, and controlling navigation.</p><p>Because dashboards can contain information from one or more reports and one or more semantic models, dashboards allow end users to create a single, customized view of all of the information within an organization that is most important to them.</p><h4>Creating a Dashboard</h4><p>To create a simple dashboard, perform the following steps:</p><ul><li>Make sure that you are viewing the <strong>LearnPowerBI</strong> report in the service. Then, click on the <strong>Executive Summary</strong> report page.</li><li>Hover your mouse over any of the visualizations on the page and note that several icons appear in the upper-right or lower-right corner of the visualization. The first icon on the left is the <strong>Pin visual</strong> icon.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*A-nHaf1e0AxAAMedq-tCKg.png" /></figure><ul><li>Click the <strong>Pin visual</strong> icon and the <strong>Pin to dashboard</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*SPMzmsghVx2qg6oANDHwiA.png" /></figure><ul><li>Enter Learn Power BI in the <strong>Dashboard name</strong> field and then click the <strong>Pin</strong> button.</li><li>When viewing the workspace, <strong>Learn Power BI </strong>now appears as a dashboard content item. Clicking on this dashboard displays the pinned visualization as a tile on the dashboard.</li></ul><p>It is important to remember that when pinning a report visual, the report visual is pinned with all current filters active on that visual, such as filters from the <strong>Filters</strong> pane, slicers, and cross-highlighting/cross-filtering from other visuals.</p><p>These filters persist on the dashboard tile even after the underlying semantic model is refreshed or if the filters on the report are changed.</p><p>Now that we have created a simple dashboard, we can explore how to work with dashboards in the service.</p><h4>Working with Dashboards</h4><p>Working with dashboards in the service is in some ways very similar to working with reports. We explore the various options and features of dashboards in the service.</p><p>Once a dashboard is created, the new dashboard appears in the content area when viewing a workspace.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*Vj1UAPEnvkLE0vCctwPO8Q.png" /></figure><p>Viewing dashboards in the service presents a ribbon with various functions.</p><ul><li><strong>File</strong></li><li><strong>Share</strong></li><li><strong>Chat in Teams</strong></li><li><strong>Comment</strong></li><li><strong>Subscribe to dashboard</strong></li><li><strong>Edit</strong></li><li>Ellipsis (<strong>…</strong>)</li></ul><p>The <strong>Share</strong>, <strong>Chat in Teams</strong>, <strong>Comment</strong>, and <strong>Subscribe to dashboard</strong> options essentially work the same for dashboards as reports, thus we will not explore these options in depth here.</p><h4>File Menu</h4><p>The <strong>File</strong> menu contains the following options:</p><ul><li><strong>Save a copy</strong></li><li><strong>Manage permissions</strong></li><li><strong>Print this page</strong></li><li><strong>Settings</strong></li></ul><p><strong>Save a copy</strong>, <strong>Manage permissions</strong>, and <strong>Print this page</strong> work similarly to the equivalent options under the <strong>File</strong> menu for reports.</p><p>The <strong>Settings</strong> menu is also similar to the <strong>Settings</strong> menu option for reports, except for the <strong>Q&amp;A</strong> option.</p><h4>The Q/A Toggle</h4><p><strong>Q&amp;A</strong> in the service works similarly to <strong>Q&amp;A</strong> functionality in the desktop, allowing dashboard users to ask questions about the underlying data and receive answers in the form of visuals.</p><blockquote>For dashboards with <strong>Q&amp;A</strong> enabled, you can access and use <strong>Q&amp;A</strong> by following these steps:</blockquote><ul><li>Ensure that the <strong>Q&amp;A</strong> toggle is on in the <strong>Settings</strong> menu for the dashboard.</li><li>Click the <strong>Ask a question about your data</strong> text that appears at the upper left of the dashboard canvas. Clicking on this brings up the <strong>Q&amp;A</strong> interface within the service.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*xVDdzBQcNzhckOm9GkYcSw.png" /></figure><ul><li>Suggested questions are presented to aid the dashboard user in forming acceptable questions. Your suggested questions may be different than those in <em>Figure.</em></li><li>Enter your own question, such as sum of hours by location where category is PTO, in the <strong>Ask a question about your data</strong> field.</li><li>Once you find a visual that you like, click <strong>Pin visual</strong> in the ribbon area.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*ynW6wtu4ivbOGnq4bXf--w.png" /></figure><ul><li>Click the <strong>Pin</strong> button to pin the tile to your current, existing dashboard.</li><li>Once you’re back on the <strong>Q&amp;A</strong> interface, click <strong>Exit Q&amp;A</strong> in the ribbon to return to your dashboard and see your new tile.</li></ul><h4>Edit</h4><p>The <strong>Edit</strong> menu contains the following three options:</p><ul><li><strong>Add a tile</strong></li><li><strong>Dashboard theme</strong></li><li><strong>Mobile layout</strong></li></ul><h4>Add a Tile</h4><p>While tiles can be added from a variety of sources, certain types of tiles can be added directly to the dashboard.</p><ul><li><strong>Web content</strong></li><li><strong>Image</strong></li><li><strong>Text box</strong></li><li><strong>Video</strong></li><li><strong>Custom Streaming Data</strong></li></ul><p>Choosing <strong>Add a tile</strong> brings up the <strong>Add a tile</strong> pane.</p><p>This pane walks you through creating the desired type of tile.</p><p>Keep in mind that <strong>Web content</strong> and <strong>Video</strong> may be disabled due to a default tenant setting.</p><p>For images and videos, these simply require a <strong>Uniform Resource Locator</strong> (<strong>URL</strong>) link to the desired content.</p><p>For videos, these must be YouTube or Vimeo URLs.</p><p>Uploading your own images and videos isn’t supported.</p><p>Textboxes simply require you to enter the text that you want displayed, along with any desired formatting.</p><p>Web content tiles take an embed code, which is generally in the form of an <strong>Inline Frame</strong> (<strong>IFRAME</strong>).</p><h4>Dashboard Theme</h4><p>Choosing the <strong>Dashboard theme</strong> option brings up the <strong>Dashboard theme</strong> pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*5KRhmjeXyCfPv8cmBnobLA.png" /></figure><p>The drop-down field provides various pre-built themes.</p><ul><li><strong>Light</strong></li><li><strong>Dark</strong></li><li><strong>Color-blind friendly</strong></li><li><strong>Custom</strong></li></ul><p>The <strong>Custom</strong> option allows you to create a custom theme by selecting colors, tile opacity, and whether to use a background image.</p><p>This theme can be downloaded by clicking on <strong>Download JSON theme</strong>.</p><p>Downloading a <strong>JavaScript Object Notation</strong> (<strong>JSON</strong>) theme allows you to edit the JSON file in a text editor.</p><p>This provides additional levels of control over the theme.</p><blockquote>For example, the following theme file can be created:</blockquote><pre>{ <br> &quot;name&quot;:&quot;LearnPowerBI&quot;, <br> &quot;foreground&quot;:&quot;#FFFFFF&quot;, <br> &quot;background&quot;:&quot;#EC670F&quot;, <br> &quot;dataColors&quot;: [<br> &quot;#EC670F&quot;,&quot;#3C3C3B&quot;,&quot;#E5EAEE&quot;,&quot;#5C85E6&quot;,&quot;#29BCC0&quot;, <br> &quot;#7EAE40&quot;,&quot;#20B2E7&quot;,&quot;#D3DCE0&quot;,&quot;#FF6B0F&quot;<br> ],<br> &quot;tableAccent&quot;:&quot;#20B2E7&quot;, <br> &quot;tiles&quot;: { <br> &quot;background&quot;:&quot;#3C3C3B&quot;, <br> &quot;color&quot;:&quot;#E5EAEE&quot;, <br> &quot;opacity&quot;:1.00<br> }, <br> &quot;visualStyles&quot;: {<br>      &quot;*&quot;: {<br>         &quot;*&quot;: {<br>             &quot;*&quot;: [ <br> {<br>       &quot;color&quot;: {<br>          &quot;solid&quot;: {<br>            &quot;color&quot;:&quot;#E5EAEE&quot;<br>       } <br>          } <br>               }, <br> {<br>           &quot;labelColor&quot;: {<br>               &quot;solid&quot;: {<br>                    &quot;color&quot;:&quot;#E5EAEE&quot;<br><br>} <br>            } <br>          } <br>        ] <br>       }<br>      }<br>     }, <br>   &quot;backgroundImage&quot;:null<br>}</pre><blockquote>Follow these steps to implement the theme:</blockquote><ul><li>Use <strong>Upload JSON theme</strong> to upload the theme file.</li><li>Browse for the file and select <strong>Open</strong>.</li><li>Click the <strong>Save</strong> button in the dialog to activate this theme.</li></ul><p>Your dashboard should now have a color scheme similar to the theme used to create your final report.</p><h4>Mobile Layout</h4><p>As with reports, dashboards can have a custom mobile layout.</p><p>Choosing this option presents an <strong>Edit mobile layout</strong> interface similar to the mobile layout when editing reports, allowing you to build a custom view for phones and mobile devices.</p><p>Tiles can be pinned and unpinned from this interface, as well as resized and moved around the canvas.</p><p>This phone view is automatically saved once created.</p><p>To exit the <strong>Edit mobile layout</strong> interface, choose <strong>Web layout</strong> in the ribbon.</p><p>To delete the custom mobile layout, while in <strong>Edit mobile layout</strong>, choose <strong>Delete mobile layout</strong> in the ribbon.</p><h4>Ellipsis Menu</h4><p>The ellipsis (<strong>…</strong>) menu provides a number of useful options for dashboards.</p><ul><li><strong>See related content</strong></li><li><strong>Open workspace lineage</strong></li><li><strong>Open usage metrics</strong></li></ul><p>All of these options work identically to the same options for reports.</p><h4>Working with Tiles</h4><p>The size and position of tiles can be adjusted on the dashboard canvas. Tiles provide additional functionality, such as the creation of alerts and overall navigation.</p><h4>Sizing and Position</h4><p>To reposition a tile, simply click anywhere on the tile and drag the tile to a new location on the canvas.</p><p>Keep in mind that for some tiles, such as map visual tiles, you cannot click on the map area of the visual when repositioning and must click on the header of the tile.</p><p>To change the size of a tile, hover over the bottom-right corner of the tile with your mouse and then use the sizing handle that appears.</p><p>Tiles can be resized to preset tile dimensions. As you resize a tile, these various possible tile dimensions are shown as a shadow on the canvas.</p><h4>Tile Options</h4><p>Options for tiles can be accessed by hovering over a tile and then clicking on the ellipsis (<strong>…</strong>) in the upper-right corner of the tile. This options menu provides a number of actions.</p><ul><li><strong>Add a comment</strong></li><li><strong>Chat in Teams</strong></li><li><strong>Copy visual as image</strong></li><li><strong>Go to report</strong></li><li><strong>Go to Q&amp;A</strong></li><li><strong>Open in focus mode</strong></li><li><strong>Manage alerts</strong></li><li><strong>Export to .csv</strong></li><li><strong>Edit details</strong></li><li><strong>View Insights</strong></li><li><strong>Pin tile</strong></li><li><strong>Delete tile</strong></li></ul><p>Not all options are available for all types of dashboard tiles. For example, only tiles created via Q&amp;A will list the <strong>Go to Q&amp;A</strong> option.</p><p>Most of these options work similarly to information we have already covered for reports and dashboards or need no real explanation.</p><p>For example, <strong>Copy visual as an image</strong> does exactly that, simply copies the tile as an image to your copy-and-paste clipboard.</p><p>However, <strong>Manage alerts</strong> and <strong>Edit details </strong>deserve further explanation.</p><h4>Manage Alerts</h4><p>Only simple numeric tiles such as card tiles and <strong>Key Performance Indicator</strong> (<strong>KPI</strong>) tiles have the <strong>Manage alerts</strong> option. Choosing the <strong>Manage alerts</strong> option displays the <strong>Manage alerts</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/1*tZwByj_vCbqj7sPQXYk9hQ.png" /></figure><p>Use the <strong>+ Add alert rule</strong> button to add a new alert. Alert rules automatically notify you whenever the metric represented by a tile meets a certain condition, such as falling below a certain value.</p><h4>Edit Details</h4><p>Choosing the <strong>Edit details</strong> option displays the <strong>Tile details</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*5hbPQm_gCV13ENiTt9AQaQ.png" /></figure><p>A useful setting for dashboard tiles is the <strong>Display last refresh time</strong> setting.</p><p>Checking this box displays the last time the underlying semantic model was refreshed.</p><p>In addition, the <strong>Set custom link</strong> option allows you to configure a custom link for the tile.</p><p>When clicking on a tile in a dashboard, the default behavior is to transport the user to the underlying report page from where the tile was originally pinned or, in the case of Q&amp;A tiles, transport the user to the Q&amp;A dialog.</p><p>The <strong>Set custom link</strong> option overrides this default behavior and allows you to control the destination when clicking a tile.</p><h4>Creating and Using Apps</h4><p>Apps are a method of bundling multiple dashboards and reports into a single object that is then published and shared within the organization.</p><p>Hence, instead of sharing individual dashboards and reports or granting permissions to an entire workspace, apps allow the author to choose exactly what content to bundle and share, providing an effective means of organizing shared content and controlling access.</p><h4>Creating an App</h4><p>Before we create an actual app, let’s add some content to our workspace so that we can understand how workspace objects are included and excluded from our app.</p><p>We will create an additional dashboard and report within our workspace by simply duplicating our existing dashboard and report.</p><blockquote>To create a copy of the existing dashboard, follow these steps:</blockquote><ul><li>Navigate to the existing dashboard.</li><li>From the <strong>File</strong> menu, click <strong>Save a copy</strong>.</li><li>Leave the dashboard name, <strong>Learn Power BI (copy)</strong>, as is and click the <strong>Duplicate</strong> button.</li><li>From the <strong>Edit</strong> menu, choose <strong>Dashboard theme</strong>, change the theme to <strong>Dark</strong>, and click the <strong>Save </strong>button.</li></ul><p>Now that we have a copy of the dashboard and can distinguish between the two versions, we can create a copy of the existing report.</p><ul><li>Navigate to the existing report.</li><li>From the <strong>File</strong> menu in the ribbon, choose <strong>Save a copy</strong>.</li><li>For the name of the report, enter <em>Copy of report</em> and click the <strong>Save</strong> button.</li><li>Click <strong>Edit</strong> in the ribbon to edit the report.</li><li>Click on one of the visuals to select it and then press the <em>Del</em> key on your keyboard to delete the visual.</li><li>Click on the <strong>File</strong> menu in the ribbon and choose <strong>Save</strong>.</li><li>Exit editing by clicking <strong>Reading view</strong> in the ribbon.</li></ul><blockquote>Now that we have additional content, we can create an app by following these steps:</blockquote><ul><li>Click on the workspace name under <strong>Workspaces</strong> in the <strong>Navigation</strong> pane to display the workspace interface, which defaults to listing all of the content within the workspace.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*ozTleAAiMaL_1DaowHz_SA.png" /></figure><ul><li>Click the <strong>Create app</strong> button to display the app’s publishing interface.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*_SBgL1kLUrRY4trovSB7iQ.png" /></figure><ul><li>The app publishing interface consists of three tabs: <strong>Setup</strong>, <strong>Content</strong>, and <strong>Audience</strong>. The <strong>Setup </strong>tab is displayed initially. You must fill in the <strong>App name</strong> and <strong>Description</strong> fields, and you can optionally change the default App logo by uploading an image, change the <strong>App theme color</strong>, or edit <strong>Contact information</strong>. <strong>Advanced settings</strong> let you learn how the app’s navigation pane works, manage permissions to hidden content, configure global app settings, and set a support website URL.</li><li>Click on <strong>Next &gt; Add content</strong> | <strong>Add content</strong> button and select the following items:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*BXW2wjR4TbzzapLpIAcpJw.png" /></figure><ul><li>Click the <strong>Add</strong> button to add the content.</li><li>Click the <strong>Next: Add audience</strong> button.</li><li>Click on the <strong>Audience</strong> tab.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*2wmAx836hua9r6KWGdIZHw.png" /></figure><ul><li>Click on the radio button next to <strong>Entire organization</strong> to share the app with the whole organization. The <strong>Audience </strong>tab also allows sharing with groups, distribution lists, internal users, and external users, although your organization may disable sharing with external users.</li><li>Click on the <strong>Publish app</strong> button to publish the app.</li><li>The app publishing dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*O23sZvZFE3n5LP_kMUJpKw.png" /></figure><ul><li>Click the <strong>Publish</strong> button.</li></ul><p>When successfully published, the <strong>Successfully published</strong> dialog is displayed.</p><p>You can either copy the link to the app and email the link to users or direct authorized users to get the app by using the <strong>Apps</strong> link in the <strong>Navigation</strong> pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*yvTp0H0Svh10MZBuGGr6uw.png" /></figure><ul><li>Finally, click on the <strong>Close</strong> button.</li></ul><h4>Getting and Using Apps</h4><p>Once an app has been published, the app can be accessed directly through the link that’s provided when publishing the app.</p><blockquote>Alternatively, you can follow these steps:</blockquote><ul><li>Click on <strong>Apps</strong> in the <strong>Navigation</strong> pane. The <strong>Apps</strong> dialog is displayed on the canvas, listing any existing apps you have installed.</li><li>Click the <strong>Get apps</strong> button that appears in the upper-right corner of the canvas. The <strong>Power BI apps</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*23cg6HK7ROSNuLfFQIlZ8A.png" /></figure><ul><li>Ensure that the <strong>Organizational apps</strong> tab is selected and click the <strong>Get it now</strong> link for the desired app. The app is displayed in the browser.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*kMH8T7fBukIomgG41eimcw.png" /></figure><p>This app functions like an independent application with much of the functionality of the Power BI service, including <strong>Comments</strong>, <strong>Subscribe</strong>, <strong>Bookmarks</strong>, and other functionalities.</p><p>We are now done exploring apps in the service.</p><p>To get back to the service, and exit the app, click the <strong>Go back </strong>link in the bottom-left corner of the app.</p><p>Keep in mind that the <strong>Learn Power BI</strong> app now appears in your list of apps.</p><h3>Working with Metrics</h3><p>Metrics consist of scorecards that allow users to track key goals against business objectives.</p><p>Goals provide the ability for teams to measure their progress toward achieving business objectives, with the ability to share updates and analyze detailed data when necessary.</p><p>Goals are organized into scorecards, which can incorporate content from multiple workspaces in order to provide a single window into the health of an organization.</p><h4>Creating Scorecard and Goals</h4><blockquote>To create a new scorecard, do the following:</blockquote><ul><li>Click <strong>Metrics</strong> in the <strong>Navigation</strong> pane.</li><li>Click the <strong>New scorecard</strong> button. This displays the <strong>Create scorecard</strong> dialog.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*EPnAItTZN51RheX1FGvf8g.png" /></figure><ul><li>Provide a name for your scorecard by clicking the pencil icon that appears when hovering over <strong>Untitled Scorecard</strong>.</li><li>Create a manual goal, like the one configured.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*NpuSZvUwrnISuzKpZH116g.png" /></figure><ul><li>Click the <strong>Save</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*RsIEhLY5e2huYg9XPdHEBA.png" /></figure><p>While this is a simple example, you can see how goals and scorecards can provide an easy way to track progress against a variety of different goals.</p><h4>Using Scorecards and Goals</h4><p>Let’s explore some things that we can do with scorecards and goals. First, let’s update our goal’s progress.</p><blockquote>To do this, perform the following steps:</blockquote><ul><li>Hover over the goal and click the <strong>Notes</strong> icon.</li><li>Click on the <strong>New check-in</strong> button to create a new check-in for the goal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*v9xXHxt3CeT3sWScAdFLSA.png" /></figure><ul><li>Enter a new check-in and click the <strong>Save</strong> button.</li></ul><p>Creating check-ins allows the progress toward the goal to be updated and tracked over time.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>On the scorecard, click <strong>Edit</strong> in the ribbon if not already in <strong>Edit</strong> mode.</li><li>Click the <strong>New</strong> button and then the <strong>New goal</strong> button.</li><li>Provide a name for your goal in the <strong>Goal name</strong> field.</li><li>In the <strong>Current value</strong> area, click the <strong>Set up </strong>dropdown and then choose <strong>Connect to data…</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*6L3Pdy6XBOmYe8KNMn9ngA.png" /></figure><ul><li>Select the LearnPowerBI report from the list of reports and then click the <strong>Next</strong> button.</li><li>Navigate to the <strong>Executive Summary</strong> page of the report, click the <strong>% Utilization vs. Target by Month</strong> KPI visual, and then click the <strong>Connect</strong> button.</li><li>Back on the scorecard edit screen, enter a <strong>Target</strong> value of <em>.8</em> and then click the <strong>Save</strong> button.</li><li>Hover over the new goal and click the <strong>Notes</strong> icon.</li><li>Click the <strong>Status rules</strong> tab and then click the <strong>New rule</strong> button.</li><li>Configure the <strong>Status rules</strong> settings, and then click the <strong>Save</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*_39ozrwZKUfpHsL3yE2Uww.png" /></figure><p>Now, instead of having to update the status manually via check-ins, the status of the goal is updated automatically every time the semantic model refreshes.</p><h3>Understanding Security and Permissions</h3><p>There are several levels of security and permissions within the Power BI service.</p><p>It is important to understand these various permission levels to ensure that users can only access the appropriate reports, dashboards, apps, and data.</p><blockquote>The main levels of permissions within Power BI are listed as follows:</blockquote><ul><li>Workspace permissions</li><li>App permissions</li><li>Object permissions (dashboards, reports, scorecards, and semantic models)</li><li><strong>Row-Level Security</strong> (<strong>RLS</strong>)</li></ul><h4>Workspace Permissions</h4><p>Workspaces serve as logical containers in which you store dashboards, reports, scorecards, workbooks, semantic models, and dataflows.</p><p>So far, we have only worked with a single report and semantic model.</p><p>But workspaces can contain dozens or even hundreds of different dashboards, reports, scorecards, workbooks, semantic models, and dataflows.</p><p>Assigning security at a workspace level provides access to all the objects within the workspace.</p><p>This means that workspace access should only be assigned to individuals or groups of individuals who should see everything that is published or could be published to the workspace.</p><blockquote>To assign workspace permissions, perform the following steps:</blockquote><ul><li>In the <strong>Navigation</strong> pane, click <strong>Workspaces</strong> and then the name of the workspace, which, in this case, is <strong>Learn Power BI</strong>. This changes the canvas to display the workspace interface.</li><li>Click the <strong>Manage access</strong> link in the ribbon of the workspace interface. The <strong>Manage access </strong>dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*3AknE-SsAfBxBVHO3FT-dA.png" /></figure><ul><li>Similar to sharing a report, clicking the <strong>+ Add people or groups</strong> button allows you to enter names or email addresses in the <strong>Enter name or email </strong>field. <strong>Entra </strong>(Azure Active Directory) groups can be assigned as well as individuals.</li></ul><p>There are four different security roles for workspaces.</p><ul><li><strong>Viewer</strong></li><li><strong>Contributor</strong></li><li><strong>Member</strong></li><li><strong>Admin</strong></li></ul><p>The <strong>Viewer</strong> role provides the following permission:</p><ul><li>View items within the workspace.</li></ul><p>The <strong>Contributor</strong> role includes the <strong>Viewer</strong> role permission.</p><ul><li>Publish reports to the workspace and delete content.</li><li>Create, edit, and delete content in the workspace.</li></ul><p>The <strong>Member</strong> role includes all of the <strong>Contributor</strong> and <strong>Viewer</strong> role permissions.</p><ul><li>Allow others to reshare items.</li><li>Share an item or share an app.</li><li>Publish and update an app.</li><li>Add members or others with lower permissions.</li></ul><p>The <strong>Admin</strong> role includes all of the <strong>Member</strong>, <strong>Contributor</strong>, and <strong>Viewer</strong> role permissions.</p><ul><li>Add/remove people, including other admins.</li><li>Update and delete the workspace.</li></ul><p>By default, the creator of a workspace is assigned the <strong>Admin</strong> role.</p><p>Because groups can be assigned permissions to a workspace, individuals may be assigned to multiple roles for a workspace.</p><p>If a user is assigned multiple roles, that individual receives the highest level of access that’s provided by the roles they are assigned.</p><h4>App Permissions</h4><p>App permissions relate to the users that are allowed to get and view a published app. We have already seen how to set app permissions when publishing an app.</p><blockquote>To update an app’s permissions, do the following:</blockquote><ul><li>Navigate to the workspace in the <strong>Navigation</strong> pane.</li><li>Click on <strong>Update app</strong> in the ribbon. The <strong>Update app</strong> option replaces the <strong>Publish app</strong> option in the ribbon once an app has been published.</li><li>Simply adjust the <strong>Audience</strong> tab and republish the app.</li></ul><p>Consider that the same app can be shared with different audiences with different navigation items either hidden or not hidden.</p><h4>Object Permissions</h4><p>Object permissions refer to permissions that are assigned to individual objects within the Power BI service, such as dashboards, reports, and semantic models.</p><p>Unlike workspace permissions, which assign access to all the objects within a workspace, object permissions only assign permissions to an individual object.</p><p>However, there is a hierarchy to these object permissions so assigning permissions at one level of this hierarchy will, by default, assign certain permissions to related objects lower in the hierarchy.</p><blockquote>To understand how object permissions work, consider that the hierarchy for dashboards, reports, and semantic models is as follows:</blockquote><ul><li><strong>Dashboards</strong></li><li><strong>Reports</strong></li><li><strong>Semantic models</strong></li></ul><p>This is a logical hierarchy, as dashboards are built from reports and reports rely upon semantic models.</p><p>This means that when a report is shared, permissions are assigned for the report and are also assigned to the related semantic model for that report.</p><p>However, no permissions are assigned to any dashboards.</p><p>The hierarchical flow of permissions is required since dashboards, reports, and semantic models are all separate yet related objects that are dependent on objects lower in the hierarchy.</p><p>For example, assigning a user permission to view a report would be useless without that user also being able to have permission to read the underlying semantic model for that report.</p><p>Similarly, assigning permissions when sharing a dashboard assigns the corresponding permissions for any related reports and semantic models. Scorecards currently sit completely outside of this hierarchy</p><p>Four permissions can be assigned to objects outside of workspace permission settings.</p><blockquote>These permissions are listed as follows:</blockquote><ul><li><strong>Read</strong></li><li><strong>Build</strong></li><li><strong>Reshare</strong></li><li><strong>Write</strong></li></ul><p>Remember that objects can be shared either via the creation of shared links or via direct access.</p><p>However, the same permissions apply in both cases.</p><p>While sharing and permissions can be accessed from a variety of locations within the Power BI service, the most consistent method that works for all objects is outlined as follows.</p><ul><li>Navigate to the object via the <strong>Navigation</strong> pane.</li><li>In the ribbon, click the <strong>Share</strong> option. This allows you to generate a sharing link.</li><li>To view existing permissions, click the ellipsis (<strong>…</strong>) in the header of the sharing dialog and choose <strong>Manage permissions</strong>.</li><li>In the bottom right-hand corner, click the <strong>Advanced</strong> link.</li><li>The <strong>Links</strong> tab lists generated share links, while the <strong>Direct access</strong> tab lists individuals and groups with direct access to the object.</li></ul><p>Individuals and groups with workspace access are listed under the <strong>Direct access</strong> tab with the corresponding <strong>Permissions</strong> description.</p><ul><li><strong>Workspace Admin</strong></li><li><strong>Workspace Member</strong></li><li><strong>Workspace Contributor</strong></li><li><strong>Workspace Viewer</strong></li></ul><p>Sharing an object grants read access to the object.</p><p><strong>Reshare</strong> permissions can be added for all objects, allowing the user or group members to share the object with others.</p><p><strong>Build</strong> permissions can only be added for semantic model objects, and this allows users or group members to build new reports and content from the semantic model.</p><h4>Row Level Security (RLS)</h4><p>In addition to workspace-level permissions, which assign permissions to everything within a workspace, and object-level permissions, which assign permissions to one or more objects, individual rows of data within a semantic model can be secured as well.</p><p>This is the purpose of RLS, which was first introduced in <a href="https://medium.com/@info.codetitan/learn-data-segmentation-using-power-bi-daf3367db23d"><strong><em>Learn Data Segmentation using Power BI</em></strong></a>.</p><p>In that article, roles were created in the Power BI Desktop application. These roles had <strong>Data Analysis Expressions</strong> (<strong>DAX</strong>) calculations that limited the rows of data that users within those roles could see.</p><p>When a Power BI Desktop file is published to the Power BI service, any roles that were created within Power BI Desktop are published to the service as part of the semantic model for the report.</p><p>Once published, these roles are available within the service.</p><blockquote>To assign users to these roles, follow these steps:</blockquote><ul><li>To access these roles within the service, navigate to a workspace.</li><li>Hover over the semantic model, click the ellipses (<strong>…</strong>), and then click <strong>Security.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*bABHXRNlYKGKc2QB4qDjCg.png" /></figure><ul><li>Clicking on the <strong>Security</strong> link brings up the <strong>Row-Level Security</strong> interface.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/813/1*uTyI-Kfaq4RPYucJcm4h6w.png" /></figure><ul><li>Adding users to roles is as simple as clicking on a role, entering a user’s name or email address, and then clicking the <strong>Add</strong> button.</li></ul><p>Keep in mind that RLS does not affect any other security permissions at a workspace or object level; RLS simply limits the rows of data within a semantic model that a user can read.</p><p>Finally, it is vital to remember that users assigned <strong>Admin</strong>, <strong>Member</strong>, or <strong>Contributor</strong> permissions on the workspace are immune to (not affected by) RLS. The <strong>Viewer</strong> role, however, is affected by RLS.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/what-are-reports-in-power-bi-b9afe9c2011d">What are Reports in Power BI</a></li><li><a href="https://medium.com/@info.codetitan/tableau-data-modeling-joins-and-blends-from-scratch-18f303860584">Tableau Data Modeling, Joins, and Blends From Scratch</a></li><li><a href="https://medium.com/@info.codetitan/significance-testing-in-statistics-c154363b2e03">Significance Testing in Statistics</a></li><li><a href="https://blog.venturemagazine.net/how-to-force-visitors-to-make-a-decision-2f000a476625">How to Force Visitors to Make a Decision</a></li><li><a href="https://pub.aimind.so/user-forms-and-user-input-in-vbs-4729778d5597">User Forms and User Input in VBS</a></li><li><a href="https://pub.aimind.so/why-ciphers-are-useful-in-data-structures-and-algorithms-4490e7716d66">Why Ciphers Are Useful In Data Structures and Algorithms</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36db44c0cdee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are Reports in Power BI]]></title>
            <link>https://medium.com/@info.codetitan/what-are-reports-in-power-bi-b9afe9c2011d?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/b9afe9c2011d</guid>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[reporting]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Fri, 12 Dec 2025 09:49:03 GMT</pubDate>
            <atom:updated>2025-12-12T09:49:03.750Z</atom:updated>
            <content:encoded><![CDATA[<h4>Design, share, and collaborate with reports</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJV2B3iEsK3yditFn5WsFQ.jpeg" /><figcaption>Image by Author</figcaption></figure><p>Now that we have published a report in the <strong>Power BI service</strong> and understood the basics of operating within it, there are many other features of the service that are important to understand. The service has its own extensive feature set, such as sharing and commenting, that adds significant capabilities to Power BI beyond just using the Desktop version. Understanding these features and capabilities allows us to maximize the value of Power BI for any organization. Chief among these is how to use reports within the service. This article explores the different features available when using reports in the service, including how to collaborate on reports, receive regular updates, use bookmarks, and so on.</p><blockquote>To understand the full capabilities of reports within the Power BI service:</blockquote><ul><li>Viewing and using reports</li><li>Editing and creating reports</li></ul><blockquote>Requirements:</blockquote><ul><li>An internet connection.</li><li>A <strong>Microsoft 365</strong> account or Fabric trial account.</li></ul><h3>Viewing and Using Reports</h3><p>The reporting interface within Power BI provides numerous useful functions when viewing reports.</p><p>Some of these functions are similar to features within Power BI Desktop, while others are unique to the service.</p><p>Different options are available depending on certain tenant settings and whether you own a report or have read permissions for a report.</p><p>The features and functionality described here encompass all of the options present as if you owned the report.</p><p>The first difference between Power BI Desktop and the Power BI service that most users will notice when viewing a report is that there is a <strong>Pages</strong> pane located to the left of the report, versus the <strong>Page </strong>tabs at the bottom of the report in the Desktop version.</p><p>All pages in the report, except for hidden pages, are listed in the <strong>Pages</strong> pane.</p><p>This <strong>Pages</strong> pane can be collapsed or expanded using the <strong>&lt;&lt;</strong> and <strong>&gt;&gt;</strong> icons, respectively.</p><p>The functions for reports within the service are accessed by using the slim ribbon bar that appears above the report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*hE_ZqUVwDSGHx51Dt1WjkA.png" /></figure><h4>File Menu</h4><p>The <strong>File</strong> menu provides a variety of important options and features for managing and working with reports while in the service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*Ow-mdIVBl2fnCWHikEPZiQ.png" /></figure><h4>Save a Copy</h4><p>Clicking <strong>Save a copy</strong> brings up a <strong>Save your report</strong> dialog that allows you to enter a new name for your report as well as to pick a workspace.</p><p>Once you click the <strong>Save</strong> button, your report is saved under a new name within the selected workspace.</p><p>Keep in mind that you can also create a <strong>New folder</strong> within this dialog as well.</p><h4>Manage Permissions</h4><p>Clicking <strong>Manage permissions</strong> allows you to manage the sharing of <strong>Links</strong> created, users with <strong>Direct Access</strong> to the report, as well as <strong>Pending</strong> access requests, <strong>Shared views</strong>, and users with <strong>Access via related items.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*5RTAbXTQvDC6awG7hi7F3w.png" /></figure><p>The <strong>Links</strong> tab displays any sharing links created for the report and allows you to add new links via an <strong>Add link</strong> button.</p><p>Clicking the <strong>Add link</strong> button brings up the same dialog as clicking the <strong>Share</strong> button in the report ribbon. Links can be edited and removed.</p><p>The <strong>Direct access</strong> tab displays all users who currently have direct access to the report and allows you to add new users via an <strong>Add user</strong> button.</p><p>When adding a user, as shown in the following screenshot, the user is added with <strong>Read</strong> permissions to the report and can also be granted re-share and build rights as well.</p><p>These rights allow the user to re-share the report with others or build new reports based on the underlying semantic model, respectively.</p><p>Users can also be removed or have their permission settings changed on this tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*BHCgbr9kJrIepfW_NHr1bA.png" /></figure><p>The <strong>Pending</strong> tab allows you to accept or reject pending requests to view the report.</p><p>When attempting to view a report in the service that you do not have access to view, you are provided the option of requesting access to the report. Those requests appear on the <strong>Pending</strong> tab.</p><p>When sharing a report, if you have made changes to the filters, slicers, or selected visual elements, there is an <strong>Include my changes</strong> option.</p><p>Selecting this option creates a temporary shared view for the report.</p><p>The <strong>Shared views</strong> tab lists these temporary views.</p><p>If access to the report is granted via a related content item (such as a dashboard), those users are listed on the <strong>Access via related items</strong> tab.</p><h4>Print this Page</h4><p>Perhaps surprisingly, printing is a function that’s only available in the Power BI service and not Power BI Desktop, although Power BI Desktop does include the ability to export to PDF.</p><p>Clicking the <strong>Print this page</strong> link brings up a <strong>Print</strong> dialog that allows you to print a report using local or network printers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*QO4OvCKjTo7ZOkoja26yiQ.png" /></figure><p>Make sure to switch the <strong>Layout</strong> setting to <strong>Landscape</strong> to maximize your report’s size and ensure that visuals are not cut off from the page.</p><h4>Embed Report</h4><p>Embedding allows reports to be inserted into websites so that just the report canvas area is displayed. Embedding reports can be done in four different ways.</p><ul><li>SharePoint Online</li><li>Website or portal</li><li>Publish to web (public)</li><li>Developer Playground</li></ul><h4>SharePoint Online</h4><p>Clicking <strong>SharePoint Online</strong> generates a secure embed code that’s specifically designed for use in SharePoint Online.</p><p>As with other embed codes, this embed code enforces authentication and all security within the report.</p><p>Unlike other embed codes, SharePoint embed codes do not support the filter query string parameter.</p><h4>Website or Portal</h4><p>Clicking the <strong>Website or portal</strong> option brings up the <strong>Secure embed code</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*zD6hh3LlpEqxrOVFg-QT9g.png" /></figure><p>This secure embed code is designed to be used within external websites. Secure embed codes require authentication to the Power BI service in order to display reports.</p><p>All report security, such as <strong>Row-Level Security</strong> (<strong>RLS</strong>), is enforced within the embedded report.</p><p>Creating a secure embed code does not grant permissions to a report.</p><p>Permissions to the report must be set separately by using the <strong>Share</strong> function or in the <strong>Manage permissions</strong> interface.</p><p>This means that viewers of the report that use the embed code must have a Power BI Pro or <strong>Premium Per User</strong> (<strong>PPU</strong>) license, or the report must be published to a Microsoft Fabric F64+ capacity.</p><p>There are two types of embed codes — a <strong>raw embed code</strong> (the top link in the preceding screenshot) and a <strong>HyperText Markup Language</strong> (<strong>HTML</strong>) <strong>embed code</strong>.</p><p>The raw embed code is simply a secure link to the report. This link can be used within any website or portal that provides the ability to embed by using such a link.</p><p>Alternatively, this link can be used as a direct link to the report. For example, the top link presented in the dialog can be pasted directly into a browser’s <strong>Uniform Resource Locator</strong> (<strong>URL</strong>) bar.</p><p>The HTML embed code is an <strong>Inline Frame (IFRAME) HTML snippet</strong>. IFRAMEs are HTML tags that are used to include content from other websites within a web page.</p><p>Thus, to use the HTML embed code, the snippet of HTML must be pasted within the HTML code of a web page.</p><p>When using the HTML embed code snippet, you may need to adjust the width and height parameters of the snippet in order to properly display the report within your website.</p><h4>Publish to Web</h4><p>The <strong>Publish to web</strong> option works identically to the <strong>Website and portal</strong> option, with one important difference — security is not enforced.</p><p>This means that anyone with the embed code or HTML snippet can view the report free of any security.</p><p>As such, the <strong>Publish to web</strong> option is not available on reports that include RLS.</p><p>In addition, there are numerous other restrictions when using <strong>Publish to web</strong> embed codes regarding the type of visuals and features supported.</p><ul><li>Cannot use R or Python visuals</li><li>Cannot use ArcGIS Maps visuals</li><li>Cannot use Q&amp;A visuals</li><li>Cannot use live connections</li><li>Cannot use shared or certified semantic models</li></ul><p>If a report uses RLS or any of these features, the <strong>Publish to web</strong> option does not appear as an option.</p><p>When clicking the <strong>Publish to web</strong> option, you are initially presented with a screen informing you of the terms of use, stating that you can only use the code on a public website.</p><p>Click the <strong>Continue</strong> button to proceed.</p><p>You are then informed on a second screen that anyone who has the embed code can view the report. Click the <strong>Publish</strong> button to proceed.</p><p>Clicking <strong>Publish</strong> displays an <strong>Embed code</strong> dialog that includes a preview of the report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*Krr1dBgVh5hp8dovSwmMvw.png" /></figure><p>Obviously, you should not use <strong>Publish to web</strong> when sharing secure or sensitive information. <strong>Publish to web</strong> is only intended to be used when sharing work that could potentially be seen by anyone in the world.</p><p>Because security is not enforced, anyone who has the embed code can turn around and resend or share that embed code with additional people, and those individuals could also see the report.</p><p>As mentioned, once a <strong>Publish to web</strong> embed code is created, anyone with the code can access the report, free of any security, including authentication.</p><p>These embed codes can be managed so that you can retrieve the embed codes or delete them.</p><blockquote>To manage embed codes, do the following:</blockquote><ul><li>To access the <strong>Manage embed codes</strong> interface, click the gear icon in the header area of the Power BI service. You may instead see ellipses (<strong>…</strong>) instead of a gear icon. If so, click the ellipses and then <strong>Settings</strong>.</li><li>Choose <strong>Manage embed codes.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*J20ejD4kdL6vXiRdTiltuQ.png" /></figure><ul><li>Choosing this option brings up the <strong>Manage embed codes</strong> interface, which lists embed codes created in the current workspace.</li><li>From this interface, <strong>Publish to web</strong> embed codes can be retrieved (<strong>&lt;/&gt;</strong>) as well as deleted ( trash can icon ).</li></ul><h4>Developer Playground</h4><p><strong>Developer Playground</strong> is a special interface where JavaScript or TypeScript developers can experiment with embedding reports, visuals, and other elements.</p><p><strong>Power BI embedded</strong> allows all or part of a report to be embedded in a custom website or other application.</p><p>Now that we have covered the different types of embed codes, let’s next take a look at how you can use URL parameters with the different types of embed codes to create links that show specific information.</p><h4>URL Parameters with Embed Codes</h4><p>Both <strong>Web and portal</strong> and <strong>Publish to web</strong> embed codes include the ability to use special URL parameters in order to control the display of the embedded report.</p><p>These parameters are included in the query string portion of the URL.</p><p>The query string portion of a URL is the portion of the URL that is after the question mark (?). For example, note the bold ?</p><pre>https://app.powerbi.com/reportEmbed?reportId=0982-4e14-bbf7-ddb60a89ab43&amp;autoAuth=true&amp;ctid=373a-43d2-827b-003f4c7ba1e5</pre><p>Multiple query string parameters can be used by separating the parameters with an ampersand (&amp;) sign.</p><h4>For example, the preceding URL includes three separate query string parameters, as follows:</h4><ul><li>reportId</li><li>autoAuth</li><li>ctid</li></ul><p>There is an additional parameter, the filter parameter. The filter parameter can also be used to filter the report’s initial display.</p><blockquote>The <strong>filter</strong> parameter has the following format:</blockquote><pre>filter=Table/Field eq &#39;Value&#39;</pre><p>To add a particular filter to the embed code that initially only displays the 1001 Technology division, the URL can be edited like so.</p><pre>https://app.powerbi.com/reportEmbed?reportId=0982-4e14-bbf7-ddb60a89ab43&amp;aut<br>oAuth=true&amp;ctid=373a-43d2-827b-003f4c7ba1e5 &amp;filter=Hours/Division eq &#39;1001 Technology&#39;</pre><p>The Table and Field portions of the parameter are <em>case-sensitive</em> to the names in the semantic model, while the Value portion is not. You can also use ne (not equal) and in operators such as:</p><pre>&amp;filter=People/Location in (&#39;Cleveland&#39;, &#39;Charlotte&#39;)</pre><h4>Generate a QR Code</h4><p>The <strong>Generate a QR code</strong> option creates a <strong>Quick Response</strong> (<strong>QR</strong>) code that links to the report in the service, as shown in the following screenshot. This code can be downloaded and shared with other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*HkMUjBExihpwDNltrgrCyA.png" /></figure><h4>Settings</h4><p>Choosing <strong>Settings</strong> from the <strong>File</strong> menu opens a pane on the right-hand side of the screen that lists many different settings that can be enabled, disabled, or changed for the report.</p><blockquote>These settings mainly control the experience of others viewing the report and include the following:</blockquote><ul><li><strong>Report name</strong>: The name of the report.</li><li><strong>Description</strong>: A description of the report.</li><li><strong>Contact</strong>: Who to contact regarding the report.</li><li><strong>Snapshot</strong>: An image snapshot of the report.</li><li><strong>Endorsement</strong>: Endorsing a report helps other organizational users find your report and trust that its content is reliable. <strong>Endorsement</strong> can be set to <strong>None</strong>, <strong>Promoted</strong>, or <strong>Certified</strong>. The <strong>Certified</strong> option may be grayed out, depending upon your Power BI administrator settings. You can also check the box for <strong>Feature on Home</strong> to display the report in the <strong>Features</strong> section of the Power BI home screen.</li><li><strong>Persistent filters</strong>: Enables or disables the ability of other users to save filters on the report.</li><li><strong>Pages pane</strong>: Controls whether the report pages are displayed in the <strong>Pages</strong> pane or as tabs along the bottom of the report, as in the Desktop version.</li><li><strong>Visual options</strong>: Visual options include the ability to enable or disable the header for visuals when in reading view, whether to use the modern visual header with updated styling options, and whether the default interaction between visuals is cross-highlighting or cross-filtering.</li><li><strong>Export data</strong>: This setting controls the kind of data users are allowed to export from the report and whether this can be done at all. The options include <strong>Summarized data and data with current layout</strong>, <strong>Summarized data</strong>,<strong> data with current layout and underlying data</strong>, and <strong>None</strong>. The <strong>Summarized data and data with current layout</strong> option essentially allows users to export the data presented in a visual. The data export is the information presented by the visual. Thus, if the three markets, Charlotte, Nashville, and Cleveland had 89%, 86%, and 83% utilization, then this would be the information exported. Conversely, <strong>Summarized data, data with current layout and underlying data</strong> would allow users to export the individual data records that were summarized to arrive at the data displayed in the visual.</li><li><strong>Filtering experience</strong>: These settings allow you to enable or disable users’ ability to change filter types, as well as to enable or disable search functionality in the <strong>Filters</strong> pane. Filter types refer to such things as manual filters, auto filters, include/exclude filters, drill-down filters, and so on. See the <em>Further Reading</em> section of this chapter for more information on filter types.</li><li><strong>Cross-report drill through</strong>: Enables or disables the ability of visuals in the report to use other reports as drill-through targets.</li><li><strong>Comments</strong>: You can either enable or disable comments for the report.</li><li><strong>Personalize visuals</strong>: Toggles on or off the ability of users to personalize visuals.</li><li><strong>Modern visual tooltips</strong>: Enables or disables modern visual tooltips.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*T0ie7Kd_1MufnD7d6fKM0g.png" /></figure><ul><li><strong>Tooltips auto-scale (preview)</strong>: Controls whether tooltips automatically scale based on canvas size.</li><li><strong>Insights (preview)</strong>: Enables notifications if key insights are available for a report.</li><li><strong>Default summarizations</strong>: If enabled, aggregated fields always show the default summarization type.</li></ul><p>After changing a setting, you must click the <strong>Save</strong> button and then refresh the report page in the browser.</p><p>We are now finished with exploring the <strong>File</strong> menu and will now continue to explore the rest of the menu options in the ribbon.</p><h4>Export Menu</h4><p>The <strong>Export</strong> menu provides three different options, as follows:</p><ul><li>Analyze in Excel</li><li>PowerPoint</li><li>PDF</li></ul><h4>Analyze in Excel</h4><p>Choosing this option results in an Excel file being created on OneDrive that contains a live link to the Power BI semantic model for the report.</p><p>A button is provided to open the file in Excel Online.</p><p>To utilize the file, you need to enable external data connections when prompted in Excel.</p><p>Once enabled, you may use the semantic model’s tables and columns to create <strong>PivotTables</strong> and <strong>PivotCharts</strong> within the Excel file.</p><h4>PowerPoint</h4><p>The <strong>PowerPoint</strong> option is used to export or embed all of the pages of a report to a PowerPoint file.</p><blockquote>Use the following steps to export a report or portions of a report to PowerPoint:</blockquote><ul><li>Click on the <strong>PowerPoint</strong> option to display the <strong>Export to PowerPoint</strong> dialog.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*N7Kn410PEO9LeJmQw0yJPQ.png" /></figure><ul><li>As shown, you have the ability to copy a <strong>Report page link</strong> using the <strong>Copy</strong> button or create a new PowerPoint using the <strong>Open in PowerPoint</strong> button. If copying the link, you can use the <strong>Insert</strong> tab of the ribbon in PowerPoint, choose <strong>Power BI</strong>, and then paste the embed link into the <strong>Paste a URL from Power BI here</strong> field.</li><li>Change the dropdown for <strong>Choose how to export</strong> to <strong>Export as image</strong>. Exporting as an image allows the presentation to be used while offline.</li><li>Use the <strong>Export with</strong> radio buttons to export the report with either the current values (filters and slicers) within the report or the default values for the report.</li><li>To not include hidden report tabs, check the <strong>Exclude hidden report tabs</strong> checkbox.</li><li>You can export all of the pages of the report, or to only export the current page, click the <strong>Only export current page</strong> checkbox.</li><li>Click the <strong>Export</strong> button to create a PowerPoint file. This may take some time. The file automatically downloads to your Downloads folder once created.</li></ul><h4>PDF</h4><p>The <strong>PDF</strong> option is used to export all of the pages of the report to a <strong>Portable Document Format</strong> (<strong>PDF</strong>) file.</p><p>Clicking on the <strong>PDF</strong> option displays the same <strong>Export</strong> dialog options as when using the <strong>Export as an image</strong> option for exporting as <strong>PowerPoint</strong>.</p><h4>Share</h4><p>Clicking the <strong>Share</strong> button in the ribbon opens the <strong>Send link</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/368/1*q8b-TpI0NOEJPzb2L89I-A.png" /></figure><p>The dialog defaults to generating a link that everyone within your organization can use to view and reshare a report.</p><p>You can add the names of individuals to send this link to and then click the <strong>Send </strong>button.</p><p>Alternatively, you can use the four icons at the bottom to simply copy the link to your clipboard, open a messaging program with the link contained in the body of the email, post the link to a particular person, group, or channel in Microsoft Teams, or create a PowerPoint live embed link.</p><p>You can edit the permissions for the link created by clicking on <strong>People in your organization with the link can view and share</strong> in order to display the second page of the <strong>Send link</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*0Im7hRBxOpwujCiv1agv4Q.png" /></figure><p>As shown in <em>Figure</em>, you can control who the link functions for as well as permissions.</p><p>For example, in <em>Figure</em>, the permissions have been changed such that the link is intended to only work for specific people, and when using that link, the user can’t re-share the report or build new reports based on the underlying data.</p><p>When you have configured the settings, click the <strong>Apply</strong> button to return to the original <strong>Send link</strong> dialog displayed in <em>Figure 9.14</em> with the updated settings.</p><p>The <strong>Send link</strong> dialog shown in <em>Figure </em>also provides access to a <strong>Manage permissions</strong> function via the ellipsis (<strong>…</strong>) in the header.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*Y1F-le0GctHng_aCmuSgsg.png" /></figure><p>Choosing <strong>Manage permissions</strong> opens the <strong>Manage permissions</strong> pane on the right side of the screen.</p><p>This pane displays links that have already been created, as well as those users with direct access to the report.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/372/1*IyRr6COpA2-MdT4ldP70pQ.png" /></figure><p>Users with direct access to the report can be added using the <strong>+</strong> icon in the <strong>Direct access</strong> header.</p><p>Clicking the <strong>+</strong> icon brings up the same interface as shown in <em>Figure 9.5</em> and functions identically.</p><p>Links can be copied using the <strong>Copy</strong> button next to the link. In addition, clicking the ellipsis (<strong>…</strong>) to the immediate right of the <strong>Copy</strong> button allows the link’s permissions to be edited and deleted.</p><p>The <strong>Advanced</strong> link functions identically to choosing <strong>File</strong> | <strong>Manage permissions</strong> from the report ribbon.</p><h4>Teams</h4><p>Clicking the <strong>Teams</strong> button as shown in <em>Figure </em>opens the <strong>Share to Microsoft Teams</strong> dialog.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*Rhdk9blUalUf-KlKt7u0WA.png" /></figure><p>The <strong>Share to Microsoft Teams</strong> dialog allows you to choose a person, team, or channel in <strong>Microsoft Teams</strong> to share a link with.</p><h4>Explore</h4><p>The <strong>Explore </strong>option is a preview feature that opens an interface that provides a limited authoring experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/558/1*iT9EezYQ-CSNV-Jfe8n_0A.png" /></figure><p>The experience is somewhat similar to working in Power BI Desktop as the tables, columns, and measures are presented in the <strong>Data</strong> pane on the right-hand side.</p><p>You can select these items in order to create a matrix and associated visual.</p><p>Unlike Power BI Desktop, the <strong>Filters</strong> pane is replaced with a <strong>filter</strong> header.</p><p>The <strong>Save</strong> button of the ribbon allows you to save the content as either an exploration or as a report.</p><h4>Subscribe to Report</h4><p>The Power BI service provides the ability for you to subscribe to reports.</p><p>This means that you will receive an email with an image of a particular page of a report with a link to open the report in a browser or mobile application.</p><p>The frequency of these emails is set at the time of subscribing to the report.</p><blockquote>To create a subscription to a report, do the following:</blockquote><ul><li>First, click on the report page to which you wish to subscribe.</li><li>Next, click the <strong>Subscribe</strong> button in the ribbon. This opens the <strong>Subscriptions</strong> pane.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*bMuQdBZtY2n-KIPvJc_qUg.png" /></figure><ul><li>If there are existing subscriptions, the subscriptions are listed in the pane. Additional subscriptions can be added by clicking the <strong>Create a subscription</strong> button.</li><li>Clicking the <strong>Create a subscription</strong> button presents two options, creating a <strong>Standard</strong> subscription or a <strong>Dynamic per recipient</strong> subscription. Select creating a <strong>Standard</strong> subscription.</li><li>The <strong>Subscriptions</strong> pane changes to display the following.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*B0ycLAU5Mr3HGxHcPoWtjQ.png" /></figure><p>When adding a subscription, the service sets a number of default settings. If these settings are acceptable, simply click on the <strong>Save </strong>button at the bottom of the pane. Otherwise, adjust these settings as necessary.</p><ul><li><strong>Subscription name</strong>: The name of the subscription.</li><li><strong>Recipients</strong>: This field allows you to subscribe yourself and other users to the report by entering email addresses or names of users.</li><li><strong>Attach full report</strong>: This allows you to attach the entire report as either a PDF or PowerPoint attachment.</li><li><strong>Start date</strong> and <strong>End date</strong>: <strong>Start date</strong> is the date upon which a subscription becomes active. This defaults to the current day. Use <strong>End date</strong> to automatically end a subscription. Leaving <strong>End date</strong> blank means that the subscription will continue indefinitely.</li><li><strong>Repeat</strong>: The repeat frequency can either be <strong>Hourly</strong>, <strong>Daily</strong>, <strong>Weekly</strong>, <strong>Monthly</strong>, or <strong>After data refresh (once daily)</strong>. <strong>Daily</strong> subscriptions are sent every day of the week at the prescribed <strong>Scheduled Time</strong>. <strong>Weekly</strong> subscriptions allow the user to choose the days of the week on which they receive subscription emails. <strong>Monthly</strong> subscriptions allow the user to choose the days of the month on which they receive subscription emails. <strong>After data refresh</strong> only sends a subscription email immediately after a report’s data is refreshed, but no more than once per day.</li><li><strong>Scheduled time</strong>: This is the time at which subscription emails are sent. Subscription emails will be sent within 15 minutes of this time. This field is not displayed when the <strong>Repeat</strong> setting has been set to <strong>After data refresh</strong>.</li><li><strong>Time zone</strong>: Sets the time zone for the <strong>Scheduled time</strong> setting.</li></ul><h4><strong>More options</strong>:</h4><ul><li><strong>Email Subject</strong>: The <strong>Subject</strong> field of the email message received from the service. If no subject is provided, the default subject for the email is used in the form of <strong>Subscription for Report Name</strong> (<strong>Page Name</strong>), where <strong>Report Name</strong> is the name of the report and <strong>Page Name</strong> is the name of the page of the report to which you are subscribing.</li><li><strong>Message</strong>: This is an optional message that can be included in the email.</li><li><strong>Report page</strong>: This is the name of the report page to which the user is subscribing.</li><li><strong>Permission to view the report in Power BI</strong>: Enables the recipient to view the report in the Power BI service.</li><li><strong>Link to report in Power BI</strong>: Includes a link to the Power BI report in the email.</li><li><strong>Report page preview</strong>: Includes a preview image of the report page in the email.</li><li><strong>Activator</strong>: Provides a link to the <strong>Fabric Activator</strong> documentation. Data Activator is a Microsoft Fabric feature.</li><li><strong>My changes</strong>: Checking this box includes any changes to filters, drill through, slicer choices, spotlights,</li></ul><h4>Managing Subscriptions</h4><p>Your subscriptions for a particular report can be managed within the <strong>Subscriptions</strong> pane.</p><p>This includes adjusting subscription settings, turning subscriptions on and off, running a subscription immediately, or deleting a subscription.</p><p>At the top of the <strong>Subscriptions</strong> pane is a <strong>Manage all </strong>link. This link takes you to a page that lists all the subscriptions you have created.</p><h4>Set Alert</h4><p><strong>Set alert</strong> opens a <strong>Set alert</strong> pane on the right-hand side of the page.</p><p><strong>Set alert</strong> is a <strong>Data Activator</strong> feature that allows you to set alerts based on the visuals on report pages.</p><p><strong>Data Activator</strong> evaluates these alerts each time the semantic model for the report is refreshed.</p><p>In the example, an alert is set based on the <strong>Total % Utilization</strong> card dropping below <strong>80%.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*PJ7X_ic8AzIAO0VUCBHbjA.png" /></figure><p>Clicking the <strong>Create</strong> button creates the alert in <strong>Data Activator</strong>.</p><h4>Edit</h4><p>Microsoft has put tremendous effort into providing the ability to edit reports within the Power BI service. More information about editing reports is included in the <em>Editing and creating reports slot.</em></p><h4>Ellipsis (…)</h4><p>The ellipsis in the report ribbon provides additional functions.</p><ul><li><strong>Get insights</strong>: Insights are available for PPU and F64+ capacities. Clicking Get insights opens a collapsable pane on the right-hand side. These insights include anomalies, trends, and KPI analysis and are presented as a series of cards.</li><li><strong>See related content</strong>: Displays related dashboards and semantic models related to the report in a pane on the right-hand side of the screen.</li><li><strong>Open workspace lineage</strong>: Opens a page that displays related dashboards and semantic models as well as the relationships between those content items graphically.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*hzg6MtyiUtALDhC0_7wgcw.png" /></figure><ul><li><strong>Open usage metrics</strong>: This opens a report that displays how many users are accessing the report, including the total views of the report, total viewers, views by user, views per day, and unique viewers per day.</li><li><strong>Pin to a dashboard</strong>: Pins the entire report page to a dashboard of your choosing.</li><li><strong>View semantic model</strong>: Opens an interface for exploring the semantic model.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*7tylVxL9G9i0h4xMWXpBcQ.png" /></figure><h4>Reset</h4><p>The <strong>Reset</strong> button returns a report to its original state at the time of publishing, clearing all persistent filters and personal bookmark filters.</p><p>If you are having trouble seeing information in a report, your first step should be to click <strong>Reset</strong> to restore a report to its original, published state.</p><p>Keep in mind that this icon only appears if something is changed compared to how the report was originally published.</p><h4>Bookmark</h4><p>The Power BI service provides expanded functionality for bookmarks.</p><p>In addition to bookmarks that are created by the report author in Power BI Desktop, users in the Power BI service can create their own personal bookmarks. In fact, the service includes three types of bookmarks.</p><ul><li>Report bookmarks</li><li>Personal bookmarks</li><li>Persistent filters</li></ul><h4>Report Bookmarks</h4><p>Similar to Power BI Desktop, the Power BI service includes a <strong>Bookmarks</strong> pane that can be displayed to the right of the <strong>Filters</strong> pane.</p><p>This pane is activated by clicking the <strong>Bookmarks</strong> icon in the ribbon and then <strong>Show more bookmarks.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/252/1*M0Pm-HZRBYzZ-SgmxfHFEQ.png" /></figure><p>The <strong>Bookmarks</strong> pane displays any bookmarks that were created by the author of a report under the <strong>Report bookmarks</strong> heading. These bookmarks operate just like they do in the Desktop version.</p><h4>Personal Bookmarks</h4><p><strong>Personal bookmarks</strong> are bookmarks created by report viewers and not the report author.</p><ul><li>To add a personal bookmark, either expand the <strong>Personal bookmarks</strong> section of the <strong>Bookmarks </strong>pane and choose <strong>Add</strong> or click on the <strong>Bookmarks</strong> icon in the ribbon and then choose <strong>Add a personal bookmark</strong>.</li></ul><blockquote>The following screenshot shows a bookmark being added from the ribbon:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*EfhpX2wp1pDcdEPsrtYx8A.png" /></figure><ul><li>Once you have entered a name, click the <strong>Save</strong> button to save the personal bookmark.</li><li>In addition, if you want your personal bookmark to be the default view when you view the report, check the <strong>Make default view</strong> checkbox prior to saving your bookmark.</li><li>Once saved, personal bookmarks appear in the <strong>Personal bookmarks</strong> section of the <strong>Bookmarks </strong>pane, as well as when clicking on <strong>Bookmarks</strong> in the ribbon.</li></ul><p>Manually adding bookmarks in Power BI Desktop and the Power BI service is not the only way to create bookmarks.</p><p>The Power BI service also supports the automatic creation of bookmarks.</p><h4>Persistent Filters</h4><p><strong>Persistent filters</strong> use the underlying technology of bookmarks to automatically save a report’s state.</p><p>This means that you can interact with a report, and your adjusted settings are automatically saved for the next time you return to view a report.</p><ul><li>Filter settings</li><li>Slicer selections</li><li>Sorting selections</li><li>Drill through location</li></ul><p>To use persistent filters, you do not need to do anything.</p><p>The current state of a report is automatically saved each time you adjust any of the preceding settings.</p><p>To clear any adjusted settings and return to the original report’s state, simply click the <strong>Reset</strong> button in the ribbon.</p><p>Marking a personal bookmark as <strong>Make default view</strong> overrides the persistent filter’s functionality for that report.</p><h4>View</h4><p>Listed under the <strong>View</strong> menu in the ribbon are various options for controlling the size of the report in relation to the browser window.</p><ul><li><strong>Full screen</strong>: Enters full screen mode; click the <em>Esc</em> key to exit this mode</li><li><strong>Fit to page</strong>: Fits the report into the overall page’s width and height</li><li><strong>Fit to width</strong>: Fits the report into the width of the page but not the height</li><li><strong>Actual size</strong>: Displays the report at its actual size, regardless of the width or height of the browser window</li></ul><p>The <strong>View</strong> menu in the ribbon also contains options for viewing the report using high-contrast colors.</p><ul><li><strong>None</strong>: Displays the report with the original colors</li><li><strong>High contrast #1</strong>: Displays the report on a black background with neon yellow font and accents</li><li><strong>High contrast #2</strong>: Displays the report on a black background with neon green font and accents</li><li><strong>High contrast black</strong>: Displays the report on a black background with white font and accents</li><li><strong>High contrast white</strong>: Displays the report on a white background with black font and accents</li></ul><p>Finally, the <strong>View</strong> menu also includes the preview feature <strong>Show visuals as tables</strong>.</p><p>Selecting this option displays any non-table visuals, such as bar charts, column charts, and line charts, as tables instead of the original visuals.</p><p>Certain visuals, such as matrices and card visuals, are not affected by this setting.</p><h4>Refresh Visuals</h4><p>This refreshes the report visuals based on the semantic model.</p><p><em>It is important to understand that this does not refresh the data within the semantic model from the source data</em>.</p><h4>Comment</h4><p>Individuals with any kind of permission for the report can comment on reports as well as individual visuals.</p><blockquote>To comment on a report or to see all report and visual comments, follow these steps:</blockquote><ul><li>Click the <strong>Comment</strong> button in the ribbon. Clicking this button in the ribbon displays the <strong>Comments</strong> pane on the right-hand side of the page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*_5df20jo2XCCPgExT79zKQ.png" /></figure><p>There can be many pages of comments. Use the <strong>Previous</strong> and <strong>Next</strong> buttons to navigate between multiple pages of comments.</p><ul><li>To post a new comment, click your mouse inside the area just below the <strong>Previous</strong> and <strong>Next </strong>buttons, type a comment, and then click the <strong>Post</strong> button. The comment will appear directly underneath the <strong>Post</strong> button as comments are always displayed from newest to oldest.</li></ul><p>Comments can be replied to by clicking on the <strong>Reply</strong> link in the lower-left corner of the comment.</p><p>Replies are threaded within the original comment block.</p><p>Comments and replies can also be deleted by hovering over the comment or reply and clicking the small trashcan icon that appears in the upper-right corner of the comment.</p><p>Use the <em>@</em> symbol in a comment, immediately followed by someone’s name or email address.</p><p>This flags the comment for the attention of a particular user, sending that user an email message from the Power BI service.</p><p>You can also comment on individual visuals.</p><blockquote>To do this, perform the following steps:</blockquote><ul><li>Hover over a visual on the page with your mouse.</li><li>Click on the ellipsis (<strong>…</strong>) menu in the visual’s header that appears above or below the visual.</li><li>Choose <strong>Add a comment.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/1*PVK3FCKkMdN133tSwWvZcw.png" /></figure><p>Selecting the <strong>Add a comment</strong> option also displays the <strong>Comments</strong> pane if it is not already displayed; however, only comments for that individual visual are displayed in the <strong>Comments </strong>pane.</p><p>In addition, the visual is given a spotlight effect to highlight the visual on which you are commenting.</p><p>When viewing all comments, clicking on a comment for a particular visual also highlights that visual within the report.</p><ul><li>To close the <strong>Comments</strong> pane, either click the <strong>Close</strong> button at the bottom of the pane or click on the <strong>Comments</strong> icon in the ribbon.</li></ul><p>Comments are a great way to collaborate and communicate about a report.</p><h4>Add to Favorites</h4><p>The <strong>Add to Favorites</strong> (star) icon adds a report to <strong>Browse | Favorites</strong> in the <strong>Navigation</strong> pane.</p><p>When viewing a report marked as a favorite, the icon will be filled in.</p><p>This completes this section on viewing and using reports in the service. However, you can also edit reports and even create new reports in the service.</p><h3>Editing and Creating Reports</h3><p>In addition to adding features and capabilities to reports that are published from Power BI Desktop, the Power BI service also includes an interface for editing reports and even building entirely new reports on top of existing semantic models.</p><p>Being able to edit and create reports is dependent upon a user’s permissions on the report and the semantic model.</p><h4>Editing Reports</h4><p>To edit a report, follow these steps:</p><ul><li>While viewing a report, click the <strong>Edit</strong> link in the ribbon.</li><li>The report canvas changes to <strong>Edit</strong> mode. This changes the ribbon so that it provides editing options. It also activates the <strong>Visualizations</strong> and <strong>Data</strong> panes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*UsHa54-F8DMkl6PcN8JWUg.png" /></figure><p>When in edit mode, the ribbon and layout change to be more similar to Power BI Desktop, with the pages as page tabs at the bottom of the report, and options for inserting shapes and textboxes and editing visual interactions.</p><p>In general, the editing experience mirrors the editing experience in the Desktop version.</p><p>However, not all of the editing features of the Desktop version are included in the Power BI service.</p><p>Most noticeably, there is no access to the underlying data, semantic model, or relationships, hence there is no way to create new columns or measures.</p><p>To exit edit mode, click <strong>Reading view</strong> in the ribbon.</p><p>It is critical to remember that if you make edits to a report in the service and then later republish the original Desktop file, you will lose all of your changes.</p><p>Hence, it is highly recommended that once you edit a report in the service, you use the <strong>Download this file</strong> option in the <strong>File</strong> menu and replace your original PBIX file.</p><h4>Creating a Mobile Layout</h4><p>While in edit mode, the <strong>Mobile layout</strong> option allows you to create a version of the report that’s been optimized for mobile devices.</p><p>This is the same interface as the Desktop version when we’re using the <strong>Mobile layout</strong> option in the <strong>View</strong> tab of the ribbon.</p><p>Once in the <strong>Mobile layout</strong> view, you can page through the report to create a mobile version of each page.</p><p>To switch back, click the <strong>Web Layout</strong> link in the ribbon.</p><h4>Creating a Report</h4><p>Power BI also allows the creation of new reports from existing semantic models.</p><p>This brings up an identical interface to the one that appears when we’re editing a report, except with a blank report canvas.</p><p>To access this interface, simply select a semantic model from a workspace. In the ribbon, select <strong>Explore this data</strong> and then <strong>Create a blank report.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*8Ny-R8gDLv1oHD3CXWiGNA.png" /></figure><p>Using this interface to create a new report is strikingly similar to creating a report in the Desktop version.</p><p>However, you cannot create new measures or columns; otherwise, the experience is nearly identical.</p><p>Creating a new report is analogous to creating a new PBIX file in the Desktop version, meaning that the report pages created are not associated with the report pages that were originally published to the Power BI service.</p><p>This means that, once you create a new report in the service, if you use the <strong>Download this file </strong>option on the original report, the new report pages that were created will not be included.</p><p>Importantly, however, both the original report and the newly created report use the same underlying semantic model.</p><p>This is very different than in the Desktop version, where each PBIX file contains its own semantic model and data (when not using a <strong>live</strong> or <strong>DirectQuery</strong> connection).</p><p>This makes the ability to create new reports in the service a powerful feature as a semantic model can be created in the Desktop version and published to the Power BI service.</p><p>Then, the Power BI service can be used to create multiple reports from the same underlying semantic model.</p><p>Consider using the Desktop version to create an underlying semantic model with only a single, blank report page and publishing to the Power BI service, then use the service to create actual reports.</p><p>This separates publishing the semantic model from the reports, allowing each to be worked on and updated independently.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/creation-of-the-final-report-with-power-bi-0981a0b91c7c">Creation of the Final Report with Power BI</a></li><li><a href="https://medium.com/@info.codetitan/learn-ai-assisted-analysis-in-tableau-015a4a58779b">Learn AI-Assisted Analysis in Tableau</a></li><li><a href="https://pub.aimind.so/model-selection-and-evaluation-in-machine-learning-ce25a48d8397">Model Selection and Evaluation in Machine Learning</a></li><li><a href="https://medium.com/@info.codetitan/campaign-measurement-in-e-mail-marketing-51ff0880bba6">Campaign Measurement in E-mail Marketing</a></li><li><a href="https://pub.aimind.so/what-if-analysis-in-excel-db46f28c5a06">What If Analysis in Excel</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b9afe9c2011d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Publish and Share Reports using Power BI]]></title>
            <link>https://medium.com/@info.codetitan/how-to-publish-and-share-reports-using-power-bi-c7356b4abc70?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7356b4abc70</guid>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[report]]></category>
            <category><![CDATA[publishing]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Wed, 10 Dec 2025 08:39:39 GMT</pubDate>
            <atom:updated>2025-12-10T08:39:39.032Z</atom:updated>
            <content:encoded><![CDATA[<h4>A practical guide to publishing that turns your insights into collective understanding and action</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z3Wml0kN-2cN-0jzcLnGcw.jpeg" /><figcaption>Image by Author</figcaption></figure><p>A tremendous amount of work has gone into the report that we have created so far, from importing the data to creating the semantic model and calculations to designing and formatting report pages. The report looks good, but its value is minimal if only the report author has access to it. To maximize the report’s value, it must be shared with other members of the organization. This article introduces the Power BI service, demonstrating how to publish your finalized report to the service and how to share your report with others.</p><h3>Table of Contents</h3><ol><li>Creating an account</li><li>Introducing the service</li><li>Publishing and sharing</li></ol><h3>Creating an Account</h3><p>Publishing and sharing work is typically done through the Power BI service.</p><p>As we covered in <a href="https://medium.com/datadriveninvestor/tutorial-a5071c1e55db"><strong><em>Business Intelligence and Power BI</em></strong></a>, the Power BI service is a cloud-based <strong>Software as a Service</strong> (<strong>SaaS</strong>) online platform used for report creation, report editing, and data ingest, as well as for sharing, collaborating, and viewing reports.</p><p>However, in order to use the Power BI service, you need to have a Microsoft 365 account.</p><p>Once you have a Microsoft 365 account, you can sign up for a free Power BI trial.</p><h4>Microsoft 365</h4><p>If you already have a Microsoft 365 account, then you are all set.</p><p>You can use that account’s email address to sign up for a free trial of Power BI or have your IT department or Microsoft 365 administrator assign you a free or Pro Power BI license.</p><p>If you do not have a Microsoft 365 account, then you will need to sign up for a free Microsoft 365 trial. You can sign up for a free trial <a href="https://www.microsoft.com/en-us/microsoft-365/try"><strong>here</strong></a>.</p><p>Under the <strong>Explore Microsoft 365 for free</strong> heading, click on <strong>Start your free trial</strong>.</p><p>The free trial is for one month, which should give you plenty of time to read the rest of this article.</p><h4>Microsoft Fabric Trial</h4><p>Once you have a Microsoft 365 account, you will also need a Microsoft Fabric trial license, Power BI Pro license, or Power BI <strong>Premium Per User</strong> (<strong>PPU</strong>) license.</p><p>Your IT administrator or Microsoft 365 administrator can assign you a Pro or PPU license for Power BI.</p><blockquote>Otherwise, follow these steps to register for a trial of Microsoft Fabric and Power BI:</blockquote><ul><li>In a web browser, enter <a href="https://powerbi.com/"><strong>https://powerbi.com</strong></a> into the browser bar and press the <em>Enter</em> key.</li><li>Enter your Microsoft 365 email address and follow the prompts from there.</li></ul><p>After signing up and activating your Microsoft Fabric/Power BI trial, you are ready to log in to the service.</p><h3>Introducing the Service</h3><p>The <strong>Power BI service</strong>, or simply the <strong>service</strong>, is a web-based SaaS product that is complementary to Power BI Desktop.</p><p>The service provides a means by which Power BI users can create new semantic models and reports as well as publish, share, and collaborate on semantic models and reports that are created in Power BI Desktop.</p><p>The service is built around storing reports, dashboards, workbooks, semantic models, dataflows, and other content.</p><h4>Touring the Service</h4><p>Once logged in to the service, the Power BI service interface is somewhat reminiscent of the Power BI Desktop interface, although somewhat simpler.</p><h4>Header</h4><p>The header area contains a number of useful items. On the far left is a waffle icon, which, when clicked, provides links to other Microsoft 365 applications.</p><p>On the right-hand side of the Power BI text is a breadcrumb widget that helps you keep track of where you are within the Power BI service.</p><p>At the top-center of the screen, there is a <strong>Search</strong> bar and some icons.</p><p>The first icon to the right of the <strong>Search</strong> bar is for <strong>Notifications</strong>.</p><p>This icon looks like a bell, although depending on your resolution and browser zoom settings, you may just see ellipses (<strong>…</strong>). Clicking this bell icon or the ellipses and then <strong>Notifications</strong> presents the <strong>Notifications</strong> pane as an overlay of the right-hand side of the canvas.</p><p>Any important notices can be viewed here. This includes notifications from Microsoft, as well as any data alerts that you might configure.</p><p>The next icon to the right of the <strong>Notifications</strong> icon is a gear.</p><p>The gear icon provides links for <strong>Settings </strong>in a drop-down menu.</p><blockquote>The menu options are as follows:</blockquote><ol><li><strong>Preferences</strong>:</li></ol><ul><li><strong>General</strong></li><li><strong>Notifications</strong></li><li><strong>Item settings</strong></li><li><strong>Developer settings</strong></li></ul><p>2. <strong>Resources and extensions</strong>:</p><ul><li><strong>Manage personal storage</strong></li><li><strong>Power BI settings</strong></li><li><strong>Manage connections and gateways</strong></li><li><strong>Manage embed codes</strong></li><li><strong>Azure Analysis Services migrations</strong></li></ul><p>3. <strong>Governance and insights</strong>:</p><ul><li><strong>Admin portal</strong></li><li><strong>Microsoft Purview hub (preview)</strong></li></ul><p>Your <strong>Settings</strong> options may be slightly different depending on your permissions.</p><h4>Preferences</h4><blockquote>Under this option, we have the following sub-options:</blockquote><ul><li><strong>General</strong> — Allows you to set <strong>Language</strong> and <strong>Privacy</strong> options for Q&amp;A and close your account.</li><li><strong>Notifications </strong>— Allows you to manage subscriptions and alerts and control whether you receive notifications in email and Microsoft Teams.</li><li><strong>Item settings </strong>— Allows you to activate or deactivate ArcGIS for Power BI.</li><li><strong>Developer settings </strong>— Controls whether to use developer mode when creating custom Power BI visuals.</li></ul><h4>Resources and Extensions</h4><p>Under this option, we have the following sub-options:</p><ul><li>Selecting <strong>Manage personal storage</strong> presents information in the canvas regarding your storage. At the top of this page is a graphic that allows you to see how much personal storage you have consumed. Power BI Pro users get 10 GB of personal storage. This page also lists the semantic models owned by the current user and lists how much space each of the semantic models consumes, along with the associated reports, dashboards, and other information. This page is a convenient location for removing unused semantic models and related artifacts.</li><li>The <strong>Power BI settings</strong> option provides a central location to manage settings for <strong>Dashboards</strong>, <strong>Semantic models</strong>, <strong>Workbooks</strong>, <strong>Reports</strong>, and <strong>Dataflows</strong>.</li><li>The <strong>Manage connections and gateways</strong> link allows you to view and edit gateway connections, as well as on-premises and virtual network data gateways within the organization.</li><li><strong>Manage embed codes</strong> provides a page that you can use to manage your own embed codes. Embed codes are how Power BI content is shared externally to the Power BI service. This area differs from the Admin portal’s embed code management as the Admin portal allows all embed codes within the organization to be managed, while this area only lists the currently logged-in user’s embed codes.</li><li>The <strong>Azure Analysis Services migrations</strong> link provides the ability to migrate the Azure Analysis Services semantic model to Fabric.</li></ul><h4>Governance and Insights</h4><p>Under this option, we have the following sub-options:</p><ul><li>Depending on whether or not you are an administrator, you may or may not have access to all or part of the <strong>Admin portal</strong>. The <strong>Admin portal</strong> provides an interface where you can see usage metrics, manage users, view audit logs, adjust tenant and capacity settings, manage embed codes and organizational visuals, as well as manage dataflow settings and workspaces, etc.</li><li>The <strong>Microsoft Purview hub</strong> link is a preview feature that allows you to explore, secure, and govern data within Microsoft Fabric.</li></ul><p>The third icon to the right of the <strong>Search</strong> bar, a down arrow, provides <strong>Download</strong> links so that you can download various components of Power BI.</p><ul><li><strong>Power BI Desktop</strong></li><li><strong>Data Gateway</strong></li><li><strong>Paginated Report Builder</strong></li><li><strong>Power BI for Mobile</strong></li><li><strong>Analyze in Excel updates</strong></li><li><strong>Power BI for PowerPoint</strong></li><li><strong>OneLake File Explorer</strong></li></ul><p>The fourth icon to the right of the <strong>Search</strong> bar, a question mark, provides <strong>Help &amp; Support</strong> links that are helpful if you want to learn and get support for Power BI.</p><p>The fifth icon provides <strong>Feedback</strong> links. The sixth icon provides information on your account, tenant, license type, and Fabric trial.</p><h4>Navigation Pane</h4><p>The navigation pane contains a number of useful navigational links.</p><blockquote>We will briefly cover each of these links here:</blockquote><ul><li>The <strong>Home</strong> link takes you to a page that serves as an overall entry point to the Power BI service. This page lists reports that have been favorited and are frequently accessed, as well as recent reports and workspaces. In addition, reports that have been shared with you will appear here, as well as recommended apps and useful links that you can use to explore learning opportunities.</li><li>The <strong>Create</strong> option allows you to enter data manually or choose a published semantic model and then begin creating a report with the chosen data. In addition, if using a Fabric trial, you can create Microsoft Fabric items such as a Lakehouse, Notebook, Warehouse, etc. Microsoft Fabric is covered in greater detail later.</li><li>The <strong>Browse</strong> link lists workspaces, semantic models, dashboards, reports, and other content items that you have recently used or favorited, or that have been shared with you.</li><li>The <strong>OneLake data hub</strong> option lists semantic models as well as Fabric items such as Lakehousesand Warehouses.</li><li>The <strong>Apps</strong> option lists apps that you have installed. <strong>Apps</strong> are collections of dashboards and reports that can be easily shared and deployed to large numbers of specific business users or an entire organization in order to empower people throughout the business to make data-driven decisions.</li><li>The <strong>Metrics</strong> link allows for the creation of Scorecards.</li><li>The <strong>Monitor</strong> option provides success and failure information for the refresh of semantic models and dataflows.</li><li>The <strong>Learn</strong> link provides access to sample reports and training materials.</li><li>The <strong>Real-Time hub </strong>link provides access to the <strong>Real-Time hub</strong>, which is for streaming data.</li></ul><p>The <strong>Workloads </strong>link provides access to all Power BI and Fabric workloads such as.</p><ul><li><strong>Data Factory</strong></li><li><strong>Industry Solutions</strong></li><li><strong>Real-Time Intelligence</strong></li><li><strong>Data Engineering</strong></li><li><strong>Data Science</strong></li><li><strong>Data Warehouse</strong></li><li><strong>Databases</strong></li><li><strong>Power BI</strong></li><li><strong>Workspaces</strong> is a fly-out menu that lists any workspaces that have been created by, or shared with, the currently logged-in user. Workspaces are a way of organizing your dashboards, reports, workbooks, semantic models, dataflows, and other content. Workspaces also serve as shared environments for a group of users, and a workspace is the technology underlying apps in Power BI. Every user starts with one workspace, <strong>My workspace</strong>. Users can create as many other workspaces as desired and each of these workspaces can also contain multiple dashboards, reports, workbooks, semantic models, and dataflows. Creating workspaces other than the default <strong>My workspace</strong> workspace is a Power BI Pro license feature. Selecting a workspace displays the workspace below the <strong>Workspaces</strong> icon in the navigation pane.</li><li>The ellipses (<strong>…</strong>) provide access to additional navigation pane items such as <strong>Deployment pipelines</strong>.</li></ul><p>At the bottom of the navigation pane is the <strong>Experiences</strong> icon. Currently, this displays the Power BI logo and the words <strong>Power BI</strong>.</p><p>If using a Microsoft Fabric trial, clicking this icon provides access to Fabric.</p><p>The navigation pane is useful for quickly switching between major content areas in the Power BI service.</p><h4>Canvas</h4><p>Similar to the canvas area in Desktop, the particular content and use of the canvas area in the service depend on exactly where you are in the service and what you are doing.</p><p>Suffice it to say that this is the main area where you view and interact with reports and other content within the service.</p><h3>Publishing and Sharing</h3><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How</em> <em>to Plan Projects with Power BI</em></strong></a>, Pam is excited to share the new utilization report with the rest of the organization.</p><p>She decides that using the Power BI service is the best and most secure way to do this, especially since she wants to leverage <strong>Row-Level Security</strong> (<strong>RLS</strong>) in order to keep people focused on the information that is most important to their role.</p><p>Pam’s organization does not have a Microsoft Fabric capacity so this means that everyone viewing the report will need a Power BI Pro license.</p><h4>Creating a Workspace</h4><p>Pam decides to create a workspace specifically for the reports that she will publish to the service.</p><p>She expects to publish many more reports other than just her new utilization report, so she decides to create a new workspace for these reports instead of cluttering up her default <strong>My workspace</strong> workspace.</p><ol><li>Click on <strong>Workspaces</strong> and then, at the bottom of the fly-out menu, click <strong>+ New workspace</strong>. The <strong>Create a workspace</strong> dialog is displayed on the right-hand side of the screen.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/351/1*zqQ31qbARFe2MXPex55z8g.png" /></figure><p>2. Enter a name for the workspace, such as Learn Power BI, and then click the <strong>Apply</strong> button. The new workspace is created, and you are transported to the workspace’s home page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/671/1*SLnbXxyVQSOiGWrAs7oDZg.png" /></figure><p>You may be curious about the optional <strong>Domain</strong> setting.</p><p>Domains are Microsoft’s way of implementing a data mesh, a decentralized data architecture for organizing data by business units such as sales, operations, marketing, etc.</p><p>In Power BI, domains are both a logical grouping of content as well as a security container. Now that we have created a workspace, we can publish our report.</p><h4>Publishing</h4><p>To publish the report, we must switch back to Power BI Desktop.</p><blockquote>Follow these steps to publish the report:</blockquote><ul><li>Open Power BI Desktop.</li><li>Open the most recent saved copy of your saved report by selecting the <strong>File</strong> tab on the ribbon and then <strong>Open report</strong>.</li><li>Click the <strong>Browse reports</strong> button, navigate to the most recent copy of your report, and then click the <strong>Open</strong> button.</li><li>If not already signed in, click on the <strong>File</strong> tab of the ribbon again and choose <strong>Sign in</strong>. The <strong>Sign in</strong> option appears at the bottom of the <strong>File</strong> menu. Sign in to the Power BI service using an existing work account or the account created in the <strong><em>Getting an account</em></strong> section of this article.</li><li>On the <strong>Home</strong> tab of the ribbon, click <strong>Publish</strong> in the <strong>Share</strong> area.</li><li>Save your work if prompted by clicking the <strong>Save</strong> button.</li><li>The <strong>Publish to Power BI</strong> dialog is displayed. This dialog displays all the workspaces under the <strong>Select a destination</strong> heading.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/748/1*Xqtb8wyuS48XS3OqYrQOAg.png" /></figure><ul><li>Select the workspace you created previously in the <strong><em>Creating a workspace</em></strong> section of this article and then click the <strong>Select</strong> button.</li><li>The <strong>Publishing to Power BI</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*3k7vnXQpnH8EAb0M3Pm5MQ.png" /></figure><ul><li>Once publishing is complete, this dialog changes to indicate success or failure.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*ohodTvCzkht2n9cNWkKStg.png" /></figure><ul><li>Upon getting a <strong>Success!</strong> message, click the “<strong>Open” </strong>button in Power BI link beneath the <strong>Success!</strong> message, as shown in <em>Figure</em>. Clicking this link opens a browser window or tab that opens the report in the Power BI service. You may be prompted to log in to the service.</li></ul><p>The published report in the service should now look and operate exactly like it does within Power BI Desktop, including all the slicers, filters, buttons, bookmarks, and other features.</p><p>In some cases, there may be slight discrepancies in the display of certain visual elements, but these are rare.</p><p>Keep in mind that the <strong>Filters</strong> pane is displayed by default but, in the default reading view of the report, the <strong>Visualizations</strong> and <strong>Fields</strong> panes are not displayed in the service.</p><p>Also note that instead of page tabs at the bottom of the report, a collapsible <strong>Pages</strong> pane is displayed to the left of the report.</p><p>Finally, note that an icon for the report is included in the navigation pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*rCchfC3WtWo6g3IFZCt93g.png" /></figure><p>Click on each page of the report to confirm that each page looks correct.</p><p>You can also work through the <em>Testing</em> subsection of the <em>Finishing up</em> section of <a href="https://medium.com/@info.codetitan/creation-of-the-final-report-with-power-bi-0981a0b91c7c"><strong><em>Creation of the Final Report</em></strong></a>, but this time, using the published report in the service.</p><h4>What Happens When You Publish ?</h4><p>When a report is published from Power BI Desktop to the service, multiple objects are created in the Power BI service.</p><p>To understand this behavior, click on the <strong>Learn Power BI </strong>workspace in the navigation pane.</p><p>If the Learn Power BI workspace is not visible, click on <strong>Workspaces </strong>in the navigation pane and then select the Learn Power BI workspace.</p><p>Your screen should now resemble <em>Figure.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/393/1*6T2irK5ymYx0CMeZvWUKTQ.png" /></figure><p>The filename of the Power BI Desktop file published to the workspace appears as both a <strong>Report</strong> and <strong>Semantic model</strong> type.</p><p>During publishing, Power BI takes the underlying semantic model in the report and publishes this as a semantic model.</p><p>The report pages are published as a separate report object and this report object is linked to the published semantic model.</p><p>Publishing these as separate, but linked, objects allows the semantic model to be reused for the creation of additional, independent reports from within the service.</p><h4>Sharing</h4><p>Now that the report has been published, the next step is to share your work with other users within the organization.</p><p>Sharing is a paid feature that requires a Power BI Pro or PPU license.</p><p>This means that all of the users who can view a shared report must have a Power BI Pro license to view it. Power BI PPU works similarly.</p><p>If the user publishing the report publishes the report to a PPU workspace, then all users must have a PPU license to view it.</p><p>However, some Microsoft Fabric capacities work differently.</p><p>With Microsoft Fabric capacities, reports that are published to an F64+ workspace only require the report publisher to have a Power BI Pro license.</p><p>Individuals with whom a report is shared only need a Fabric free license to view reports that are published to an F64+ workspace.</p><p>Make sure that you are viewing the report in the service.</p><p>Keep in mind that a visual element analogous to the ribbon in Power BI Desktop exists in the service when viewing a report.</p><p>This ribbon provides access to common features and operations within the service that are specific to reports.</p><h4>To share the report with others, perform the following steps:</h4><ul><li>Ensure that you are viewing the report in the service.</li><li>In the report ribbon, click the <strong>Share</strong> link.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*xm633VPjF2w2_mb-M7gg5g.png" /></figure><p>The <strong>Send link</strong> dialog is displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/402/1*rq7iunG0UpJU8Y6WlN_PBg.png" /></figure><ul><li>First, determine what type of sharing link you wish to create. The default option is <strong>People in your organization with the link can view and share</strong>, as shown in <em>Figure</em>. To change this, click the box that contains the text <strong>People in your organization with the link can view and share</strong>, and the dialog changes to <em>Figure.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/383/1*kYcmkonwWC2SmwLCj5kXmw.png" /></figure><ul><li>Select <strong>Specific people</strong> and ensure that both <strong>Allow recipients to share this report</strong> and <strong>Allow recipients to build content with the data associated with this report</strong> are unchecked.</li><li>Click the <strong>Apply</strong> button.</li><li>You are now back to the <strong>Send link</strong> dialog shown in <em>Figure 8.10</em>. However, instead of the text <strong>People in your organization with the link can view and share</strong>, you now see <strong>Specific people can view</strong>.</li><li>Where the dialog says <strong>Enter a name or email address</strong>, enter the email address or name of a user with whom you wish to share the report.</li></ul><p>These email addresses can be internal to the Power BI/Microsoft 365 tenant or external email addresses, such as @gmail.com and @outlook.com addresses.</p><p>These can also be email addresses of groups within Microsoft Entra ID.</p><p>If the email addresses are external, a warning message is displayed, noting that the report is being shared with users external to the organization.</p><p>Note that if you’re sharing with email addresses external to the tenant, those users will need to have a Microsoft 365/Entra AD login, as well as a Power BI Pro license, in order to view the report.</p><ul><li>Optionally, use the <strong>Add a message (optional)</strong> field to include a personalized message alongside the notification users receive when sharing the report.</li><li>When ready, click the <strong>Send</strong> button or choose one of the four icons: <strong>Copy link</strong>, <strong>Mail</strong>, <strong>Teams</strong>, or <strong>PowerPoint</strong>.</li><li><strong>Copy link</strong> copies the link to the clipboard. <strong>Mail</strong> brings up a dialog to choose a messaging app and creates a message in that app with the link in the body of the message. <strong>Teams</strong> launches a <strong>Share to Microsoft Teams</strong> dialog, allowing you to share the link with a person, group, or channel in Teams. <strong>PowerPoint</strong> displays an <strong>Embed live data in PowerPoint</strong> dialog, allowing you to copy a report page link.</li></ul><p>Once a report has been shared with a user, that report will now appear when they select the <strong>Shared with me</strong> link after selecting the <strong>Browse </strong>link in the navigation pane.</p><p>Keep in mind that sharing individual reports and other content is generally inefficient, and you should instead be leveraging workspace permissions or, in particular, apps.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/creation-of-the-final-report-with-power-bi-0981a0b91c7c">Creation of the Final Report with Power BI</a></li><li><a href="https://medium.com/@info.codetitan/learn-ai-assisted-analysis-in-tableau-015a4a58779b">Learn AI-Assisted Analysis in Tableau</a></li><li><a href="https://pub.aimind.so/learn-data-transformation-with-python-af0edcd796ed">Learn Data Transformation with Python</a></li><li><a href="https://medium.com/@info.codetitan/how-to-set-up-a-business-page-and-profile-cffe20b534a2">How to Set Up a Business Page and Profile</a></li><li><a href="https://pub.aimind.so/how-to-build-custom-add-ins-with-vba-ce0fd0c909c2">How to Build Custom Add-ins with VBA</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7356b4abc70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creation of the Final Report with Power BI]]></title>
            <link>https://medium.com/@info.codetitan/creation-of-the-final-report-with-power-bi-0981a0b91c7c?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/0981a0b91c7c</guid>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[report]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Tue, 09 Dec 2025 10:46:46 GMT</pubDate>
            <atom:updated>2025-12-09T10:46:46.409Z</atom:updated>
            <content:encoded><![CDATA[<h4>Here’s how we are b<em>uilding a foundation of insight that turns business into growth</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JeSaMlyefEu9ECPN5XGLvg.jpeg" /><figcaption>Image by Author</figcaption></figure><p>We have spent the last few <a href="https://medium.com/@info.codetitan/list/power-bi-for-professionals-8bc439e29318"><strong>articles</strong></a><strong> </strong>importing, scrubbing, and shaping data, and then carefully crafting it into a semantic model. In addition, we have learned about the many powerful features of Power BI that can help us unlock insights into our data. In this article, we will put all of these tools and techniques together into a final report that we can share with the organization. This article provides detailed steps regarding how to create a polished report. This report will not only provide ease of use and valuable insights to the viewer, but it can also be easily updated and maintained over time.</p><h3>Table of Contents</h3><ol><li>Preparing the final report</li><li>Creating the final report pages</li><li>Finishing up</li></ol><h3>Preparing the Final Report</h3><p>Before we start creating the final version of our report, it is important to take a moment to get things in order with regard to creating the report.</p><p>A little bit of preparation can save a lot of time, headaches, and avoid rework.</p><h4>Planning the Final Report</h4><p>Continuing with the example scenario introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to</em> <em>Plan Projects with Power BI</em></strong></a>, Pam takes a moment to contemplate the various groups of individuals within the company that the final utilization report must serve.</p><blockquote>The main groups include the following:</blockquote><ul><li>C-level executives</li><li>Division managers</li><li>Branch managers</li></ul><p>Each group is interested in utilization, but in slightly different ways.</p><p>The C-level executives simply want a quick summary of the utilization numbers, whether it is meeting the desired goals, how utilization is trending, and so on.</p><p>Division managers, on the other hand, need to drill a little bit deeper and understand how utilization looks on individual projects as well as who the top and bottom individual contributors are on those projects.</p><p>Branch managers are interested in the same sort of information as division managers, but only within their individual branches/locations.</p><blockquote>Pam decides that her final report should include six pages:</blockquote><ul><li><strong>Executive Summary</strong>: A page summarizing the information at a high level, including relevant trends.</li><li><strong>Division Management</strong>: A summary page focused on division managers.</li><li><strong>Branch Management:</strong> A summary page focused on branch managers.</li><li><strong>Hours Detail</strong>: A page that includes a detailed hours breakdown.</li><li><strong>Employee Details</strong>: A page focused on breaking down the utilization of particular employees.</li><li><strong>Introduction</strong>: An introduction to the report and how to use it.</li></ul><p>Now that we have the overall plan for the report, it is time to clean up some of our prior work.</p><h4>Cleaning Up</h4><p>Before Pam begins working on the final report, she wants to clean up some of the pages within her current working draft.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Delete all of the pages in the report that have been created thus far except for <strong>Page 4</strong>. This can be done by hovering over a page tab and clicking the small <strong>x</strong> icon or by right-clicking a page tab and selecting <strong>Delete Page</strong>.</li><li>While on <strong>Page 4</strong>, delete the <strong>Key influencers</strong> visualization and any other visualizations.</li></ul><h4>Using a Theme</h4><p>Pam wants all of the pages of her report to be consistent and use corporate branding guidelines.</p><p>To this end, she has created a theme file for use with Power BI Desktop.</p><p>This theme file contains all of the approved corporate branding colors and standards, as well as larger default font size settings.</p><p>This theme can save Pam a lot of time and effort when it comes to formatting the final report, and the viewers will appreciate the corporate branding as opposed to the default colors in Power BI Desktop, which, frankly, Pam is not very fond of.</p><p>The theme file is simply a text file that is named LearnPowerBI.json. This is a <strong>JavaScript Object Notation</strong> (<strong>JSON</strong>) file.</p><pre>{<br> &quot;name&quot;: &quot;LearnPowerBI&quot;,<br> &quot;dataColors&quot;:[<br> &quot;#EC670F&quot;,<br> &quot;#3C3C3B&quot;,<br> &quot;#E5EAEE&quot;,<br> &quot;#5C85E6&quot;,<br> &quot;#29BCC0&quot;,<br> &quot;#7EAE40&quot;,<br> &quot;#20B2E7&quot;,<br> &quot;#D3DCE0&quot;,<br> ],<br> &quot;background&quot;:&quot;#EC670F&quot;,<br> &quot;foreground&quot;: &quot;#FFFFFF&quot;,<br> &quot;tableAccent&quot;: &quot;#29BCC0&quot;,<br> &quot;visualStyles&quot;: {<br>    &quot;*&quot;: {<br>      &quot;*&quot;: {<br>        &quot;*&quot;: [<br>       {<br>         &quot;fontSize&quot;:14,<br>         &quot;fontFamily&quot;:&quot;Segoe UI&quot;<br>       }<br>       ],<br>       &quot;general&quot;:[{&quot;responsive&quot;:true}]<br>      }<br>    },<br>    &quot;tableEx&quot;: {<br>    &quot;*&quot;: {<br>    &quot;columnHeaders&quot;:[<br>     {<br>      &quot;autoSizeColumnWidth&quot;:true,<br>      &quot;fontFamily&quot;:&quot;Segoe (Bold)&quot;,<br>      &quot;fontSize&quot;:14<br>             }<br>           ]<br>         }<br>       }<br>     }<br>   }</pre><p>There are many online Power BI theme generators, such as those from</p><ul><li><a href="https:// powerbithemegenerator.bibb.pro/"><strong>Bibb</strong></a></li><li><a href="https://themegenerator.point-gmbh.com/en/Home"><strong>POINT</strong></a></li><li><a href="https://themes.powerbi.tips/themes/wireframes"><strong>powerbi.tips</strong></a></li></ul><p>In addition, the Microsoft community site has a Themes Gallery where you can view and download theme files <a href="https:// community.fabric.microsoft.com/t5/Themes-Gallery/bd-p/ThemesGallery"><strong><em>here</em></strong></a>.</p><p>Of these, Bibb’s is perhaps the easiest to use, with the ability to upload an image, such as a corporate logo, to automatically generate a theme or generate a theme using a simple, descriptive phrase such as “a dark and stormy sea.”</p><blockquote>To use this theme, perform the following steps:</blockquote><ul><li>In Power BI Desktop, while in the <strong>Report</strong> view, click on the <strong>View</strong> tab.</li><li>In the <strong>Themes</strong> section, click the drop-down arrow.</li><li>Choose <strong>Browse for themes.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*fGd7CFIovIyG7wfWWU7wzg.png" /></figure><ul><li>Navigate to the LearnPowerBI.json file, select it, and click the <strong>Open</strong> button.</li></ul><p>An <strong>Import theme</strong> dialog appears, stating whether the theme file was imported successfully or not.</p><ul><li>Click the <strong>Got it</strong> button.</li></ul><p>Now that we have applied a theme to our report, we only need to set properties that do not follow the theme by default.</p><h4>Creating a Page Template</h4><p>Pam decides that she wants all of her pages to have the same basic layout, look, and feel.</p><p>Therefore, she decides that, as her next step in creating her final report, she will create a page template that can be used as the basis for all of the pages in her report.</p><p>This will take some initial work to complete, but it will save a tremendous amount of time later on as pages are added to the report.</p><p>Think of the value of a template page this way — instead of setting up the layout and format for each page of a report individually, we do these operations only once.</p><blockquote>Complete the following steps to create the page template:</blockquote><ul><li>Rename <strong>Page 4 </strong>to Template.</li><li>Next, set the background color for the page by using the <strong>Format</strong> sub-pane of the <strong>Visualizations </strong>pane, expanding <strong>Canvas background</strong> and format card, and clicking the drop-down arrow under the <strong>Color</strong> setting.</li><li>Select the last color in the top row under <strong>Theme colors</strong>. The tooltip for this color is <strong>#D3DCE0, Theme color 8</strong>.</li><li>Set <strong>Transparency</strong> to <strong>0%</strong>.</li></ul><p>To aid her in laying out the visuals on her pages, Pam decides to activate the positioning and layout tools by clicking the ribbon’s <strong>View</strong> tab.</p><p>In the <strong>Page options</strong> section, she checks the boxes next to <strong>Gridlines</strong> and <strong>Snap to grid</strong>.</p><p>Pam has decided that the right-hand side of each page will be reserved for slicers that the end users can use to create various views of the visualizations on the page, focused on their desired information.</p><p>To mark this area off as separate, Pam decides to create a rectangle to mark where she will place the slicers.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Select the <strong>Insert</strong> tab of the ribbon and, in the <strong>Elements</strong> section, select <strong>Shapes</strong> and then <strong>Rounded Rectangle</strong>. Keep in mind that white dots appear on the canvas, marking the gridlines.</li><li>Position the rectangle in the top right of the page canvas.</li><li>Now, adjust the size of the rectangle so that it takes up the entire height of the page and the first two vertical grid lines from the right-hand side of the page. For the default <strong>16:9</strong> canvas setting, this should correspond to a <strong>Height</strong> of <strong>720</strong> and a <strong>Width</strong> of <strong>224</strong>. You can check this by selecting the rectangle and in the <strong>Format shape</strong> pane, switch to the <strong>General</strong> tab and expand the <strong>Properties</strong> format card.</li><li>With the rectangle selected, on the <strong>Shape</strong> tab of the <strong>Format shape</strong> pane, expand the <strong>Style</strong> format card, expand the <strong>Fill</strong> sub-card, and change <strong>Color</strong> to the fourth color in the top row from the left, <strong>#3C3C3B, Theme color 2</strong>.</li><li>Expand the <strong>Border</strong> sub-card and change <strong>Color</strong> to this same color.</li><li>Finally, expand the <strong>Shape</strong> format card and adjust <strong>Round corners</strong> to <strong>3%</strong>. Note, you can achieve the same effect by using a standard rectangle and adjusting the rounded corners to <strong>10 px</strong>.</li></ul><blockquote>Pam decides that she should title this area. To do so, follow these steps:</blockquote><ul><li>From the <strong>Insert</strong> tab of the ribbon, choose <strong>Text box</strong> from the <strong>Elements</strong> section.</li><li>Place this visual at the top of the rectangle and resize it so that the text box is the entire width of the rectangle and consumes seven grid dots of vertical height. Note that since <strong>Snap to grid </strong>is turned on, each “snap” when resizing is one grid dot. This corresponds to a <strong>Height</strong> of <strong>56 </strong>and a <strong>Width</strong> of <strong>224</strong>.</li><li>Type CONTROLS into the text box.</li><li>Double-click the word <strong>CONTROLS</strong> and change its font to <strong>Segoe (Bold)</strong>.</li><li>Increase the font size to <strong>24</strong> and <strong>Center</strong> the text.</li><li>Change the font color to the fifth color from the left in the top row, <strong>#E5EAEE, Theme color 3</strong>.</li><li>In the <strong>Format text box</strong> pane, expand the <strong>Effects</strong> format card and toggle <strong>Background</strong> to <strong>Off</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*yYTLrbQCFe-bD8EKDcTKdQ.png" /></figure><p>Pam wants to show a relative date slicer at the top of this rectangle.</p><blockquote>Follow these steps to add the slicer.</blockquote><ul><li>Click on a blank area of the canvas, expand the <strong>Calendar</strong> table in the <strong>Data</strong> pane, and select <strong>Date</strong>.</li><li>In the <strong>Visualizations</strong> pane, click the drop-down arrow for <strong>Date</strong> in the <strong>Columns</strong> field well and switch this to <strong>Date</strong> instead of <strong>Date Hierarchy</strong>.</li><li>Switch this new visualization to a slicer using the <strong>Visualizations</strong> pane.</li><li>Shrink this visual to where the bottom of the visual is at the bottom of the circular sliders, and then move this slicer so that it is centered directly underneath the <strong>CONTROLS</strong> text box. Red guidelines appear to aid in positioning.</li><li>Adjust the horizontal size as necessary so that it fits within the rectangle.</li><li>On the <strong>General</strong> tab of the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Effects </strong>format card and toggle <strong>Background</strong> to <strong>Off.</strong></li><li>On the <strong>Visual</strong> tab, expand the <strong>Values</strong> section and change <strong>Font color</strong> to the fifth color from the left in the top row, <strong>#E5EAEE, Theme color 3</strong>.</li><li>Expand the <strong>Slicer header</strong> section and change <strong>Font color</strong> to <strong>#E5EAEE, Theme color 3</strong>, <strong>Title text</strong> to <strong>Dates</strong>, <strong>Text size</strong> to <strong>14</strong>, and <strong>Font family</strong> to <strong>Segoe UI (Bold)</strong>.</li><li>Finally, adjust the vertical size of this slicer until the word <strong>Dates</strong> increases to its proper size.</li></ul><p>The slicer should have the following sizes and coordinates, which you can check in the <strong>Properties </strong>sections of the <strong>General</strong> tab of the <strong>Format</strong> sub-pane using the <strong>Size</strong> and <strong>Position</strong> cards.</p><ul><li><strong>Horizontal Position</strong>: 1056</li><li><strong>Vertical Position</strong>: 56</li><li><strong>Width</strong>: 224</li><li><strong>Height</strong>: 152</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*tsV2d0cYpffv7eutSJOaMA.png" /></figure><p>Next, Pam wants to use the <strong>Target Utilization</strong> slicer she created earlier.</p><blockquote>To add this slicer to the page, perform the following steps:</blockquote><ul><li>Click on a blank area of the canvas, expand the <strong>Target Utilization</strong> table, and click the checkbox next to the <strong>Target Utilization</strong> column.</li><li>Resize this slicer and position it underneath the <strong>Dates</strong> slicer. It is okay if the visuals overlap.</li><li>On the <strong>General</strong> tab of the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Effects </strong>format card and toggle <strong>Background</strong> to <strong>Off.</strong></li><li>On the <strong>Visual</strong> tab, expand the <strong>Values</strong> format card and change the <strong>Font color</strong> property of <strong>#E5EAEE, Theme color 3</strong>.</li><li>Format <strong>Slicer header</strong> to have a <strong>Font color</strong> of <strong>#E5EAEE, Theme color 3</strong>, a <strong>Text size</strong> of <strong>14</strong>, and a <strong>Font family</strong> of <strong>Segoe UI (Bold)</strong>.</li><li>Finally, adjust the vertical size of this slicer until the Target Utilization text increases to its proper size and the yellow warning disappears from the <strong>Slicer header</strong> area.</li></ul><p>The slicer should have the following sizes and coordinates, which you can check using the <strong>Properties </strong>section on the <strong>General</strong> tab of the <strong>Format</strong> sub-pane using the <strong>Size</strong> and <strong>Position</strong> cards.</p><ul><li><strong>Horizontal Position</strong>: 1056</li><li><strong>Vertical Position</strong>: 160</li><li><strong>Width</strong>: 224</li><li><strong>Height</strong>: 152</li></ul><blockquote>The visuals on your page should look similar to the following:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*hVxYMDQ5Va6whfXbBY6RbA.png" /></figure><p>Pam also wants a slicer for branches.</p><blockquote>To create this, do the following:</blockquote><ul><li>Click on a blank area of the canvas and then expand the <strong>People</strong> table in the <strong>Data</strong> pane and choose the <strong>Location</strong> column.</li><li>Switch this visual to a slicer as well.</li><li>Shrink this slicer vertically and reposition this slicer underneath the <strong>Target Utilization</strong> slicer. It is okay if the visuals overlap.</li><li>Adjust the horizontal size as necessary so that it fits within the rectangle.</li><li>On the <strong>General</strong> tab of the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Effects </strong>format card and toggle <strong>Background</strong> to <strong>Off.</strong></li><li>On the <strong>Visual</strong> tab of the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Slicer settings </strong>format card and then the <strong>Selection</strong> sub-card, and toggle <strong>Show “Select All” option</strong> to <strong>On</strong>. Set <strong>Style</strong> to <strong>Dropdown</strong>.</li><li>Expand the <strong>Slicer header</strong> format card and change <strong>Title text</strong> to <strong>Branch</strong>, <strong>Font color</strong> to <strong>#E5EAEE, Theme color 3</strong>, <strong>Font</strong> size to <strong>14</strong>, and <strong>Font family</strong> to <strong>Segoe UI Bold</strong>.</li><li>Expand the <strong>Values</strong> section and change <strong>Font color</strong> to <strong>#E5EAEE, Theme color 3</strong>, and <strong>Font </strong>size to <strong>12</strong>. Expand the <strong>Background</strong> sub-card and change <strong>Color</strong> to <strong>#3C3C3B, Theme color 2</strong>.</li></ul><p>This slicer should have the following settings in the <strong>Properties</strong> section of the <strong>General</strong> tab for the <strong>Size </strong>and <strong>Position</strong> cards.</p><ul><li><strong>Horizontal Position</strong>: 1056</li><li><strong>Vertical Position</strong>: 264</li><li><strong>Width</strong>: 224</li><li><strong>Height</strong>: 72</li></ul><blockquote>The visuals on your page should look similar to the following:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*ydmVL8iUIkdQW-QnlPZKgQ.png" /></figure><blockquote>To create a <strong>Division</strong> slicer, perform the following steps:</blockquote><ul><li>Select the <strong>Branch</strong> slicer and use <em>Ctrl</em> + <em>C</em> and <em>Ctrl</em> + <em>V</em> to copy and paste the slicer, respectively.</li><li>Reposition this slicer directly underneath the original <strong>Branch</strong> slicer.</li><li>Replace the slicer’s <strong>Field</strong> with the <strong>Division</strong> column (not <strong>Division (groups)</strong> or <strong>Division Hierarchy</strong>) from the <strong>Hours</strong> table.</li><li>In the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Slicer header</strong> section and change <strong>Title text</strong> to <strong>Division</strong>.</li></ul><p>This slicer should have the following settings in the <strong>Properties</strong> section of the <strong>General</strong> tab for the <strong>Size </strong>and <strong>Position</strong> cards.</p><ul><li><strong>Horizontal Position</strong>: 1056</li><li><strong>Vertical Position</strong>: 336</li><li><strong>Width</strong>: 224</li><li><strong>Height</strong>: 72</li></ul><p>The <strong>Division</strong> slicer should be positioned directly underneath the <strong>Branch</strong> slicer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*tfFKP9ljvNrPGKN-YHGdDg.png" /></figure><blockquote>To create a slicer based on the type of employee, follow these steps:</blockquote><ul><li>Select the <strong>Division</strong> slicer and use <em>Ctrl</em> + <em>C</em> and <em>Ctrl</em> + <em>V</em> to copy and paste the slicer, respectively.</li><li>Position this slicer directly underneath the original <strong>Division</strong> slicer.</li><li>Replace this slicer’s <strong>Field</strong> with the <strong>EmployeeType</strong> column (not <strong>Employee Type (groups)</strong>) from the <strong>People</strong> table.</li><li>In the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Slicer header</strong> section and change <strong>Title text</strong> to <strong>Employee Type</strong>.</li></ul><p>This slicer should have the following settings in the <strong>Properties</strong> section of the <strong>General</strong> tab for the <strong>Size </strong>and <strong>Position</strong> cards.</p><ul><li><strong>Horizontal Position</strong>: 1056</li><li><strong>Vertical Position</strong>: 408</li><li><strong>Width</strong>: 224</li><li><strong>Height</strong>: 72</li></ul><p>The <strong>Employee Type</strong> slicer should be positioned directly underneath the <strong>Division</strong> slicer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*KruEkXHpbcae06hg3Y4bVQ.png" /></figure><p>These are the common slicers that Pam envisions on each page.</p><p>Pam also plans on creating a bookmark for each page that will reset all of the slicers and filters on the page.</p><h4>To plan for this, follow these steps:</h4><ul><li>Click on a blank area of the canvas. Then, on the <strong>Insert</strong> tab of the ribbon, choose <strong>Buttons</strong> and then <strong>Reset</strong>.</li><li>Shrink this button horizontally until just before the icon gets smaller and reposition this button in the lower right-hand corner of the page.</li><li>With the button selected, on the <strong>General</strong> tab of the <strong>Format button</strong> pane, expand the <strong>Effects </strong>section and ensure <strong>Background</strong> is toggled to <strong>Off</strong>.</li><li>Also, on the <strong>Button</strong> tab of the <strong>Format button</strong> pane, expand the <strong>Style</strong> section and toggle <strong>Text </strong>to <strong>On</strong>.</li><li>Expand the <strong>Text</strong> section and change the top dropdown from <strong>Default</strong> to <strong>On hover</strong>.</li><li>Enter <strong>RESET</strong> for <strong>Text</strong>.</li><li>Change <strong>Font color</strong> to <strong>#E5EAEE, Theme color 3</strong>, <strong>Font family</strong> to <strong>Segoe UI (Bold)</strong>, and <strong>Horizontal alignment</strong> to <strong>Center</strong>.</li></ul><p>Pam also plans on using drill through on some pages.</p><blockquote>To prepare for this, do the following:</blockquote><ul><li>Copy and paste the reset button and reposition it at the bottom left of the rectangle.</li><li>In the <strong>Format button</strong> pane, expand the <strong>Style</strong> format card on the <strong>Button</strong> tab and then expand the <strong>Icon</strong> sub-card and change <strong>Shape</strong> from <strong>Reset</strong> to <strong>Back</strong>.</li><li>Expand the <strong>Text</strong> card, change the state to <strong>On hover</strong>, and replace the word <strong>RESET</strong> with <strong>BACK</strong>.</li><li>Toggle the <strong>Action</strong> format card to <strong>On</strong> and ensure that <strong>Type</strong> is set to <strong>Back</strong>.</li></ul><p>Finally, Pam wants to brand all of the report pages with the corporate logo. To add the logo.</p><ul><li>Click on a blank area of the canvas, click the <strong>Insert</strong> tab of the ribbon, and select <strong>Image</strong> from the <strong>Elements</strong> section.</li><li>Select <strong>Packtlogo.png</strong>.</li><li>Shrink this image as necessary and place the image just above the buttons.</li></ul><p>All of these visuals are intended to remain exactly as they are and act like a group.</p><p>To ensure that you do not accidentally move individual visuals around later, press the <em>Ctrl-A</em> keys to select all of the visuals.</p><p>In the <strong>Format</strong> tab in the <strong>Arrange</strong> area of the ribbon, select <strong>Group</strong> and then <strong>Group</strong>.</p><p>This groups the visuals together such that they act as a single unit while editing. Now is a good time to save your work before looking at syncing slicers.</p><h4>Using Sync Slicers</h4><p>Pam wants the slicers in the <strong>CONTROLS</strong> area to stay in sync across the pages of the report.</p><p>This means that when a slicer is changed or adjusted on one page, all of the other pages of the report should reflect this change.</p><blockquote>To use the sync slicers feature, do the following:</blockquote><ul><li>Start on the <strong>Template</strong> page.</li><li>Click on the <strong>View</strong> tab of the ribbon. In the <strong>Show panes</strong> section, choose <strong>Sync slicers</strong>. The <strong>Sync slicers</strong> pane appears between the <strong>Filters</strong> pane and the <strong>Visualizations</strong> pane.</li><li>Select the <strong>Dates</strong> slicer. Note that, at the top, all of the page names in the report are listed — in this case, just <strong>Template</strong>. The visible (eyeball) icon indicates whether or not the slicer is present on the page. There is also a sync icon to the left of the visible icon that allows you to check which pages the slicer keeps in sync.</li><li>Expand the <strong>Advanced options</strong> section.</li><li>In the field, type <em>Dates</em> and then note that the checkboxes next to <strong>Sync field changes to other slicers</strong> and <strong>Sync filter changes to other slicers</strong> are checked automatically, as shown in the following screenshot. These options mean that any slicers with the same group name will be kept in sync, regardless of the pages they are on.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*hgN-wwPJzSLZ1wiZkgqCTg.png" /></figure><ul><li>Click on the <strong>Target Utilization</strong> slicer and add a group name of <em>Target Utilization</em>.</li><li>Click on the <strong>Branch</strong> slicer and add a group name of <em>Branches</em>.</li><li>Click on the <strong>Division</strong> slicer and add a group name of <em>Divisions</em>.</li><li>Click on the <strong>Employee Type</strong> slicer and add a group name of <em>Employee Types</em>.</li></ul><p>Pam is now done with the <strong>Sync slicers</strong> pane, so unselect the <strong>Sync slicers</strong> icon on the <strong>View</strong> tab of the ribbon.</p><h4>Adjusting the Calendar</h4><p>Pam only wants dates that are contained within the report to be displayed in the <strong>Dates</strong> slicer.</p><p>When Pam created the <strong>Calendar</strong> table, she used the CALENDAR function and used 1/1/2017 and 12/31/2019 as the beginning and end dates for the CALENDAR function’s parameters, respectively.</p><p>This means that the <strong>Dates</strong> slicer displays all these dates. This will not do for the final report.</p><blockquote>To fix this, click on the <strong>Calendar</strong> table and edit the DAX formula definition so that it’s now as follows:</blockquote><pre>Calendar = CALENDAR( MIN( &#39;Hours&#39;[Date] ), MAX( &#39;Hours&#39;[Date] ) )</pre><p>This formula replaces the hardcoded date values with the minimum and maximum date values in the <strong>Hours</strong> table.</p><p>The <strong>Dates</strong> slicer now only has available dates of <strong>1/1/2019</strong> to <strong>3/22/2019</strong>.</p><p>Pam knows that when she adds data to the report, this table will recalculate during the refresh, so the report’s <strong>Dates </strong>slicer will always only have the dates that are available within the semantic model.</p><p>The CALENDARAUTO function can also help ensure that all of the calendar dates within the model are part of the calendar table.</p><p>CALENDARAUTO is similar to CALENDAR in that it creates a table of dates, but CALENDARAUTO analyzes the semantic model and creates the calendar table between the minimum and maximum dates within the entire model.</p><p>To control exactly what dates appear more accurately in your calendar/date table, it is recommended to use the CALENDAR function, as described here, instead of CALENDARAUTO.</p><h4>Adding Report Filter</h4><p>As a final preparation step, Pam wants to add overall report filters. <strong>Report-level filters</strong> filter all of the pages of the report, which will save time compared to placing these same filters on each page.</p><p>Pam knows that, for this report, management only cares about billable resources and not about back-office resources such as administrators, human resources, sales, and so on.</p><p>Pam already created a group that groups billable resources.</p><blockquote>To implement this report filter, perform the following steps:</blockquote><ul><li>Expand the <strong>Data</strong> pane and then the <strong>People</strong> table.</li><li>Right-click <strong>EmployeeType (groups)</strong>, choose <strong>Add to filters</strong>, and then choose <strong>Report-level filters</strong>.</li><li>Expand the <strong>Filters</strong> pane and in the <strong>Filters on all pages</strong> section, find <strong>EmployeeType (groups)</strong>.</li><li>Ensure that <strong>Filter type</strong> is set to <strong>Basic filtering</strong> and then check <strong>Billable</strong>.</li></ul><p>The <strong>Employee Type</strong> slicer now only lists <strong>HOURLY</strong>, <strong>SALARY</strong>, and <strong>SUB-CONTRACTOR</strong>.</p><p>Similarly, Pam only wants to focus this report on the three main lines of consulting services the company provides, that is, technology, accounting, and management consulting.</p><blockquote>To add this filter, do the following:</blockquote><ul><li>Expand the <strong>Hours</strong> table in the <strong>Data</strong> pane and add <strong>Division (groups)</strong> (not the <strong>Division</strong> column or <strong>Division Hierarchy</strong>) to the <strong>Filters on all pages</strong> area of the <strong>Filters</strong> pane.</li><li>Using <strong>Basic filtering</strong>, select <strong>Technology</strong>, <strong>Accounting</strong>, and <strong>Management</strong>.</li></ul><p>The <strong>Division</strong> slicer now only shows the values for these three groups. We are now done preparing for the creation of our final report pages.</p><h3>Creating the Final Report Pages</h3><p>Pam is finally done with the preparation. However, all of this preparation is about to pay off by making the rest of the final report pages far easier and faster.</p><blockquote>In the following subsections, we will create each of the six pages of the final report.</blockquote><h4>Creating the Executive Summary Page</h4><p>The first page is the <strong>Executive Summary</strong> page.</p><p>This page should display a quick snapshot of the most important information to the business executives.</p><blockquote>To create the <strong>Executive Summary</strong> page, follow these steps:</blockquote><ul><li>Right-click the <strong>Template</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename <strong>Duplicate of Template</strong> to Executive Summary.</li></ul><p>Because this page is a duplicate of the <strong>Template</strong> page, all of the slicers on this page have the same group names that were defined for the slicers on the <strong>Template</strong> page.</p><p>This means that the slicers on this page will be kept in sync with the slicers on the <strong>Template</strong> page; any other pages that are created will be done by duplicating the <strong>Template</strong> page.</p><p>Pam wants this page to be a high-level summary of information that the executives can glance at and immediately understand the state of utilization across months, divisions, and branches.</p><p>She wants big, bold, colorful visuals that convey a lot of information quickly.</p><p>She remembers the <strong>Key Performance Indicator</strong> (<strong>KPI</strong>) visualization she created earlier and liked its color and ability to display a lot of information in a small amount of space.</p><h4>To add a KPI visualization, follow these steps:</h4><ul><li>On the <strong>Executive Summary</strong> page, click on a blank area of the canvas. Then, from the <strong>Visualizations</strong> pane, select the <strong>KPI</strong> visualization.</li><li>Place this visualization at the top left of the page and adjust its size so that it takes up half the page vertically and half of the light-gray area horizontally.</li><li>Place the <strong>Month</strong> column from the <strong>Calendar</strong> table in the <strong>Trend Axis</strong> field well, the <strong>% Utilization </strong>measure from the <strong>Calculations</strong> table in the <strong>Value</strong> field well, and the <strong>Target Utilization Value </strong>measure from the <strong>Target Utilization</strong> table in the <strong>Target </strong>field well.</li><li>Using the <strong>General</strong> tab of the <strong>Format visuals</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Effects</strong> format card and toggle <strong>Background</strong> to <strong>Off</strong>.</li><li>While still on the <strong>General</strong> tab, expand the <strong>Title</strong> format card and change <strong>Title text</strong> to <strong>Current % Utilization vs. Target</strong>.</li><li>Change <strong>Text color</strong> to <strong>#3C3C3B, Theme color 2</strong>, <strong>Alignment</strong> to <strong>Center</strong>, <strong>Text size</strong> to <strong>24</strong>, and <strong>Font </strong>to <strong>Segoe UI (Bold)</strong>.</li><li>Switch to the <strong>Visual</strong> tab, expand the <strong>Callout value</strong> section, and adjust the <strong>Font </strong>size to the maximum of <strong>60</strong>.</li><li>Expand the <strong>Target label</strong> section and change <strong>Font color</strong> to <strong>#3C3C3B, Theme color 2</strong>, <strong>Text size </strong>to <strong>24</strong>, and <strong>Font </strong>to <strong>Segoe UI (Bold)</strong>.</li></ul><p>The next visual is a summary of <strong>% Utilization by Division</strong>.</p><blockquote>To create this visual, follow these steps:</blockquote><ul><li>Copy and paste the KPI visual and move the copied visual directly underneath the original KPI visual.</li><li>Change this visualization to a <strong>Clustered </strong>bar chart.</li><li>Replace the <strong>Month</strong> column in the <strong>Y-axis</strong> field well with the <strong>Division</strong> column from the <strong>Hours </strong>table.</li><li>Remove <strong>Target Utilization Value</strong> from the <strong>X-axis </strong>field well.</li><li>Using the <strong>General</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Title</strong> section and edit <strong>Title Text</strong> to <strong>% Utilization by Division</strong>.</li><li>On the <strong>Visuals</strong> tab, toggle <strong>Title</strong> for both <strong>Y axis</strong> and <strong>X axis</strong> to <strong>Off</strong> and change the <strong>Color</strong> values of both to <strong>#3C3C3B, Theme color 2</strong>.</li><li>Toggle <strong>Data labels</strong> to <strong>On</strong>, expand the format card, expand the <strong>Value </strong>sub-card, and change <strong>Color</strong> to <strong>#3C3C3B, Theme color 2</strong>.</li><li>Finally, click on the <strong>Analytics</strong> sub-pane in the <strong>Visualizations</strong> pane. The icon looks like a magnifying glass.</li><li>Expand <strong>Average line</strong> and click <strong>+ Add line</strong>.</li></ul><p>Pam also wants a summary of <strong>% Utilization by Branch</strong>.</p><blockquote>To create this visual, perform the following steps:</blockquote><ul><li>Copy and paste the <strong>% Utilization by Division</strong> visual and reposition the copy next to the original.</li><li>Add the <strong>Location</strong> column from the <strong>People</strong> table to <strong>Y-axis</strong> and remove <strong>Division.</strong></li><li>Change the visualization’s <strong>Title</strong> to <strong>% Utilization by Branch</strong> and change the visual to be a <strong>Clustered column chart</strong>.</li></ul><p>Finally, Pam wants to show the total utilization.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Copy and paste the KPI visual and reposition this new visual to the right of the original KPI visual.</li><li>Change the visual to a <strong>Card</strong> visualization and ensure that the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table is in <strong>Fields</strong> for this visualization.</li><li>Use the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane to toggle <strong>Category label</strong> to <strong>Off</strong>.</li><li>On the <strong>General</strong> tab, toggle <strong>Title</strong> to <strong>On</strong> and enter <strong>Total % Utilization</strong> as <strong>Title Text</strong>.</li><li>On the <strong>Visual</strong> tab, expand the <strong>Callout value</strong> section and set <strong>Font size</strong> to <strong>Segoe UI Bold </strong>and <strong>60</strong>, and <strong>Color</strong> to <strong>#EC670F, Theme color 1</strong>.</li></ul><blockquote>The final <strong>Executive Summary</strong> page should now look as follows:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*Vk-mWgyQYtE0SMjNw6o7fQ.png" /></figure><p>Pam is satisfied with the <strong>Executive Summary</strong> page.</p><p>In the KPI visualization, executives can now see the latest month’s utilization, along with its trend in previous months and a comparison with the target utilization.</p><p>They can also see the overall utilization by division and by branch.</p><p>Finally, they can see the overall total utilization for all selected dates, branches, divisions, and employee types.</p><p>Before moving on, Pam needs to finish up a few details for the <strong>Executive Summary</strong> page.</p><blockquote>To finish off the <strong>Executive Summary</strong> page, do the following:</blockquote><ul><li>First, because she does not plan on this page being a drill-through page, select and delete the <strong>Back</strong> button at the bottom left of the dark gray rectangle.</li><li>Next, create a bookmark for this page by selecting the <strong>View</strong> tab of the ribbon. Then, in the <strong>Show panes</strong> section, select <strong>Bookmarks</strong>.</li><li>Set the <strong>Target Utilization</strong> slicer to <strong>80</strong>.</li><li>In the <strong>Bookmarks</strong> pane, choose <strong>Add</strong> and rename this bookmark to <strong>Reset Executive Summary</strong>.</li><li>The previously created bookmarks are no longer needed, so for each one, hover over the bookmark name, choose the ellipsis (<strong>…</strong>) next to the bookmark name, and choose <strong>Delete</strong>.</li></ul><p>Pam is planning to create more bookmarks and wants to keep her bookmarks organized.</p><p>To keep the bookmarks organized, we need to create groups for them.</p><blockquote>To do so, follow these steps:</blockquote><ul><li>For the remaining <strong>Reset Executive Summary</strong> bookmark, first select the name of the group, then select the ellipsis for that group (<strong>…</strong>), and then choose <strong>Group</strong>.</li><li>Rename the group <strong>Executive Summary</strong>.</li><li>Collapse the <strong>Bookmarks</strong> pane.</li><li>Finally, select the <strong>Reset</strong> button in the lower left of the dark gray rectangle. In the <strong>Format button </strong>pane, toggle <strong>Action</strong> to <strong>On</strong>.</li><li>Expand the <strong>Action</strong> format card and, for <strong>Type</strong>, choose <strong>Bookmark</strong>.</li><li>For <strong>Bookmark</strong>, choose <strong>Reset Executive Summary</strong>.</li></ul><p>A couple of notes about the different values for <strong>% Utilization</strong> on the page.</p><p>With the full date range selected and all the slicers set to <strong>All</strong>, the KPI visual displays <strong>86%</strong>, while the card visual displays <strong>85%</strong>.</p><p>This is because the KPI shows the latest month’s <strong>% Utilization</strong> while the card visual shows <strong>% Utilization </strong>calculated across all three months.</p><p>Similarly, you may notice that the <strong>Average</strong> lines for the bar and column charts are at different levels, one at <strong>80%</strong> and the other at <strong>86%</strong>.</p><p>This is because these averages are the averages of the groups displayed, not the overall average <strong>% Utilization</strong>.</p><p>Thus, in the bar chart visual, the average between <strong>88%</strong>, <strong>79%</strong>, and <strong>73%</strong> is <strong>80%</strong>, while in the column chart visual, the average between <strong>89%</strong>, <strong>86%</strong>, and <strong>83%</strong> is <strong>86%</strong>.</p><h4>Creating the Division Management Page</h4><p>The next page in the report is the <strong>Division Management</strong> page.</p><p>Division managers within the organization will use this page to display relevant information so that they can keep their division utilized.</p><blockquote>To create this page, perform the following steps:</blockquote><ul><li>Right-click the <strong>Executive Summary</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename <strong>Duplicate of Executive Summary</strong> to Division Management.</li><li>Pam plans on this page being available for drill-through. So, first, copy and paste the <strong>Back</strong> button from the <strong>Template</strong> page onto the <strong>Division Management</strong> page and reposition it as necessary.</li><li>Click on a blank area of the canvas, such as just to the right of the <strong>Controls</strong> group of visuals, and expand the <strong>Visualizations</strong> and <strong>Data</strong> panes.</li><li>Drag and drop the <strong>Division</strong> column from the <strong>Hours</strong> table into the <strong>Add drill-through fields here </strong>area. Since this page already contains a <strong>Back</strong> button, Power BI does not add one automatically to the page.</li></ul><p>Pam knows that it is also important for the division managers to track utilization by the type of employee.</p><blockquote>To add this visual, perform the following steps:</blockquote><ul><li>Select the <strong>% Utilization by Division</strong> visual and replace <strong>Division</strong> in the <strong>Y-axis</strong> field well with the <strong>EmployeeType</strong> column from the <strong>People</strong> table.</li><li>On the <strong>General</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Title </strong>section, and set <strong>Title Text</strong> to <strong>% Utilization by Employee Type</strong>.</li></ul><p>Pam knows that the division managers will want more detail than at the <strong>Executive Summary</strong> level.</p><p>This means tracking hours and utilization by individual job codes.</p><blockquote>To create this visual, do the following:</blockquote><ul><li>Select the KPI visual and change this visual to a <strong>Table</strong> visual.</li><li>Replace <strong>Month</strong> in the <strong>Columns</strong> field well with the <strong>JobID</strong> column from the <strong>Hours</strong> table.</li><li>Replace <strong>Target Utilization Value</strong> in the <strong>Columns</strong> field well with the <strong>Hours</strong> column from the <strong>Hours</strong> table. Double-click <strong>Sum of Hours</strong> in the <strong>Columns</strong> field well and rename it to <strong>Hours</strong>.</li><li>In the <strong>Columns</strong> field well, ensure that the columns from top to bottom are <strong>JobID</strong>, <strong>Hours</strong>, and then <strong>% Utilization</strong>. If not, simply click on the columns in the <strong>Columns</strong> field well and drag and drop them as required.</li><li>On the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Values </strong>format card and then the <strong>Values</strong> sub-card, and change <strong>Text color</strong> and <strong>Alternate text color</strong> to <strong>#E5EAEE, Theme color 3</strong>.</li><li>Still on the <strong>Visual</strong> tab, expand the <strong>Column headers</strong> format card and the <strong>Text</strong> sub-card, and change <strong>Text color</strong> to <strong>#E5EAEE, Theme color 3</strong>, <strong>Font </strong>to <strong>Segoe UI (Bold)</strong>, and <strong>Header alignment </strong>to <strong>Center</strong>.</li><li>Still on the <strong>Visual</strong> tab, expand the <strong>Totals</strong> format card and change <strong>Background color</strong> to <strong>#3C3C3B, Theme color 2</strong> and <strong>Text color</strong> to <strong>#E5EAEE, Theme color 3</strong>.</li><li>Switch back to the <strong>Build visual</strong> sub-pane, right-click <strong>% Utilization</strong>, and choose <strong>Conditional formatting</strong> and then <strong>Data bars</strong>.</li><li>In the <strong>Data bars</strong> dialog, change the <strong>Positive bar</strong> color to <strong>#3C3C3B, Theme color 2</strong> and click the <strong>OK</strong> button.</li><li>Click on the <strong>% Utilization</strong> column in the <strong>Table</strong> visual to sort by descending order.</li><li>Click on the <strong>% Utilization</strong> column one more time to sort by ascending order.</li></ul><p>Pam also believes that the division managers will want to see the total hours that were spent on different tasks.</p><blockquote>To create this visual, follow these steps:</blockquote><ul><li>Select the <strong>Total % Utilization</strong> card visual and shrink this visual vertically to about half its original size.</li><li>Copy and paste the <strong>Total % Utilization</strong> visual and reposition the visual directly underneath the original.</li><li>Change this to a <strong>Clustered column chart</strong> visual.</li><li>Replace <strong>% Utilization</strong> in the <strong>Y-axis</strong> field well with the <strong>Hours</strong> column from the <strong>Hours</strong> table.</li><li>Put the <strong>Category</strong> column from the <strong>Hours</strong> table into the <strong>X-axis</strong> field well.</li><li>On the <strong>General</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Title </strong>section, and set <strong>Title</strong> to <strong>Hours by Category</strong>.</li><li>On the <strong>Visual</strong> tab, change <strong>Color</strong> for <strong>Values</strong> for <strong>X axis</strong> and <strong>Y axis</strong> to <strong>#3C3C3B, Theme color 2 </strong>and toggle both axis <strong>Title</strong> settings to <strong>Off</strong>.</li></ul><p>Pam realizes that if users drill through to this page, they will not have any visual cues as to which division has been drilled into.</p><p>Pam decides to create a dynamic title measure and visual.</p><blockquote>To create these items, follow these steps:</blockquote><ul><li>Right-click on <strong>Calculations</strong> and choose <strong>New measure</strong>. Type this formula there.</li></ul><pre>Divisions Title =<br> VAR __AllCount = 3<br> VAR __CurrentCount = COUNTROWS( SUMMARIZE( &#39;Hours&#39;,[Division] ) )<br> VAR __Result =<br>    SWITCH(<br>          TRUE(),<br>          HASONEVALUE( &#39;Hours&#39;[Division] ), <br>          MAX( &#39;Hours&#39;[Division] ),<br>          __AllCount = __CurrentCount, <br>          &quot;All Divisions&quot;,<br>          &quot;Multiple Divisions&quot;<br>        )<br>RETURN<br>   __Result</pre><p>This measure uses a special form of the SWITCH DAX statement, where TRUE() is specified as the first parameter instead of a column or measure.</p><p>This allows you to specify multiple complex logical statements that return either true or false.</p><p>The first statement that returns true returns the corresponding calculation.</p><p>The first check is whether there is a single unique value for the <strong>Division </strong>column. If so, then that value is returned.</p><p>Next, if the counts for all divisions (__AllCount) equal the current count of divisions (__CurrentCount), then <strong>All Divisions</strong> is returned. Otherwise, <strong>Multiple Divisions</strong> is returned.</p><ul><li>Shrink the <strong>Table</strong> visual vertically from the top to make room in the top-left corner of the page.</li><li>Click on this blank area of the canvas and then click on the <strong>Card</strong> visualization in the <strong>Visualizations</strong> pane.</li><li>Reposition and resize this visualization to take up the blank space.</li><li>Add the <strong>Division Title</strong> measure from the <strong>Calculations</strong> table to the <strong>Fields</strong> area for the visual.</li><li>Use the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane to toggle <strong>Category label</strong> on the <strong>Visual</strong> tab to <strong>Off</strong>, and also toggle <strong>Background</strong> under the <strong>Effects</strong> section of the <strong>General</strong> tab to <strong>Off</strong>.</li><li>On the <strong>Visuals</strong> tab, expand the <strong>Callout value</strong> section and change <strong>Color</strong> to <strong>#7EAE40, Theme color 6</strong>, and <strong>Font </strong>to <strong>Segoe UI (Bold)</strong> size <strong>24</strong>.</li></ul><p>Picking a green color from the theme instead of the same title color as the other visuals provides a visual indication that this text is different than the titles for the other visualizations.</p><p>The completed <strong>Division Management</strong> page should look as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*84EBl5vuz9O9XJL5q_RV1g.png" /></figure><p>Pam is satisfied with the <strong>Division Management</strong> page.</p><blockquote>To finish this page, do the following:</blockquote><ul><li>In the <strong>Bookmarks</strong> pane, choose <strong>Add</strong> and rename this bookmark <strong>Reset Division Management</strong>.</li><li>Select the ellipsis (<strong>…</strong>) for this bookmark and choose <strong>Group</strong>.</li><li>Rename the group <strong>Division Management</strong>.</li><li>Collapse the <strong>Bookmarks</strong> pane.</li><li>Select the <strong>Reset</strong> button in the lower left of the dark gray rectangle.</li><li>In the <strong>Format button</strong> pane, expand the <strong>Action</strong> section and for <strong>Bookmark</strong>, choose <strong>Reset Division Management</strong>.</li></ul><p>The <strong>Division Management</strong> page is now complete. Save your work before continuing.</p><h4>Creating the Branch Management Page</h4><p>Pam also wants a page more focused on branch managers. Much of the information that’s displayed, as well as the layout, is similar to the <strong>Division Management</strong> page.</p><blockquote>To create this page, follow these steps:</blockquote><ul><li>Right-click the <strong>Division Management</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename the <strong>Duplicate of Division Management</strong> page to Branch Management.</li><li>Pam plans on this page being available for drill through. Therefore, click on a blank area of the canvas and then expand the <strong>Visualizations</strong> and <strong>Data</strong> panes.</li><li>Remove <strong>Division</strong> from the <strong>Drill though</strong> section and drag and drop <strong>Location</strong> from the <strong>People </strong>table into the <strong>Add drill-through fields here</strong> area.</li></ul><p>Pam knows that the branch managers will also be interested in how their branch is performing across divisions, as well as their overall percentage of utilization.</p><p>So, she can leave the <strong>Total % Utilization</strong>, <strong>Hours by Category</strong>, and <strong>% Utilization by Employee Type</strong> visuals as is. However, the other visuals need to be changed slightly.</p><blockquote>To do this, perform the following steps:</blockquote><ul><li>Select the <strong>% Utilization by Branch</strong> visual.</li><li>Replace <strong>Location</strong> in the <strong>X-axis</strong> field well with the <strong>Division</strong> column from the <strong>Hours</strong> table.</li><li>On the <strong>General</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Title </strong>section and change <strong>Title text</strong> to <strong>% Utilization by Division</strong>.</li></ul><p>Pam wants to create a similar dynamic title measure for branches as she did for divisions.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Right-click on the <strong>Calculations</strong> table in the <strong>Data</strong> pane and choose <strong>New measure</strong>.</li><li>Enter the following formula.</li></ul><pre>Branch Title =<br>   VAR __AllCount = 3<br>   VAR __CurrentCount = COUNTROWS( SUMMARIZE( &#39;People&#39;,[Location] ) )<br>   VAR __Result =<br>       SWITCH(<br>             TRUE(),<br>             HASONEVALUE( &#39;People&#39;[Location] ), <br>             MAX( &#39;People&#39;[Location]),<br>             __AllCount = __CurrentCount, &quot;All Branches&quot;,<br>            &quot;Multiple Branches&quot;<br>        )<br>RETURN<br>    __Result</pre><ul><li>Select the card visual in the top-left corner and replace <strong>Divisions Title</strong> in the <strong>Fields</strong> field well with <strong>Branch Title</strong>.</li></ul><p>Pam also needs to change the <strong>Table</strong> visualization.</p><blockquote>To do so, follow these steps:</blockquote><ul><li>Select the <strong>Table</strong> visual.</li><li>In the <strong>Values</strong> field well, replace <strong>JobID</strong> with the <strong>Name</strong> column from the <strong>People</strong> table.</li><li>In the <strong>Values</strong> field well, right-click <strong>% Utilization</strong>, choose <strong>Remove conditional formatting</strong>, and then <strong>All</strong>.</li><li>Shrink the <strong>% Utilization</strong> column in this visual so that it is just wide enough that the <strong>% Utilization</strong> text does not wrap.</li></ul><p>Pam wants to create a colored indicator for the <strong>Table</strong> visualization denoting whether or not each employee is meeting <strong>Target Utilization</strong>.</p><p>Pam previously created a <strong>Goal Status Color</strong> measure.</p><p>The <strong>Goal Status Color</strong> measure returns the hex color code for green (#00FF00) if the target goal is met or exceeded, and returns red (#FF0000) if not. This measure can be used to create a graphical indicator.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Drag the <strong>Goal Status Color</strong> measure from the <strong>Calculations</strong> table into the <strong>Columns</strong> field well.</li><li>Double-click the <strong>Goal Status Color</strong> in the <strong>Columns</strong> field well in the <strong>Build visual</strong> sub-pane of the <strong>Visualizations</strong> pane and change its name to <strong>Status</strong>.</li><li>Click the drop-down arrow for <strong>Status</strong> in the <strong>Columns</strong> field well and choose <strong>Conditional formatting</strong> and then <strong>Icons</strong>.</li><li>In the <strong>Icons</strong> dialog, under <strong>Rules</strong>, change the first rule’s <strong>Text</strong> to be <strong>#FF0000</strong>.</li><li>Delete the second rule using the <strong>X</strong> icon on the right.</li><li>Edit the last <strong>Text</strong> to be <strong>#00FF00</strong>.</li><li>Under <strong>Icon Layout</strong>, change the dropdown from <strong>Left of data</strong> to <strong>Icon only</strong>.</li><li>Click the <strong>OK</strong> button to close the dialog.</li></ul><p>Pam is happy with the icons but does not like <strong>#00FF00</strong> appearing in the <strong>Status</strong> column’s <strong>Total</strong> row.</p><blockquote>To fix this, do the following:</blockquote><ul><li>On the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Specific column</strong> section.</li><li>In the <strong>Apply settings to</strong> card, change the <strong>Series</strong> dropdown to <strong>Status</strong>.</li><li>In the <strong>Values</strong> card, set <strong>Text color</strong> to <strong>#3C3C3B, Theme color 2</strong>.</li><li>Change <strong>Alignment</strong> to <strong>Center</strong>.</li><li>Toggle <strong>Apply to total</strong> to <strong>On</strong>.</li></ul><p>The completed <strong>Branch Management</strong> page should look as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*1tXBZWgd7eXIE5bf83Hgtw.png" /></figure><p>Pam is satisfied with the <strong>Branch Management</strong> page.</p><blockquote>To finish off this page, do the following:</blockquote><ul><li>In the <strong>Bookmarks</strong> pane, choose <strong>Add</strong> and rename this bookmark <strong>Reset Branch Management</strong>.</li><li>Select the ellipsis (<strong>…</strong>) for this bookmark and choose <strong>Group</strong>.</li><li>Rename the group <strong>Branch Management</strong>.</li><li>Collapse the <strong>Bookmarks</strong> pane.</li><li>Select the <strong>Reset</strong> button in the lower left of the dark gray rectangle.</li><li>In the <strong>Format button</strong> pane, expand the <strong>Action</strong> section, and for <strong>Bookmark</strong>, choose <strong>Reset Branch Management</strong>.</li></ul><p>The <strong>Branch Management</strong> page is now complete. Save your work before continuing.</p><h4>Creating the Hours Detail Page</h4><p>Pam now has three pages that summarize information for managers at a high level.</p><p>But she knows that there may be times when these managers will want more details about employees and how their time is being spent at work.</p><p>Therefore, she decides to create a page dedicated to showing the breakdown of hours by employee.</p><blockquote>To start creating this page, follow these steps:</blockquote><ul><li>Right-click the <strong>Branch Management</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename <strong>Duplicate of Branch Management</strong> to <strong>Hours Detail</strong>.</li><li>Pam plans on this page being available for drill through. Therefore, click on a blank area of the canvas and expand the <strong>Visualizations</strong> and <strong>Data</strong> panes.</li><li>Drag and drop the <strong>Division</strong> column from the <strong>Hours</strong> table below the <strong>Location</strong> column in the <strong>Drill through</strong> area of the <strong>Visualizations</strong> pane. Also add the <strong>EmployeeType</strong> column from the <strong>People</strong> table as a <strong>Drill through</strong> filter.</li><li>Delete all of the visuals on the page except the <strong>Controls</strong> group, <strong>All Branches</strong> card visual, and table visual.</li><li>Change the table visual to a <strong>Matrix </strong>visualization and expand this visual so that it takes up the entire canvas except the <strong>CONTROLS</strong> area and <strong>All Branches</strong> visual.</li><li>Remove <strong>% Utilization</strong> and <strong>Status</strong> from the <strong>Values</strong> field well.</li><li>Place the <strong>Category</strong> column from the <strong>Hours</strong> table in the <strong>Columns</strong> field well.</li><li>Since there is a lot of information to fit onto one page, use the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane to reduce <strong>Text size</strong> to <strong>12</strong> for the <strong>Values</strong>, <strong>Column headers</strong>, <strong>Row headers</strong>, <strong>Column subtotals, Row subtotals</strong>, and <strong>Column grand total</strong> and <strong>Row grand total</strong> format cards.</li><li>On the <strong>Build visual</strong> tab, in the <strong>Rows</strong> field well, rename <strong>Name</strong> to <strong>Employee</strong>.</li></ul><p>Pam notices a problem, however: the order of the categories is alphabetical, so they’re not in the same order that the managers are used to seeing in other reports.</p><blockquote>To fix this, do the following:</blockquote><ul><li>Start by clicking on the <strong>Modeling</strong> tab of the ribbon and selecting <strong>New Table</strong>.</li><li>Enter the following formula for the table.</li></ul><pre>tmpTable = DISTINCT(&#39;Hours&#39;[Category])</pre><ul><li>This creates a table of all of the distinct values in the <strong>Category</strong> column of the <strong>Hours</strong> table, ensuring that all of the categories are present and that all of the spellings are the same.</li><li>Switch to the <strong>Table </strong>view, right-click this table in the <strong>Data</strong> pane, and choose <strong>Copy Table</strong>.</li><li>From the <strong>Home</strong> tab in the <strong>Data</strong> section, click on <strong>Enter data</strong>. <strong>Enter data</strong> queries provide a convenient mechanism so that you can hand-enter short lists of data.</li><li>Press <em>Ctrl</em> + <em>V</em>. The rows of the table are pasted into the first column, and the first row of the table, <strong>Category</strong>, is promoted to a column header.</li><li>Rename the table <strong>Categories</strong> using the <strong>Name</strong> field.</li><li>Click on the <strong>+</strong> column to add a column and rename this column <strong>Order</strong>.</li><li>Provide the orders shown in the following screenshot. When you are done, click the <strong>Load</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/569/1*ymhQWu0q8E3SYfk2OlOJJw.png" /></figure><ul><li>Switch to the <strong>Model</strong> view and confirm that Power BI has added a relationship between the new <strong>Categories</strong> table and <strong>Hours</strong>. If not, add the relationship between the <strong>Category</strong> columns in both tables.</li><li>In the <strong>Data</strong> pane, right-click <strong>tmpTable</strong>, choose <strong>Delete from model</strong>, and, when prompted, choose <strong>Yes</strong> to delete the table.</li><li>Switch back to the <strong>Report</strong> view.</li><li>Expand the <strong>Data</strong> pane and select the <strong>Order</strong> column in the <strong>Categories</strong> table (not the checkbox).</li><li>Click on the <strong>Column tools</strong> tab and ensure that the <strong>Order</strong> column has a <strong>Data type</strong> of <strong>Whole number</strong>. If not, set <strong>Data type</strong> to <strong>Whole number</strong>.</li><li>Click on the <strong>Category</strong> column in the <strong>Categories</strong> table (not the checkbox).</li><li>From the <strong>Column tools</strong> tab, click on <strong>Sort by column</strong> and choose <strong>Order</strong>.</li><li>Add the <strong>Category</strong> column from the <strong>Categories</strong> table to the <strong>Columns</strong> field well for the matrix and remove the original <strong>Category</strong> column. The column headings are now sorted in numerical order based on the <strong>Order</strong> column.</li></ul><p>Pam likes this visualization but also wants to see <strong>% Utilization</strong> as a total.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Add <strong>% Utilization</strong> from the <strong>Calculations</strong> table to the <strong>Values</strong> area of the matrix visualization.</li><li>In the <strong>Values</strong> area, rename <strong>% Utilization</strong> to <strong>%</strong>.</li><li>Unfortunately, this adds a second level under each <strong>Category</strong>, with each <strong>Category</strong> now containing two sub-columns for <strong>Hours</strong> and <strong>%</strong>.</li><li>To fix this, switch to the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Values</strong> section, and toggle <strong>Text wrap</strong> to <strong>Off</strong>. Repeat this for <strong>Column headers</strong> as well.</li><li>Now, in the matrix visualization, use the top <strong>Category</strong> column header row and carefully shrink the columns for each category except the <strong>Total</strong> column, until <strong>%</strong> is no longer displayed.</li><li>On the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Column headers</strong> section and then the <strong>Options</strong> card and toggle <strong>Auto-size column width</strong> to <strong>Off</strong>.</li><li>Finally, click on the <strong>%</strong> column to sort this column in descending order.</li></ul><p>Since this page supports drill through, Pam wants to use her dynamic title visuals.</p><blockquote>To use these visuals, follow these steps:</blockquote><ul><li>Reposition the <strong>Branch Title</strong> card visual to the middle of the gray area of the page horizontally.</li><li>Copy the <strong>Division Title</strong> card visual from the <strong>Division Management</strong> page and paste it onto the <strong>Hours Detail</strong> page.</li><li>Arrange these cards across the top of the page and adjust their horizontal size to be a third of the width of the matrix visual.</li></ul><p>Since the users can also drill through on <strong>EmployeeType</strong>, Pam needs an additional dynamic title measure.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Right-click on the <strong>Calculations</strong> table in the <strong>Data</strong> pane and choose <strong>New measure</strong>.</li><li>Enter the following formula:</li></ul><pre>Type Title =<br>  VAR __AllCount = 3<br>  VAR __CurrentCount = COUNTROWS( SUMMARIZE(<br> &#39;People&#39;,[EmployeeType]))<br>  VAR __Result =<br>    SWITCH(<br>       TRUE(),<br>       HASONEVALUE( &#39;People&#39;[EmployeeType] ), <br>       MAX( &#39;People&#39;[EmployeeType] ),<br>       __AllCount = __CurrentCount, &quot;All Types&quot;,<br>      &quot;Multiple Types&quot;<br>   )<br>RETURN<br>   __Result</pre><ul><li>Copy the <strong>Branch Title</strong> card visual and paste a copy onto the page.</li><li>Arrange this card visual across the top and replace its <strong>Fields</strong> property with the <strong>Type Title </strong>measure.</li></ul><blockquote>The final report page should now look as follows.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*6k1w6729iRpp71DArRYZqw.png" /></figure><p>Pam is satisfied with the <strong>Hours Detail</strong> page.</p><blockquote>To finish the page, perform the following steps:</blockquote><ul><li>In the <strong>Bookmarks</strong> pane, choose <strong>Add</strong> and rename this bookmark <strong>Reset Hours Detail</strong>.</li><li>Select the ellipsis (<strong>…</strong>) for this bookmark and choose <strong>Group</strong>.</li><li>Rename the group <strong>Hours Detail</strong>.</li><li>Collapse the <strong>Bookmarks</strong> pane.</li><li>Select the <strong>Reset</strong> button in the lower left of the dark gray rectangle.</li><li>In the <strong>Format button</strong> pane, toggle <strong>Action</strong> to <strong>On</strong>.</li><li>Expand the <strong>Action</strong> section and for <strong>Type</strong>, choose <strong>Bookmark</strong>.</li><li>For <strong>Bookmark</strong>, choose <strong>Reset Hours Detail</strong>.</li></ul><p>The <strong>Hours Detail</strong> page is now complete. Save your work before continuing.</p><h4>Creating the Employee Details Page</h4><p>In addition to the <strong>Hours Detail</strong> page, Pam wants another page focused on displaying detailed information for one or more employees.</p><blockquote>To create this page, do the following:</blockquote><ul><li>Right-click the <strong>Division Management</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename the <strong>Duplicate of Division Management</strong> page to <strong>Employee Details</strong>.</li></ul><p>Pam plans on this page being available for drill through. Therefore, click on a blank area of the canvas and then expand the <strong>Visualizations</strong> and <strong>Data</strong> panes.</p><p>Remove <strong>Division</strong> from the <strong>Drill through</strong> section and drag and drop the <strong>Name</strong> column from the <strong>People</strong> table into the <strong>Add drill-through fields here</strong> area.</p><ul><li>Select the <strong>Hours by Category</strong> visual.</li><li>In the <strong>Build visual</strong> sub-pane of the <strong>Visualizations</strong> pane in the <strong>Y-axis</strong> field well, right-click <strong>Sum of Hours</strong> and choose <strong>Show value as</strong> and then <strong>Percent of grand total</strong>.</li><li>Click on the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane and toggle <strong>Data labels</strong> to <strong>On</strong>.</li><li>Expand the <strong>Data labels</strong> section, expand the <strong>Value</strong> card, and change <strong>Color</strong> to <strong>#3C3C3B, Theme color 2</strong>.</li><li>On the <strong>General</strong> tab, expand the <strong>Title</strong> section and change <strong>Text</strong> to <strong>% Hours by Category</strong>.</li><li>Delete the <strong>% Utilization by Employee Type</strong> and <strong>% Utilization by Branch</strong> visualizations.</li><li>Click on a blank area of the canvas. Now, select the <strong>Date</strong> column from the <strong>Calendar</strong> table and then add the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table to this visual.</li><li>In the <strong>Columns</strong> field for this visual, right-click <strong>Date</strong> and change this from <strong>Date Hierarchy</strong> to <strong>Date</strong>.</li><li>Now, change this visual to a <strong>Line chart</strong>. Expand the visual horizontally and vertically to consume the entire bottom of the light-gray area of the report page.</li><li>On the <strong>General</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand the <strong>Effects</strong> section and toggle <strong>Background</strong> to <strong>Off</strong>.</li><li>Expand the <strong>Title</strong> section and change <strong>Text</strong> to <strong>% Utilization and Forecast</strong>.</li><li>In the <strong>Title</strong> section, change <strong>Text color</strong> to <strong>#3C3C3B, Theme color 2</strong>, <strong>Alignment</strong> to <strong>Center</strong>, and <strong>Font </strong>to <strong>Segoe UI (Bold)</strong> and <strong>24</strong>.</li><li>On the <strong>Visual</strong> tab, change the <strong>Color</strong> values for <strong>X axis</strong> and <strong>Y axis</strong> to <strong>#3C3C3B, Theme color 2 </strong>and toggle both axis <strong>Title</strong> settings to <strong>Off.</strong></li><li>Finally, switch to the <strong>Analytics</strong> sub-pane and toggle <strong>Forecast</strong> to <strong>On</strong>.</li></ul><p>Since this page also uses drill through, Pam wants to create a dynamic employee title measure.</p><blockquote>To create and use this measure, perform the following steps:</blockquote><ul><li>Right-click on the <strong>Calculations</strong> table in the <strong>Data</strong> pane and choose <strong>New measure</strong>.</li><li>Enter the following formula:</li></ul><pre>Employee Title =<br>  IF(<br>      HASONEVALUE(&#39;People&#39;[Name]),<br>      MAX(&#39;People&#39;[Name]),<br>     &quot;Multiple Employees&quot;<br> )</pre><ul><li>Select the card visual at the top left and replace the <strong>Fields</strong> property with <strong>Employee Title.</strong></li></ul><blockquote>The final report page should now look as follows:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*Ejl8RW1Z649kXe3CtS1Rzg.png" /></figure><p>Pam is satisfied with the <strong>Employee Details</strong> page.</p><blockquote>To finish this page, do the following:</blockquote><ul><li>In the <strong>Bookmarks</strong> pane, choose <strong>Add</strong> and rename this bookmark <strong>Reset Employee Details</strong>.</li><li>Select the ellipsis (<strong>…</strong>) for this bookmark and choose <strong>Group</strong>.</li><li>Rename the group <strong>Employee Details</strong>.</li><li>Collapse the <strong>Bookmarks</strong> pane.</li><li>Select the <strong>Reset</strong> button in the lower left of the dark gray rectangle.</li><li>In the <strong>Format button</strong> pane, expand the <strong>Action</strong> section and, for <strong>Bookmark</strong>, choose <strong>Reset Employee Details</strong>.</li></ul><h4>Creating the Introduction Page</h4><p>Pam knows that a good report includes an introduction on how to use it. To create an <strong>Introduction </strong>page.</p><ul><li>Right-click the <strong>Template</strong> page and choose <strong>Duplicate Page</strong>.</li><li>Rename the <strong>Duplicate of Template</strong> page to <strong>Introduction</strong>.</li><li>Click on the <strong>Introduction</strong> page’s tab and drag this page between the <strong>Template</strong> page and the <strong>Executive Summary</strong> page.</li><li>Click on the <strong>Insert</strong> tab of the ribbon and choose <strong>Text box</strong> from the <strong>Elements</strong> section.</li><li>On the <strong>General</strong> tab of the <strong>Format text box</strong> pane, expand the <strong>Effects</strong> section and toggle <strong>Background</strong> to <strong>Off</strong>.</li><li>Resize this text box so that it’s the full size of the light gray area.</li><li>Enter text into the text box explaining the report, such as what is displayed in <em>Figure</em>.</li></ul><blockquote>The <strong>Introduction</strong> page should look similar to the following:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*SbD-MGnruzJUvNZHWEUAYQ.png" /></figure><blockquote>A good introduction page includes some or all of the following information:</blockquote><ul><li>Contact information</li><li>Data sources</li><li>Pages included</li><li>Explanation of special features such as slicers, buttons, drill through, dynamic titles, etc.</li></ul><p>We are now done creating the pages of our report. Now, it is time to perform some finishing touches.</p><h3>Finishing Up</h3><p>Even though Pam has finished building her report, she still needs to test the report and clean up some loose ends.</p><p>Now, we will perform some final testing and cleanup on the report to ensure that everything works correctly and that the report is ready for business users to consume.</p><p>However, prior to that, Pam wishes to create some mobile views for the report.</p><h4>Creating Mobile Views</h4><p>The Power BI ecosystem includes mobile apps that allow users to access reports from their phone or tablet.</p><p>Pam knows that executives and managers will sometimes want to access the report from their phones while they are traveling.</p><blockquote>To create mobile views, follow these steps:</blockquote><ul><li>Click on the <strong>Executive Summary</strong> page.</li><li>Select the <strong>View</strong> tab in the ribbon and then click <strong>Mobile layout</strong> in the <strong>Mobile</strong> section of the ribbon.</li><li>Drag and drop the KPI visual from the <strong>Page visuals</strong> area onto the mobile layout.</li><li>On the <strong>General</strong> tab in the <strong>Visualizations</strong> pane, expand the <strong>Title</strong> section and change the <strong>Title </strong>font size to <strong>12</strong>. A <strong>Mobile-only changes</strong> dialog is displayed.</li><li>Continue adding visuals and modifying settings until you achieve an acceptable mobile view.</li></ul><p>Note that the mobile view is scrollable, so you can continue to add visuals infinitely.</p><ul><li>Repeat this process for the <strong>Division Management</strong> and <strong>Branch Management</strong> pages.</li></ul><h4>Testing</h4><p>Pam decides to work through an example scenario to see how the report performs.</p><blockquote>To perform this test, do the following:</blockquote><ul><li>Start on the <strong>Executive Summary</strong> page. Here, we can see that the overall utilization is good and above our goal. All of the branches are above our target utilization. However, one division, in particular, is noticeably below the average. This is the <strong>3001 Management</strong> division. Let’s investigate this division further to see what is driving down utilization.</li><li>In the <strong>% Utilization by Division</strong> visual, right-click on the <strong>3001 Management</strong> bar and choose <strong>Drill through</strong> and then <strong>Division Management</strong>. Checking the green dynamic title text, we can see that it correctly states <strong>3001 Management</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*w0E0XVf_ALAWLm_ipl0A_w.png" /></figure><ul><li>We can see that our utilization for salaried employees is quite low and that utilization is particularly suffering in Nashville.</li><li>To investigate this further, right-click on the <strong>Nashville</strong> column in the <strong>% Utilization by Branch </strong>visual and choose <strong>Drill through</strong> and then <strong>Hours Detail</strong>. When checking our green dynamic title text, we are looking at resources for only <strong>3001 Management</strong> and <strong>Nashville</strong>.</li><li>Click on the <strong>%</strong> column header to sort by ascending order.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*a0erjRxx3UN3BlPtXHmjIQ.png" /></figure><ul><li>It looks like the least utilized person, <strong>Irwin, Rachelle</strong>, was just recently hired. Her utilization is low, but so are her total hours.</li><li>On the next line down, however, is <strong>Schaefer, Gustavo</strong>. This individual only has <strong>3%</strong> utilization but has logged almost <strong>500</strong> hours.</li><li>We want to check out how <strong>Schaefer, Gustavo</strong> is spending his time. Right-click on the row containing <strong>Schaefer, Gustavo</strong> and choose <strong>Drill through</strong> and then <strong>Employee Details</strong>.</li><li>In the <strong>% Hours by Category</strong> visual, we can see that this individual is mostly spending their time doing sales support.</li><li>We want to check out the next person on the list. Click the <strong>Back</strong> button (hold down the <em>Ctrl </em>key while clicking).</li><li>Our <strong>Hours Detail</strong> page is just like how we left it.</li><li>Right-click the row containing <strong>Beltran, Elvira</strong> and choose <strong>Drill through</strong> and then <strong>Employee Details</strong>.</li><li>We can quickly see that this person has been taking a lot of PTO! Clicking on the first <strong>JobID </strong>code, we can see that over <strong>72%</strong> of the <strong>320</strong> hours that were logged to this code are for <strong>PTO</strong>. This individual is already on the unlimited PTO plan.</li><li>Finally, Pam tests the <strong>Reset</strong> button. On the <strong>Employee Details</strong> page, hold down the <em>Ctrl</em> key and then press the <strong>Reset</strong> button.</li><li>Also reset the <strong>Hours Detail</strong> and <strong>Division Management</strong> pages.</li></ul><p>Pam is satisfied that there is an intuitive flow to the report and that the report is in working order.</p><h4>Cleaning Up</h4><p>Pam needs to do a little cleanup on the report before she can publish and share her hard work.</p><ul><li>Hide the <strong>Template</strong> page by right-clicking the page tab and choosing <strong>Hide</strong>. An eyeball icon with a slash through it appears next to the page’s name. As the report author, you can see this page, but the viewers of the report will not.</li><li>Pam can also hide unused tables within the report. Click on the <strong>Table </strong>view.</li><li>Right-click the <strong>Budgets and Forecasts</strong> table and choose <strong>Hide in report view</strong>.</li><li>Hide the <strong>Target Utilization</strong> table as well.</li><li>Pam can also hide columns and measures. For example, the <strong>% Target Utilization</strong> measure in the <strong>Calculations</strong> table is no longer used.</li><li>Expand the <strong>Calculations</strong> table, right-click <strong>% Target Utilization</strong>, and choose <strong>Hide in report view</strong>.</li><li>Finally, Pam clicks back to the <strong>Report</strong> view. On the <strong>View</strong> tab of the ribbon, she unchecks <strong>Gridlines</strong> and <strong>Snap to grid</strong>, and then checks <strong>Lock objects</strong>.</li></ul><p>Now that Pam is done authoring the report, the positioning aids are no longer required, and locking the positions of the objects on the pages prevents visuals from accidentally being moved or resized.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/learn-advanced-analysis-techniques-using-microsoft-power-bi-8c314bb67a2f">Learn Advanced Analysis Techniques using Microsoft Power BI</a></li><li><a href="https://medium.com/@info.codetitan/learn-ai-assisted-analysis-in-tableau-015a4a58779b">Learn AI-Assisted Analysis in Tableau</a></li><li><a href="https://medium.com/@info.codetitan/measures-of-association-and-shape-in-statistics-732fda42b492">Measures of Association and Shape in Statistics</a></li><li><a href="https://medium.com/@info.codetitan/ad-format-in-email-marketing-4509dada140d">Ad Format in Email Marketing</a></li><li><a href="https://pub.aimind.so/how-to-build-custom-add-ins-with-vba-ce0fd0c909c2">How to Build Custom Add-ins with VBA</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0981a0b91c7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Advanced Analysis Techniques using Microsoft Power BI]]></title>
            <link>https://medium.com/@info.codetitan/learn-advanced-analysis-techniques-using-microsoft-power-bi-8c314bb67a2f?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c314bb67a2f</guid>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[advanced-analytics]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Fri, 05 Dec 2025 07:55:55 GMT</pubDate>
            <atom:updated>2025-12-05T07:55:55.325Z</atom:updated>
            <content:encoded><![CDATA[<h4>Uncover deeper insights, predictive patterns, and business foresight with these expert techniques in Microsoft Power BI</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XpFuHLXqLomeBuwKA-4Pqg.jpeg" /><figcaption>Image by Author</figcaption></figure><p>So far, we have seen how we can segment our data using groups and hierarchies, as well as how to use navigational features such as drill through, buttons, bookmarks, and Q&amp;A to uncover and highlight insights into our data. In this article, we will learn and understand the deep concept of advanced data analysis because data is the gold for businesses today, and if we use expert-oriented techniques while analyzing the data, then your business will boom.</p><h3>Table of Contents</h3><ol><li>Analyze and summarize features</li><li>Top-N filtering</li><li>Gauges and KPIs</li><li>What-if parameter</li><li>Conditional formatting</li><li>Quick measures</li><li>Report tooltip pages</li><li>Key influencers</li></ol><h3>Analyze and Summarize Features</h3><p>Power BI provides powerful machine learning and artificial intelligence features that can aid in exploring and analyzing data within a semantic model. Two of these features are called <strong>Analyze</strong> and <strong>Summarize</strong>.</p><blockquote>To see how these features operate, do the following:</blockquote><ul><li>Create a new page, <strong>Page 3</strong>, and rename it Analysis.</li><li>Copy the <strong>Sum of Hours by Location</strong> visual from the <strong>Details</strong> page to the <strong>Analysis</strong> page. Alternatively, recreate the visual on the <strong>Analysis</strong> page using a <strong>Clustered column chart</strong> with the <strong>Location </strong>column from the <strong>People</strong> table as <strong>X-axis</strong> and the <strong>Hours</strong> column from the <strong>Hours</strong> table as <strong>Y-axis</strong>.</li><li>Right-click anywhere in the visual, choose <strong>Analyze</strong>, and then click <strong>Find where this distribution is different</strong>.</li><li>A dialog is displayed titled <strong>Here are the filters that cause the distribution of Sum of Hours by Location to change the most.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*ColWM0K621ZDX0M0gO5nYg.png" /></figure><p>The <strong>Analyze</strong> feature analyzes the semantic model using automated machine learning algorithms to determine the factors that impact the distribution of data in the visual the most.</p><p>In the preceding screenshot, we can see that the <strong>Nashville</strong> location has a high proportion of employees with a pay type of <strong>HOURLY</strong> compared to <strong>Cleveland</strong> and <strong>Charlotte</strong>.</p><p>Keep in mind the gray, dotted outline of the original <strong>Sum of Hours by Location </strong>visual is included in this new visual.</p><ul><li>Use the <strong>+</strong> icon at the top right of the insight card to add the visual to the current page.</li><li>In the <strong>Analyze results</strong> window, scroll down until you find the <strong>DIVISION (GROUPS)</strong> insight card. Initially, <strong>Management</strong> is chosen and shows <strong>Nashville</strong> with a high proportion of <strong>Hours for Management</strong>.</li><li>Click the <strong>Accounting</strong> button to show that Cleveland has a high proportion of <strong>Hours for Accounting</strong>.</li><li>Click the <strong>+</strong> icon to add this insight card as a visualization on the current page.</li><li>Click anywhere not inside the dialog to close the dialog.</li></ul><p>In <strong>Sum of Hours for HOURLY</strong> and<strong> Sum of Hours by Location</strong>, you can hover over the gray, dotted line to view the sum of hours by location.</p><p>The vertical-colored bars include just the hours for a pay type of <strong>HOURLY</strong>.</p><p>The y axis on the left represents the hours for the colored bars, while the y axis on the right is for the gray, dotted line.</p><p>We can easily see from this visualization that while <strong>Cleveland</strong> has the most hours reported in total, the <strong>Nashville</strong> location has many more hours submitted by <strong>HOURLY</strong> employees.</p><p>By expanding the <strong>Visualizations</strong> pane and selecting the visual, note that the visual is a standard <strong>Line and clustered column chart</strong> with the <strong>Location</strong> column from the <strong>People</strong> table as the <strong>X-axis</strong>, <strong>Sum of Hours for HOURLY</strong> as <strong>Column y-axis</strong>, and the <strong>Sum of Hours</strong> column from the <strong>Hours</strong> table as <strong>Line y-axis</strong>.</p><p>While not added to the semantic model as a measure, <strong>Sum of Hours for HOURLY</strong> is an implicit DAX calculation equivalent to this formula.</p><pre>Sum of Hours for HOURLY = CALCULATE(<br>    SUM( &#39;Hours&#39;[Hours] ),<br>    &#39;Hours&#39;[PayType] = &quot;HOURLY&quot;<br>)</pre><p>The <strong>Analyze</strong> feature can be a powerful tool for quickly finding insights about what factors have a big impact on a visualization.</p><p>Another power tool is the <strong>Summarize</strong> or <strong>Smart narrative</strong> feature.</p><blockquote>To see how this feature operates, perform the following steps:</blockquote><ul><li>On the <strong>Analysis</strong> page, right-click the <strong>Sum of Hours by Location</strong> visualization and choose <strong>Summarize</strong>.</li><li>When prompted, choose the <strong>Custom</strong> button.</li><li>A text box appears with a narrative describing the information in natural language. This includes insights around the total number of hours for each location, as well as percentages, such as <strong>Cleveland accounted for 54.34% of Hours</strong>.</li></ul><p>Keep in mind that the <strong>Summarize</strong> functionality makes use of the <strong>Narrative</strong> visual.</p><p>As you can see, the <strong>Analyze</strong> and <strong>Summarize</strong> features can help you unlock insights about your data, as well as aid in report authoring.</p><h3>Top-N Filtering</h3><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, Pam is learning a lot about how to segment her data and use navigational features to highlight insights.</p><p>However, Pam wants to do more to visually show important information, such as the most utilized or least utilized employees.</p><blockquote>To this end, perform the following steps:</blockquote><ul><li>Create a new page called Page 3.</li><li>Create a table visualization along the right-hand side of the page using the <strong>Name</strong> column from the <strong>People</strong> table and the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table (not the <strong>% Utilization</strong> column from the <strong>Hours</strong> table). This list is very long, and Pam knows that managers are most likely only interested in the top and bottom performers. While the list can be sorted by clicking on the <strong>% Utilization</strong> column in the table, Pam wants to make it easier for managers to focus on the most important information.</li><li>Expand the <strong>Filters</strong> pane and then expand the <strong>Name</strong> filter by using the small down arrow icon in the header of the filter. <strong>Filter type</strong> is currently set to <strong>Basic filtering</strong>.</li><li>Expand the <strong>Filters</strong> pane and then expand the <strong>Name</strong> filter by using the small down arrow icon in the header of the filter. <strong>Filter type</strong> is currently set to <strong>Basic filtering</strong>.</li><li>Use the drop-down menu to change <strong>Filter type</strong> to <strong>Top N</strong>.</li><li>The <strong>Show items</strong> field appears and is set to <strong>Top</strong>. In the box next to this, type 10.</li><li>Next, drag and drop the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table in the <strong>Data</strong> pane into the <strong>Add data fields here</strong> area underneath the <strong>By value</strong> label.</li><li>Now, click <strong>Apply filter</strong>. The visual only displays the top 10 employees based on their <strong>% Utilization</strong>.</li><li>In the <strong>Visualizations</strong> pane, click on the <strong>Format</strong> sub-pane (middle icon).</li><li>Expand the <strong>Totals</strong> format card and toggle <strong>Values</strong> to <strong>Off</strong>.</li><li>In the <strong>Format visual</strong> pane on the <strong>General</strong> tab, toggle <strong>Title</strong> to <strong>On</strong>.</li><li>Expand the <strong>Title</strong> section and, in the <strong>Text</strong> field, type <strong>Top Performers</strong>.</li><li>With the visualization selected, press <em>Ctrl</em> + <em>C</em> to copy the visualization.</li><li>Press <em>Ctrl</em> + <em>V</em> to paste the visualization and drag this new visualization underneath the first visualization.</li><li>Select this new visualization and, in the <strong>Filters</strong> pane, expand the <strong>Name</strong> filter and change <strong>Show items</strong> to <strong>Bottom</strong>.</li><li>Click <strong>Apply filter</strong>. Keep in mind that more than 10 names are displayed. This is because the bottom performers are all tied at 0%.</li><li>Use the <strong>Format</strong> pane to edit <strong>Title text</strong> to <strong>Worst Performers</strong>.</li></ul><p>Proper use of Top-N filtering allows report viewers to quickly focus on the most important information within visualizations.</p><h3>Gauges and KPIs</h3><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How</em> <em>to</em> <em>Plan Projects with Power BI</em></strong></a>, Pam also knows that the overall utilization compared to a target percentage of 80% is important.</p><p>A good way to display a metric concerning a goal is to use a <strong>gauge</strong> visualization.</p><blockquote>To add a gauge visualization to the page, do the following:</blockquote><ul><li>Click on a blank area of the canvas and add a <strong>Gauge</strong> visualization to the page.</li><li>Add the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table in the <strong>Value</strong> field well.</li><li>The gauge visualization displays <strong>84.79%</strong> on a gauge, ranging from <strong>0.00%</strong> to <strong>100.00%.</strong></li><li>Pam does not feel that the decimals are important, so selects <strong>% Utilization</strong> from the <strong>Data</strong> pane. Then, on the <strong>Measure Tools</strong> tab of the ribbon, in the <strong>Formatting</strong> section, reduce the decimals that are displayed from <strong>2</strong> to <strong>0</strong>. Now, the gauge visual displays <strong>85%</strong> on a gauge ranging from <strong>0%</strong> to <strong>100%</strong>.</li><li>Right-click the <strong>Calculations</strong> table and choose <strong>New measure</strong>.</li><li>Create a measure with the % Target Utilization = 0.8 formula.</li><li>Select the <strong>% Target Utilization</strong> measure. Then, in the <strong>Measure tools</strong> tab of the ribbon, click the <strong>%</strong> icon in the <strong>Formatting</strong> section and set the number of decimal places to <strong>0</strong>.</li><li>Select the gauge visual and add the <strong>% Target Utilization</strong> measure to the <strong>Target value</strong> field well. A line representing the target value is added to the gauge visualization, providing a convenient visual cue regarding whether the utilization is above or below the target.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*909lOlzasRyNr9QTXmKdsQ.png" /></figure><p>Pam likes this new visual but also wants to investigate the <strong>Key Performance Indicator</strong> (<strong>KPI</strong>) visual.</p><blockquote>To experiment with the KPI visual, do the following:</blockquote><ul><li>Click on a blank area of the canvas and add a <strong>KPI</strong> visual to the page.</li><li>Drag and drop the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table into the <strong>Value</strong> field well.</li><li>Drag and drop the <strong>% Target Utilization</strong> measure into the <strong>Target </strong>field well.</li><li>Finally, drag and drop <strong>Year</strong> from the <strong>Calendar</strong> table into the <strong>Trend axis</strong> field well.</li></ul><p>The KPI visual turns green and reports that the displayed <strong>% Utilization</strong> is <strong>+5.99%</strong> above the goal of <strong>80%</strong>.</p><h3>What-if Parameters</h3><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, Pam is pleased with her new visuals but is concerned that the <strong>% Target Utilization</strong> measure is a static number.</p><p>Managers may wish to increase or decrease their target utilization in the future.</p><p>Pam wants to provide a way for managers to easily adjust their target utilization goals.</p><blockquote>To this end, we can create a <strong>What-if parameter:</strong></blockquote><ul><li>Click on the <strong>Modeling</strong> tab of the ribbon and, in the <strong>What if</strong> section, choose <strong>New Parameter</strong>. The <strong>What-if parameter</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*oTmU6BCp_PLRz22_P5cgHg.png" /></figure><ul><li>Set <strong>Name</strong> to Target Utilization, <strong>Data type</strong> to <strong>Whole number</strong>, <strong>Minimum</strong> to 50, <strong>Maximum</strong> to 100, <strong>Increment</strong> to 5, and <strong>Default</strong> to 80.</li><li>Leave <strong>Add slicer to this page</strong> checked and then click the <strong>OK</strong> button. A single-value slicer is added to the page. This slicer includes a slider to adjust the value of the slicer.</li><li>Adjust the slider so that it reads <strong>80</strong>. Note that, in the <strong>Data</strong> pane, a new table was added called <strong>Target Utilization</strong>.</li><li>Expanding this table shows that two entities are listed: a column called <strong>Target Utilization</strong> and a measure called <strong>Target Utilization Value</strong>.</li><li>Click on the <strong>Data</strong> view and then select the <strong>Target Utilization</strong> table in the <strong>Fields</strong> pane. Row values exist for <strong>50</strong> through <strong>100</strong> in increments of <strong>5</strong>.</li><li>Observe that this table is defined by the following DAX formula.</li></ul><pre>Target Utilization = GENERATESERIES(50, 100, 5)</pre><p>GENERATESERIES is a DAX function that takes three parameters: a minimum value, a maximum value, and an increment.</p><p>GENERATESERIES returns a table of all of the values between the minimum and the maximum in the specified increment.</p><ul><li>While in the <strong>Data</strong> view, expand the <strong>Target Utilization</strong> table and select the <strong>Target Utilization Value</strong> measure.</li></ul><pre>Target Utilization Value = SELECTEDVALUE(<br> &#39;Target Utilization&#39;[Target Utilization], 80<br>)</pre><p>SELECTEDVALUE is a special DAX function that returns the currently selected value in a column specified as the first parameter.</p><p>The second parameter specifies the value to return if no value is selected or if a single selection cannot be determined.</p><ul><li>Since our utilization is expressed as a decimal, modify this formula in the formula bar to read as follows.</li></ul><pre>Target Utilization Value =DIVIDE(SELECTEDVALUE(<br> &#39;Target Utilization&#39;[Target Utilization], 80),<br> 100,<br> 0.8<br>)</pre><ul><li>While the <strong>Target Utilization Value</strong> measure is selected, select the <strong>Measure tools</strong> tab of the ribbon, and click the <strong>%</strong> icon in the <strong>Formatting</strong> section. Also, set the number of decimal places to <strong>0</strong> if necessary.</li><li>Switch back to the <strong>Report</strong> view and, on <strong>Page 3</strong>, replace <strong>Target value</strong> for the gauge with the <strong>Target Utilization Value</strong> measure. Similarly, on the KPI visual, replace the <strong>% Target Utilization </strong>measure in the <strong>Target</strong> field well with the new <strong>Target Utilization Value</strong> measure.</li><li>Now, slide the <strong>Target Utilization</strong> slider to <strong>90</strong>. Note that we are now short of our goal on our gauge visualization and that our KPI visualization has turned red.</li></ul><p>What-if parameters provide an easy and convenient mechanism for report viewers to interact with reports to set goals, control DAX calculations, and filter information on report pages.</p><h3>Conditional Formatting</h3><p>In addition to the visual cues provided by the gauge and KPI visualizations, Power BI also supports visual cues in the form of <strong>conditional formatting</strong>.</p><p>Conditional formatting can be used with tables and matrices to provide background colors, font colors, data bars, and icons for cells within the visualization.</p><blockquote>To see how this works, do the following:</blockquote><ul><li>Select the <strong>Top Performers</strong> visualization.</li><li>In the <strong>Columns</strong> field well, in the <strong>Build visuals</strong> tab of the <strong>Visualizations</strong> pane, right-click <strong>% Utilization</strong>, choose <strong>Conditional formatting</strong>, and then <strong>Background color</strong>. The conditional formatting dialog will be displayed.</li><li>Check the box for <strong>Add a middle color</strong> and then click the <strong>OK</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*sMZ5wWqnGqmEt_CHweRmMA.png" /></figure><ul><li>The <strong>Top Performers</strong> visualization’s <strong>% Utilization</strong> column is now color-coded based on the highest and lowest values that appear in the column.</li></ul><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, Pam can see how conditional formatting can be useful to create heat maps or otherwise highlight important information, but what she wants is for the <strong>% Utilization</strong> column to be green if the value is greater than or equal to the <strong>Target Utilization Value</strong> measure and red if the value is less than the <strong>Target Utilization Value</strong> measure.</p><ul><li>1. Create a new measure in the <strong>Calculations</strong> table with the following formula.</li></ul><pre>Goal Status Color = IF(<br> [% Utilization] &gt;= [Target Utilization Value],<br> &quot;#00FF00&quot;, &quot;#FF0000&quot;<br>)</pre><ul><li>Click back on the <strong>Top Performers</strong> visual and right-click <strong>% Utilization</strong> in the <strong>Visualizations </strong>pane. Then, choose <strong>Conditional formatting</strong> and then <strong>Background color</strong>.</li><li>In <strong>Format style</strong>, choose <strong>Field value</strong> from the drop-down menu instead of <strong>Gradient</strong>.</li><li>In the <strong>What field should we base this on?</strong> dropdown, choose the new <strong>Goal Status Color </strong>measure in the <strong>Calculations</strong> table.</li><li>Now, click the <strong>OK</strong> button. All of the cells for <strong>% Utilization</strong> in the <strong>Top Performers</strong> visual are now green.</li><li>Repeat this same conditional formatting for the <strong>Worst Performers</strong> visualization. All of these cells are now red.</li></ul><p>Keep in mind that the #00FF00 and #FF0000 used in the Goal Status Color measure are hexadecimal color codes.</p><p>The first two characters after the hash tag represent the amount of red, the next two green, and the latter two blue.</p><p>Each character can be a number or text ranging from 0–9, as well as A-F. A is essentially 10 decimal and F represents 16 decimal.</p><p>Thus, a value of 00 represents none of the specified color, while a value of FF represents all of the specified color.</p><p>Conditional formatting has many uses when it comes to highlighting information in information-dense visualizations, such as tables and matrices, and can aid report reviewers in visually identifying important information.</p><h3>Report Tooltip Pages</h3><p>Continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, Pam has heard about another advanced visualization technique that she wants to try to make it easy for managers to gain insight into their utilization numbers. This feature is called <strong>report tooltip pages</strong>.</p><h4>Creating a Report Tooltip Page</h4><p>To create a report tooltip page, follow these steps:</p><ul><li>Start by creating a new page and renaming this page <strong>Tooltip1</strong>.</li><li>While on this page, click the <strong>Format</strong> sub-pane within the <strong>Visualizations</strong> pane.</li><li>Expand <strong>Page information</strong> and toggle <strong>Allow use as tooltip</strong> from <strong>Off</strong> to <strong>On</strong>. Note that the canvas size changes automatically.</li><li>Click on <strong>Page 3</strong> and copy and paste the gauge visualization onto the <strong>Tooltip1</strong> page.</li><li>Adjust the size and position so that the gauge visualization takes up the top right quadrant of the page. Use the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane to toggle <strong>Title</strong> to <strong>Off</strong>. This is under the <strong>General</strong> sub-tab.</li><li>Copy and paste the <strong>Top Performers</strong> visualization from <strong>Page 3</strong> onto the <strong>Tooltip1</strong> page and adjust the size and position so that it takes up the left-hand side of the page.</li><li>For the <strong>Top Performers</strong> visualization, on the <strong>Visual</strong> tab of the <strong>Format visual</strong> sub-pane of the <strong>Visualizations</strong> pane, expand <strong>Style presets</strong> and set <strong>Style</strong> to <strong>Condensed</strong>. In addition, expand the <strong>Column headers</strong> and <strong>Values</strong> sections and set <strong>Text size</strong> to <strong>8 pt</strong>.</li><li>Create a new visualization positioned underneath the gauge visualization. Make this a <strong>Table </strong>visualization consisting of the <strong>Weekday</strong> column from the <strong>Calendar</strong> table and the <strong>% Utilization </strong>measure from the <strong>Calculations</strong> table.</li><li>Use the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane to modify this table visualization. Expand the <strong>Style presets</strong> section and set the section to <strong>Condensed</strong>. Also, expand the <strong>Totals</strong> section and toggle <strong>Values</strong> to <strong>Off</strong>. Finally, expand the <strong>Column headers</strong> and <strong>Values</strong> sections and set <strong>Text size</strong> to <strong>8 pt</strong>.</li><li>Make size adjustments to visuals as necessary.</li></ul><h4>When finished, your <strong>Tooltip1</strong> page should look similar to the following:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*BUq5OSKoNU-RGKY7eIZy4g.png" /></figure><h4>Using a Report Tooltip Page</h4><p>To use our new report tooltip page, follow these steps:</p><ul><li>Click back onto the <strong>Page 3</strong> page.</li><li>Create a new <strong>Table</strong> visualization using the <strong>Division</strong> column from the <strong>Hours</strong> table and the <strong>% Utilization</strong> measure from the <strong>Calculations</strong> table.</li><li>Select this new table visualization. Then, on the <strong>General</strong> tab of the <strong>Format visuals</strong> sub-pane of the <strong>Visualizations</strong> pane, scroll down and toggle <strong>Tooltips</strong> to <strong>On</strong>.</li><li>Expand the <strong>Tooltips</strong> format card and ensure that, on the <strong>Options</strong> sub-card, the <strong>Type</strong> is set to <strong>Report page</strong>. Also, change the <strong>Page</strong> setting from <strong>Auto</strong> to <strong>Tooltip1</strong>.</li><li>Now, use your mouse cursor to mouse over the divisions listed in the <strong>Division</strong> column of the table visualization.</li></ul><p>Keep in mind that the <strong>Tooltip1</strong> page is displayed as a popup and filters the information for that particular division.</p><h4>Key Influencers</h4><p>Pam has heard about one last advanced visualization feature of Power BI that she would like to try.</p><p>This feature adds machine learning functionality to Power BI and is called the <strong>key influencers</strong> visual.</p><blockquote>To see this new visual in action, follow these steps:</blockquote><ul><li>Create a new page called Page 4.</li><li>Find the <strong>Key influencers</strong> visual in the <strong>Visualizations</strong> pane and add this visual to the page. You can also find the <strong>Key influencers</strong> visual by using the <strong>Insert</strong> tab of the ribbon.</li><li>Resize this visual so that it takes up the entire page.</li><li>Drag the <strong>Hours</strong> column from the <strong>Hours</strong> table into the <strong>Analyze</strong> field for this visual.</li><li>Add the following fields to the <strong>Explain by</strong> field.</li></ul><ol><li><strong>Hours</strong> &gt; <strong>Division (groups).</strong></li><li><strong>Hours</strong> &gt; <strong>PayType.</strong></li><li><strong>People</strong> &gt; <strong>EmployeeType.</strong></li><li><strong>People</strong> &gt; <strong>Location.</strong></li></ol><blockquote>The <strong>Key influencers</strong> visual should now look similar to the following:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*3QVQJkOc8uCeL5IN8OYwGw.png" /></figure><p>The <strong>Key influencers</strong> visual packs a tremendous amount of analysis and insight into a small package.</p><p>On the <strong>Key influencers</strong> tab, you can see the factors that are most likely to increase or decrease the chosen metric, which in this case is <strong>Hours</strong>.</p><p>Clicking on the bubbles in the left-hand pane displays the associated visuals in the right-hand pane.</p><p>The <strong>Top segments</strong> tab identifies clusters of values for when the chosen metric is more likely to be <strong>High</strong> or <strong>Low</strong>.</p><p>The user can click on these bubbles to gain additional insights into these segments.</p><h3>Explore More:</h3><ul><li><a href="https://medium.datadriveninvestor.com/tutorial-a5071c1e55db">Tutorial</a></li><li><a href="https://medium.com/@info.codetitan/how-to-tame-data-with-tableau-prep-builder-fc0131ae8625">How to Tame Data with Tableau Prep Builder</a></li><li><a href="https://medium.com/@info.codetitan/list/statistics-with-python-f5990a199add">List: Statistics with Python | Curated by Code Titan | Medium</a></li><li><a href="https://blog.venturemagazine.net/how-to-force-visitors-to-make-a-decision-2f000a476625">How to Force Visitors to Make a Decision</a></li><li><a href="https://pub.aimind.so/how-to-use-conditional-formatting-in-excel-3d5bef427e12">How to Use Conditional Formatting in Excel</a></li><li><a href="https://medium.com/@info.codetitan/what-is-dynamic-programming-8b7dce2ccef8">What is Dynamic Programming ?</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c314bb67a2f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn Data Segmentation using Power BI]]></title>
            <link>https://medium.com/@info.codetitan/learn-data-segmentation-using-power-bi-daf3367db23d?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/daf3367db23d</guid>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-segmentation]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 10:13:47 GMT</pubDate>
            <atom:updated>2025-12-04T10:13:47.802Z</atom:updated>
            <content:encoded><![CDATA[<h4>A practical approach to smarter decisions and deeper insights</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*EZi1_8f_ORq9VP4xKcegvg.jpeg" /><figcaption>Image by Author</figcaption></figure><p>We have built and verified our semantic model, and we can explore the many powerful features within Power BI that allow us to break down, analyze, and unlock insights about our data. These features allow the report author to create compelling stories about the data within the semantic model, guiding report viewers to the most important insights and information. In this article, we will unlock the insights from our data and try to provide value to the business in today’s modern and challenging marketplace.</p><h3>Table of Contents</h3><ol><li>Segmenting data</li><li>Creating Hierarchies</li><li>Understanding row-level security</li></ol><h3>Segmenting Data</h3><p>Power BI provides several mechanisms for <strong>segmenting data</strong>. These include the ability to use <strong>groups</strong>, <strong>hierarchies</strong>, and <strong>Row-Level Security</strong> (<strong>RLS</strong>).</p><p>Segmenting data allows you to partition or group individual rows of data into logical units that make sense to an organization.</p><p>This helps ensure that business rules are enforced or that metrics are presented in a more easily digestible format for business users, rather than looking at individual rows of data.</p><p>Now, we will learn how to create groups that provide business-relevant data segmentation, as well as logical hierarchies that classify information based on business structures.</p><p>Finally, we will explore how to automatically filter data so that only the data that’s relevant to the viewer is displayed.</p><h4>Creating Groups</h4><p>The easiest way to see grouping in Power BI is to use visualizations to summarize data.</p><blockquote>We can do this by following these steps:</blockquote><ul><li>If you are continuing from the last <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong>article</strong></a>, continue using the same Power BI Desktop file.</li><li>Create a new page in Power BI Desktop on the <strong>Report</strong> view.</li><li>While on this page, expand the <strong>Calendar</strong> table in the <strong>Data</strong> pane and select the checkbox for the <strong>Month</strong> column to create a <strong>Table</strong> visualization.</li><li>Next, add the <strong>Hours</strong> column from the <strong>Hours</strong> table to this visualization.</li><li>Now, change the visual from a <strong>Table</strong> visual to a <strong>Clustered Column Chart</strong> visual using the <strong>Visualizations</strong> pane.</li></ul><p>After following these steps, we should have an ad hoc grouping of the hours based on the month in which those hours were reported.</p><p>However, there is another way to use groups within Power BI.</p><p>Instead of using ad hoc grouping, we can define groupings of information as part of the semantic model itself and then use those defined groups within visualizations.</p><h4>Refer to the following steps to see how this is done:</h4><ul><li>Expand the <strong>People</strong> table in the <strong>Data</strong> pane. Right-click the <strong>EmployeeType</strong> column and choose <strong>New group</strong>. The <strong>Groups</strong> dialog opens. Here, we can define names for our groups, as well as defining the groups themselves. Leave the name of the group as <strong>EmployeeType (groups)</strong>.</li><li>In the <strong>Ungrouped values</strong> area, select <strong>HOURLY</strong>, <strong>SALARY</strong>, and <strong>SUB- CONTRACTOR,</strong> by clicking on <strong>HOURLY</strong> and then holding down the <em>Ctrl</em> key while clicking on <strong>SALARY</strong> and <strong>SUB-CONTRACTOR</strong>. Now, click the <strong>Group</strong> button. A new group is created in the <strong>Groups and members </strong>section. Rename this group <strong>Billable</strong> by double-clicking the heading <strong>HOURLY &amp; SALARY &amp; SUB-CONTRACTOR</strong>.</li><li>Check the <strong>Include Other group</strong> checkbox and then click the <strong>OK</strong> button.</li></ul><blockquote>The <strong>Groups</strong> dialog is shown in the following screenshot:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*5gKrbFQ9m4Gfz6cfwZixtw.png" /></figure><p>Keep in mind that, within the <strong>People</strong> table, an entry called <strong>EmployeeType (groups)</strong> appears underneath our <strong>EmployeeType</strong> column.</p><p>This entry’s icon is of a square segmented into four quadrants.</p><p>We can use this new collection of groups in visuals by removing the <strong>EmployeeType</strong> filter from all the pages.</p><ul><li>Expand the <strong>Filters</strong> pane, find the <strong>EmployeeType</strong> filter under <strong>Filters on all pages</strong>, hover over this filter with the mouse, and click the small <strong>x</strong> to remove the filter.</li><li>Now, click on a blank area of the canvas and click on the checkbox next to <strong>EmployeeType (groups)</strong>. A <strong>Table</strong> visualization is created that contains two rows: <strong>Billable</strong> and <strong>Other</strong>. Add the <strong>Hours</strong> column from the <strong>Hours</strong> table to this visualization.</li></ul><p>Defining groups within the semantic model is a convenient way to save time by creating reusable groupings of information that can be used within multiple visualizations.</p><h4>Creating Hierarchies</h4><p><strong>Hierarchies</strong> are a powerful feature of Power BI that allow data to be summarized, but also allow report viewers to drill down into the data to obtain additional details.</p><p>Similar to groups, we can create ad hoc hierarchies, as well as defining hierarchies within our semantic model.</p><p>The easiest way to see an ad hoc hierarchy is to use a <strong>Matrix</strong> visualization.</p><ul><li>Click on a blank area of the canvas and click the checkbox next to the <strong>Location</strong> column in the <strong>People</strong> table.</li><li>Switch the visualization from a <strong>Table</strong> visualization to a <strong>Matrix</strong> visualization using the <strong>Visualizations</strong> pane. Some visuals work well with hierarchies, while others do not. <strong>Table</strong> visualizations are not particularly suited for use with hierarchies, while <strong>Matrix</strong> visualizations are.</li><li>With the matrix selected, drag the <strong>Division</strong> column from the <strong>Hours</strong> table into the <strong>Rows</strong> field well in the <strong>Visualizations</strong> pane. Make sure that the <strong>Division</strong> column appears underneath the <strong>Location</strong> column in the <strong>Rows</strong> field well. Note that several arrow icons appear above/below our <strong>Matrix</strong> visualization. In addition, small <strong>+</strong> icons appear to the left of each row in the matrix. If you do not see the <strong>+</strong> icons, you can turn them on using the <strong>Format</strong> sub-pane of the <strong>Visualizations</strong> pane by expanding the <strong>Row headers</strong> card and then toggling the <strong>+/- icons</strong> to <strong>On</strong>.</li><li>Drag the <strong>Hours</strong> column from the <strong>Hours</strong> table into the <strong>Values</strong> field well of the <strong>Matrix</strong> visualization. Use the forked arrow icon (see the following screenshot) associated with the <strong>Matrix </strong>visualization to select <strong>Expand all down one level in the hierarchy</strong>. We can now see the reported hours broken down by <strong>Location</strong> and <strong>Division</strong> in our matrix.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/391/1*utksmKX9E39mdPNK-9YWjA.png" /></figure><p>We can also define hierarchies as part of our semantic model.</p><p>However, unlike the previous case, where we created an ad hoc hierarchy from columns in separate tables, hierarchies that are created as part of the semantic model must have all of the columns in the hierarchy come from the same table.</p><h4>Follow these steps to create a hierarchy within the semantic model:</h4><ul><li>Expand the <strong>Hours</strong> table in the <strong>Data</strong> pane.</li><li>Right-click the <strong>Division</strong> column and choose <strong>Create hierarchy</strong>. A <strong>Division Hierarchy</strong> element will be created within the <strong>Hours</strong> table and appear just below our <strong>Division</strong> column. Keep in mind that <strong>Division</strong> is the first element within our new hierarchy. This can be seen by clicking the <strong>&gt;</strong> symbol to the left of <strong>Division Hierarchy</strong> in the <strong>Data</strong> pane.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*0GkZJ34ijonTg7p6BRRZgw.png" /></figure><ul><li>Right-click the <strong>JobID</strong> column, choose <strong>Add to hierarchy</strong>, and then choose <strong>Division Hierarchy</strong>. <strong>JobID</strong> is added to <strong>Division Hierarchy</strong>, below <strong>Division</strong>.</li></ul><h4>Follow these steps to see our new hierarchy in action:</h4><ul><li>Click on the blank area of the canvas and then click the checkbox next to <strong>Division Hierarchy </strong>in the <strong>Hours</strong> table.</li><li>Switch the created visual from a <strong>Table</strong> visualization to a <strong>Matrix</strong> visualization using the <strong>Visualizations</strong> pane.</li><li>Add the <strong>Hours</strong> column from the <strong>Hours</strong> table to the <strong>Values</strong> field well.</li><li>Use the forked arrow icon for this new <strong>Matrix</strong> visualization to select <strong>Expand all down one level in the hierarchy</strong>. We can now see our hours broken down by <strong>Division</strong> and <strong>JobID</strong>.</li></ul><p>Defining hierarchies within the semantic model is a convenient way to save time since these reusable hierarchies of information can be created once and then used within multiple visualizations.</p><h4>Exploring Hierarchies</h4><p>So far, we have used the forked arrow icon to select <strong>Expand all down one level in the hierarchy</strong>. Now, let’s take a look at the functionality of the other arrow icons.</p><ul><li>In the latest <strong>Matrix</strong> visualization that we created using <strong>Division Hierarchy</strong>, use the up-arrow icon to select <strong>Drill Up</strong> within our hierarchy. This collapses our hierarchy to the <strong>Division</strong> level.</li><li>Switch the visualization to <strong>Clustered column chart</strong> using the <strong>Visualizations</strong> pane.</li><li>Click on the single down arrow icon to turn on <strong>Drill down</strong>. Keep in mind that the down arrow icon is now surrounded by a circle.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*8GrcXrCKMxx3CwVbJ9YzMw.png" /></figure><ul><li>Click on the <strong>3001 Management</strong> column to drill down into the hierarchy for just the <strong>3001 Management</strong> data. We are now at the <strong>JobID</strong> level of the hierarchy, just within the <strong>3001 Management </strong>leaf of our hierarchy.</li><li>Click on the down arrow icon again to turn off <strong>Drill down</strong>, and then click on the up-arrow icon to drill back up to the top level of the hierarchy.</li><li>This time, click on the double-down arrow icon. This icon drills down into the second level of the hierarchy across all of the top-level leaves of our hierarchy.</li><li>Use the up-arrow icon to drill back up to the top level of the hierarchy.</li></ul><p>The same four arrow icons for expanding/collapsing and drilling down and up through a hierarchy, which appear above or below a visualization that contains a hierarchy, are also available in the <strong>Drill actions</strong> section of the <strong>Data/Drill</strong> tab of the ribbon.</p><p>In the <strong>Data/Drill</strong> tab of the ribbon, the forked arrow icon corresponds to <strong>Expand next level</strong>, while the double-arrow icon corresponds to <strong>Switch to next level</strong>.</p><h4>Understanding Row-level Security</h4><p><strong>Row Level Security</strong> (<strong>RLS</strong>) is used to restrict data access for users viewing reports. Roles are created within Power BI Desktop by using DAX expressions to define filters.</p><p>These filters restrict the data that’s available to that role at the row level of the data.</p><p>Users are added to roles from within the Power BI service.</p><p>However, Power BI Desktop provides the ability to test role definitions by allowing the report author to view reports as a particular role or a particular user.</p><h4>Creating Roles</h4><p>Let’s try to understand RLS by continuing with the example scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>.</p><p>Pam knows that when she creates and publishes the final report, various job functions within the organization can look at the report.</p><p>Two of these job functions are branch managers and division managers.</p><p>Pam wants to ensure that each of these managers only sees the information that pertains to their area of management, without having to create separate reports for each job function and each user within those jobs.</p><p>Pam can do this by creating roles for each using RLS.</p><h4>Follow these steps to create the branch manager roles:</h4><ul><li>Click on the <strong>Modeling</strong> tab of the ribbon and then choose <strong>Manage roles</strong> from the <strong>Security </strong>section of the ribbon. The <strong>Manage security roles</strong> dialog.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*b-7Zt6EUAx8b4vXoypqCVg.png" /></figure><ul><li>In the <strong>Manage security roles</strong> dialog, under <strong>Roles</strong>, click the <strong>+ New</strong> button to create a role. Name this role <strong>All</strong> by double-clicking the <strong>Untitled</strong> role. Since this role should see everything, we do not define any table filters.</li><li>Click the <strong>+ New</strong> button again as depicted in <em>figure.</em></li><li>Rename this role Cleveland.</li><li>With the <strong>Cleveland</strong> role selected, select the <strong>People</strong> table in the <strong>Select tables</strong> section.</li><li>In the <strong>Filter data</strong> section, click the <strong>+ New</strong> button.</li><li>In the <strong>Filter data</strong> section, for the <strong>Column</strong> dropdown, choose the <strong>Location</strong> column.</li><li>Leave <strong>Condition</strong> as <strong>Equals</strong>.</li><li>For <strong>Value</strong>, type <strong>Cleveland</strong>.</li><li>Repeat <em>Steps 3</em> through <em>9</em> to create roles called <strong>Nashville</strong> and <strong>Charlotte</strong>. In <em>Step 9</em>, make <strong>Value Nashville</strong> and <strong>Charlotte</strong>, respectively. These four roles cover the branch managers within the organization, as well as those individuals who need to see all locations.</li><li>Click the <strong>Save</strong> button to save these roles.</li><li>Finally, click the <strong>Close</strong> button to exit the <strong>Manage security roles</strong> dialog.</li></ul><p>Before we create any additional roles, let’s define some additional groups within our semantic model.</p><ul><li>While on the <strong>Report</strong> view, expand the <strong>Hours</strong> table in the <strong>Data</strong> pane.</li><li>Right-click the <strong>Division</strong> column (not <strong>Division Hierarchy</strong>) and choose <strong>New group</strong>.</li><li>Add <strong>1001 Technology</strong> to a group called <strong>Technology</strong>.</li><li>Similarly, add <strong>2001 Accounting</strong> to a group called <strong>Accounting</strong>.</li><li>Add <strong>3001 Management</strong> to a group called <strong>Management</strong>.</li><li>Check the box for <strong>Include Other group</strong>.</li><li>Finally, click the <strong>OK</strong> button.</li></ul><h4>Create roles for our division managers by performing these steps:</h4><ul><li>Click on <strong>Manage roles</strong> from the <strong>Modeling</strong> tab of the ribbon.</li><li>In the <strong>Manage security roles</strong> dialog, under <strong>Roles</strong>, click the <strong>+ New</strong> button and call this new role Technology.</li><li>With the <strong>Technology</strong> role selected, click the <strong>Hours</strong> table in the <strong>Select tables</strong> area.</li><li>In the <strong>Filter data</strong> area, click the <strong>+ New</strong> button. For <strong>Column</strong>, choose <strong>[Division (groups)]</strong>.</li><li>Leave <strong>Condition</strong> as <strong>Equals</strong> and set <strong>Value</strong> to <strong>Technology</strong>.</li><li>Repeat steps 2 through 5 to create roles for the <strong>Accounting</strong>, <strong>Management</strong>, and <strong>Other Services </strong>roles with a <strong>Value</strong> filter of <strong>Accounting</strong>, <strong>Management</strong>, and <strong>Other</strong>, respectively.</li><li>When finished, click the <strong>Save</strong> button and then the <strong>Close</strong> button.</li></ul><p>We have created all the roles we need in our model. Save your work before proceeding to test these roles.</p><h4>Testing Roles</h4><p>It is important to test the roles so that we can be certain that the DAX filters defining the roles operate properly.</p><blockquote>To see our new roles in action, do the following:</blockquote><ul><li>First, click on a blank area of the canvas and select <strong>Clustered column chart</strong> using the <strong>Location </strong>column in the <strong>People</strong> table for <strong>X-axis</strong> and the <strong>Hours</strong> column from the <strong>Hours</strong> table for <strong>Y-axis</strong>.</li><li>Select the <strong>Modeling</strong> tab of the ribbon.</li><li>Click on <strong>View as</strong> in the <strong>Security</strong> section of the ribbon.</li><li>Select the checkbox for <strong>Accounting</strong>.</li><li>Click the <strong>OK</strong> button.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*lnBm2O-4gNJLSGZ_1IKJVA.png" /></figure><p>Keep in mind that the clustered column chart that displays <strong>Hours</strong> using <strong>Division Hierarchy</strong> now only displays <strong>2001 Accounting</strong>, and that our clustered column chart that displays <strong>Sum of Hours by Location</strong> displays all three locations; that is, <strong>Cleveland</strong>, <strong>Charlotte</strong>, and <strong>Nashville</strong>.</p><p>Note the yellow information bar at the top of the canvas that reads <strong>Now viewing as: Accounting</strong>.</p><p>You are now viewing the report using the RLS rules associated with the <strong>Accounting</strong> role.</p><ul><li>Click the <strong>View as</strong> button in the ribbon again, uncheck <strong>Accounting</strong>, and then view the report as <strong>Management</strong>, then <strong>Technology</strong>, and finally by <strong>Other Services</strong>. Note that, when viewing as <strong>Other Services</strong>, we see all of our ungrouped divisions.</li><li>Next, test the <strong>All</strong> group by clicking on <strong>View as</strong>, unchecking any other roles and checking <strong>All</strong>, and then clicking on the <strong>OK</strong> button. Note that we now see all locations and divisions. When we click the <strong>Stop viewing</strong> button in the information bar, nothing changes.</li><li>Finally, test each of the location roles in turn and verify that the correct location — and only the correct location — is displayed in the clustered column chart that summarizes <strong>Sum of Hours by Location</strong>.</li><li>When finished, click the <strong>Stop viewing</strong> button in the information bar.</li></ul><p>RLS is a powerful mechanism for segmenting data that allows a single semantic model to service multiple different roles within an organization while keeping that data secure.</p><p>Now that we have covered various methods of segmenting data, we will next look at how to use report navigation features, which help provide a superior user experience by allowing viewers to seamlessly navigate complex reports intuitively.</p><h3>Report Navigation Features</h3><p>In addition to powerful capabilities related to segmenting data for analysis, Power BI also provides mechanisms for navigating between report pages. This can also be used as an aid for analysis.</p><p>Lastly, we will explore the drill through functionality, which allows report viewers to easily gain deeper insights from summary data, as well as buttons and bookmarks, which allow viewers to quickly navigate between pages or instantly focus on particular sets of data.</p><p>Finally, we will explore the Q&amp;A functionality, which empowers report viewers to answer questions about the data contained in reports.</p><h4>Drill-Through</h4><p>So far, we have seen how we can break down our data using groups, hierarchies, and RLS.</p><p>Power BI provides another powerful method of breaking down and analyzing data called <strong>drill through</strong>.</p><p>Drill through is a method that’s used for segmenting data as well as navigating a report.</p><p>Drill through allows us to connect pages of reports.</p><p>A report page can be created that focuses on a particular data entity, such as a division, location, or employee.</p><p>Users can then right-click on a data element on one page and drill through to a different page while maintaining the original filter context from the first page.</p><h4>Drill-through</h4><blockquote>Let’s learn how to use drill through by performing the following steps:</blockquote><ul><li>Start by creating a new page called <strong>Page 3</strong>. Rename this page to Details by triple-clicking on the page’s name and then typing Details.</li><li>Now, click on the <strong>Utilization</strong> page and select the <strong>Matrix</strong> visualization on the left-hand side of the page. This is the matrix that has <strong>Name</strong> in <strong>Rows</strong>, <strong>Category</strong> in <strong>Columns</strong>, and <strong>Sum of Hours </strong>in <strong>Values</strong>. Use <em>Ctrl</em> + <em>C</em> to copy this visualization. Click back on the <strong>Details</strong> page and use <em>Ctrl</em> + <em>V</em> to paste this visualization onto the canvas.</li><li>Now, click on <strong>Page 2</strong> and copy and paste the <strong>Sum of Hours by Division</strong> and <strong>Sum of Hours by Location</strong> visualizations onto the <strong>Details</strong> page. Adjust the locations and sizes of these visualizations as necessary. Make sure to shrink the matrix and other visualizations to leave some blank space at the top of the page.</li><li>Click on a blank area of the page’s canvas. Now, expand the <strong>People</strong> table and select the checkbox for the <strong>Location</strong> column in the <strong>Data</strong> pane.</li><li>Change this visualization to a <strong>Card</strong> visualization and move this visualization to the top right-hand corner of the page. Adjust the size as necessary. Keep in mind that this <strong>Card</strong> visualization displays <strong>First Location</strong>, which is <strong>Charlotte</strong> alphabetically.</li><li>Click on a blank area of the canvas. Then, in the <strong>Visualizations</strong> pane, drag and drop the <strong>Location</strong> column from the <strong>People</strong> table into the <strong>Add drill through fields here</strong> area of the <strong>Drill-through</strong> section of the <strong>Visualizations</strong> pane. Keep in mind that the <strong>Drill through</strong> slot is at the bottom of the <strong>Visualizations</strong> page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/201/1*akbVBhYdkheuyuvQ5aelRA.png" /></figure><ul><li>Also, drag and drop the <strong>Division</strong> column from the <strong>Hours</strong> table as a drill through field. Keep in mind that, in the top left-hand corner of the page, a left-pointing arrow icon will appear, surrounded by a circle, as shown in the following screenshot. This is added automatically to any report page that includes drill through fields.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/227/1*4iVxKws97VpXUTb4TTkyeQ.png" /></figure><ul><li>Click back onto <strong>Page 2</strong>. In the <strong>Sum of Hours by Location</strong> visualization, right-click the column for <strong>Nashville</strong>, choose <strong>Drill through</strong>, and then <strong>Details</strong>. Note that you are transported to the <strong>Details</strong> page and that only <strong>Nashville</strong> appears in the <strong>Sum of Hours by Location</strong> visualization. In addition, <strong>Nashville</strong> appears in our <strong>Card</strong> visualization as well. All the visualizations on this page are now being filtered to only show data that’s linked to the <strong>Nashville</strong> location. You can verify this by hovering over each visual in turn, and then hovering over the funnel icon above or below the visualization to inspect the active filters on each visualization. Also, note that in the <strong>Drill through</strong> area of the <strong>Visualizations</strong> pane, <strong>Division</strong> is set to <strong>(All)</strong>, while <strong>Location</strong> is set to <strong>Nashville</strong>.</li><li>Now, hold down the <em>Ctrl</em> key and click on the left arrow icon in the top-left corner of the page. This is a back button. You will be taken back to <strong>Page 2</strong>. Note that holding down the <em>Ctrl</em> key is only required during report authoring. When users view the report, they can simply click the back button without holding down the <em>Ctrl</em> key. Right-click on the <strong>Cleveland</strong> column in the <strong>Sum of Hours by Location</strong> visualization, choose <strong>Drill through</strong>, and then <strong>Details</strong>. This time, only <strong>Cleveland</strong> information will be displayed on the <strong>Details</strong> page.</li><li>Use the back button to go back to <strong>Page 2</strong>. This time, right-click the <strong>3001 Management</strong> column in the <strong>Sum of Hours by Division</strong> visualization, choose <strong>Drill through</strong>, and then <strong>Details</strong>. You are transported to the <strong>Details</strong> page once more. Note that only the <strong>3001 Management</strong> column is displayed in the <strong>Sum of Hours by Division</strong> visualization. This time, all of the information on the page is being filtered by the <strong>3001 Management</strong> division.</li></ul><p>Note that the <strong>Sum of Hours by Location</strong> visualization only displays <strong>Nashville</strong> and <strong>Cleveland</strong>.</p><p>This is because the employees who belong to the <strong>3001 Management</strong> division only work in <strong>Nashville</strong> and <strong>Cleveland</strong>.</p><blockquote>Why, then, does the <strong>Card</strong> visualization at the top of the page still say <strong>Charlotte</strong>?</blockquote><p>This is because the cross filter direction of the relationship in our model between the <strong>People</strong> and <strong>Hours </strong>tables is <strong>Single</strong>, from <strong>People</strong> to <strong>Hours</strong>.</p><h4>To fix this, we need to do the following:</h4><ul><li>Click on the <strong>Modeling</strong> tab of the ribbon and choose <strong>Manage relationships</strong> from the <strong>Relationships</strong> section of the ribbon.</li><li>In the <strong>Manage relationships</strong> dialog, click anywhere on the <strong>From Hours (EmployeeID) To People (ID)</strong> relationship checkbox.</li><li>Now, click the <strong>Edit</strong> button.</li><li>Change <strong>Cross filter direction</strong> to <strong>Both</strong> and then click the <strong>Save</strong> button.</li><li>Click the <strong>Close</strong> button to close the <strong>Manage relationships</strong> dialog.</li></ul><p>After making a brief update to the visualizations, our <strong>Card</strong> visualization now says <strong>Cleveland</strong>, since Cleveland is now the first location.</p><p>The <strong>Data/Drill</strong> tab of the ribbon contains a <strong>Drill through</strong> button in the <strong>Data actions</strong> slot.</p><p>This tab is activated whenever a visualization contains a hierarchy or can use drill through.</p><p>Clicking on this button activates the drill through feature so that clicking on a visualization element displays the <strong>Drill through</strong> menu.</p><p>This completes our exploration of drill through. Save your work before starting to explore buttons.</p><h4>Buttons</h4><p>Our use of drill through has exposed another navigational aid within Power BI — <strong>buttons</strong>.</p><p>When we added drill through filters to a page, Power BI automatically created a back button.</p><p>However, other types of buttons can be used with Power BI.</p><h4>Types of Buttons</h4><blockquote>To explore the various buttons within Power BI, do the following:</blockquote><ul><li>Create a new page and rename this page <strong>Buttons</strong>.</li><li>Now, click on the <strong>Insert</strong> tab of the ribbon. In the <strong>Elements</strong> section of the ribbon, click on the <strong>Buttons</strong> icon. There are nine types of buttons in Power BI.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/182/1*aHrAzC2UN8nsNTz54MpgsA.png" /></figure><ul><li>Create one of each button type.</li><li>Power BI automatically places buttons in the top left-hand corner of the screen. Move the buttons to a different area of the canvas so that no two buttons overlap.</li><li>Click on each of these buttons in turn. Notice that the <strong>Visualizations</strong> pane changes to include formatting options for each button and is now titled <strong>Format button</strong>.</li></ul><p>Different buttons have different default formatting options that are either turned on or off by default.</p><p>For example, the <strong>Blank</strong> button has the <strong>Style</strong> | <strong>Border</strong> formatting option turned on by default, while the other buttons do not.</p><p>Most of the options in the <strong>Format button</strong> pane are simply options that allow you to change the look and feel of these buttons.</p><p>One of these formatting options is the <strong>Style | Icon</strong> option. All of the buttons have this option turned on except the <strong>Apply all slicer</strong> button, page navigator, and bookmark navigator buttons.</p><p>If you expand the <strong>Icon</strong> sub-card, there is an <strong>Icon type</strong> setting. By clicking on the drop-down arrow for the <strong>Icon type </strong>setting, a list of icons is presented that mirrors the same buttons that can be created (except for page and bookmark navigator buttons), plus an option for <strong>Custom</strong>.</p><p>In reality, each of the various button types in Power BI, other than the page and bookmark navigator buttons, isn’t a button type at all, but rather default settings for a single type of element — a button.</p><p>As you have likely caught on, the page and bookmark navigator buttons are special buttons, so let’s cover these special buttons before looking at the buttons in general.</p><h4>Page and Bookmark Navigator Buttons</h4><p>The <strong>Page navigator</strong> and <strong>Bookmark navigator</strong> buttons are special buttons known as <strong>Navigator</strong> buttons.</p><p><strong>Navigator</strong> buttons are specifically designed for report navigation purposes.</p><p>The <strong>Page navigator</strong> button actually displays a series of buttons, one for each page in the report.</p><p>As one might expect, holding down the <em>Ctrl</em> key and then clicking on a button in the <strong>Page navigator</strong> changes the report to the corresponding page.</p><p>Again, note that when users are viewing the report, there is no need to hold down the <em>Ctrl</em> key.</p><p>Selecting the page navigator button (without holding down the <em>Ctrl</em> key) changes the <strong>Visualizations </strong>pane to the <strong>Format navigator</strong> pane.</p><p>The <strong>Format navigator</strong> pane includes a format card named <strong>Pages</strong>.</p><p>Expanding the <strong>Pages</strong> format card and then the <strong>Options</strong> and <strong>Show</strong> sub-cards allows granular control over what types of pages and which specific pages to display in the page navigator.</p><p>There is also a <strong>Grid layout</strong> format card that provides some control over the overall layout of the navigator, such as its orientation (either <strong>Grid</strong>, <strong>Horizontal</strong>, or <strong>Vertical</strong>) and the <strong>Padding</strong> (spacing) between buttons.</p><p>The <strong>Bookmark navigator</strong> button is essentially the same concept as the <strong>Page navigator </strong>button, but instead of displaying the pages of the report, this navigator displays the bookmarks in the report.</p><p>Since we have not created any bookmarks, this navigator is empty. Bookmarks are explored after we finish exploring buttons.</p><h4>Buttons Action</h4><p>The real magic of buttons rests with their ability to perform actions. The action of a button is controlled by the <strong>Action</strong> format card.</p><p>With the <strong>Blank</strong> button selected, toggle on the <strong>Action</strong> format card and then expand the <strong>Action</strong> format card of the <strong>Format button</strong> pane.</p><p>Under <strong>Action sub-card</strong>, click the down arrow next to the <strong>Type</strong> field and note the different types of action types.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/1*J3koIhFV848P0BrTmtANTQ.png" /></figure><p>We have already seen how the <strong>Back</strong> action works and how it is useful when we are using features such as drill through.</p><blockquote>To see how we can use a web URL:</blockquote><ul><li>Select <strong>Web URL</strong> for <strong>Type</strong>.</li><li>A <strong>Web URL</strong> field is displayed. Type <a href="https://www.powerbi.com/"><strong>https://www.powerbi.com</strong></a> into the <strong>Web URL</strong> field.</li><li>Now, hold down the <em>Ctrl</em> key and click the <strong>Blank</strong> button. A web browser or a new browser tab will open, and you will be transported to the powerbi.com website.</li></ul><p>Regarding the other action types, the <strong>Drill through</strong> action type acts exactly like choosing the <strong>Drill through</strong> button in the <strong>Data/Drill</strong> tab of the ribbon.</p><p>The <strong>Page navigation</strong> action changes the page of the report.</p><p><strong>Apply all slicers</strong> and <strong>Clear all slicers</strong> do exactly what they indicate, either applying the selections from all slicers on the page or clearing the selections in all slicers on the page.</p><p>We will explore two other possible actions, <strong>Bookmarks</strong> and <strong>Q&amp;A</strong>, in the upcoming sections, since these are powerful features of Power BI that may be used with or without the use of buttons.</p><p>Keep in mind that when using a type of <strong>Drill through</strong>, <strong>Page navigation</strong>, or <strong>Web URL</strong> for <strong>Action</strong>, an <strong>fx</strong> icon appears to the right of the <strong>Destination</strong> or <strong>Web URL</strong> setting.</p><p>Clicking this icon allows the <strong>Destination </strong>or <strong>Web URL</strong> setting to be specified by a column in the semantic model or even a DAX measure.</p><p>The same actions that are available for buttons are also available for inserted images and shapes.</p><p>Images and shapes can be inserted into a report page using the <strong>Insert</strong> tab of the ribbon in the <strong>Elements </strong>section.</p><p>This means that you can use any image or shape just like a button.</p><h4>Button States</h4><p>The <strong>Shape</strong> and <strong>Style </strong>format cards in the <strong>Format button</strong> pane allow you to control the shape, display text, include an outline around the button, or a filled-in color for the button, etc.</p><p>Each of these format settings includes a <strong>State</strong> setting that can be set to either <strong>Default state</strong>, <strong>On hover</strong>, <strong>On press</strong>, or <strong>Disabled</strong>.</p><p>Each of these states can be set independently.</p><h4>To configure these states, do the following:</h4><ul><li>Click on the <strong>Blank</strong> button and, under the <strong>Button</strong> tab, expand the <strong>Style</strong> format card and toggle the <strong>Text</strong> sub-card to <strong>On</strong>.</li><li>Expand the <strong>Text</strong> sub-card. Ensure that <strong>State</strong> in the <strong>Apply settings to</strong> sub card is set to <strong>Default </strong>state, and then in the <strong>Text</strong> sub-card, type the word Default in the <strong>Text</strong> field.</li><li>Now, change <strong>State</strong> in the <strong>Applied settings to</strong> sub-card to <strong>On hover</strong> and then, in the <strong>Text</strong> sub card, type the word Hover in the <strong>Text</strong> field.</li><li>Finally, change <strong>State</strong> in the <strong>Applied settings to</strong> sub-card to <strong>On pressed</strong> and then, in the <strong>Text </strong>sub-card, type the word <strong>Pressed!</strong> in the <strong>Text</strong> field.</li></ul><p>Keep in mind that the <strong>Blank</strong> button now contains text that says <strong>Default</strong>.</p><p>Hover your mouse over the button and note that the button text now says <strong>Hover.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*2AfpPvRSW5icT9Vo_w4hIQ.png" /></figure><p>Click on the button and note that the button’s text changes to <strong>Pressed</strong>. Button states allow report authors to provide visual cues regarding the outcome of pressing a button.</p><h3>Bookmarks</h3><p><strong>Bookmarks</strong> allow you to capture the state of a report page and save this state to be referred to later. When creating a bookmark.</p><ul><li>The current page, along with all of the visuals on the page.</li><li>All filters, including the states of slicers and selections within visuals (such as cross-highlight filters).</li><li>The sort order of visuals.</li><li>The drill to locations of visuals.</li><li>The visibility of visuals and shapes.</li><li>The <strong>Focus and Spotlight</strong> settings of visuals and shapes.</li></ul><p>There are many uses for bookmarks.</p><p>Bookmarks are often used as an aid to report viewers so that users can reset the report page to a default state, removing all the filters and slicer selections they have chosen.</p><p>Bookmarks are also created and grouped as a collection in order to create a step-by-step presentation to tell a story of interesting findings or insights.</p><p>Finally, bookmarks are also used to provide alternative page navigation. This only begins to cover the uses for bookmarks within Power BI.</p><h4><strong>Creating and Using Bookmarks</strong></h4><blockquote>To see how bookmarks work, follow these steps:</blockquote><ul><li>Click on the <strong>Details</strong> page while in the <strong>Report</strong> view.</li><li>In the <strong>Visualizations</strong> pane, look at the <strong>Drill through</strong> area and ensure that there are no active drill through filters. If there are, hover over the filter and remove it by clicking on the eraser icon (<strong>Clear filter</strong>).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*uZ1jEos8IDdBVECDS7bSbQ.png" /></figure><p>When all of the drill through filters have been removed, you should see <strong>Charlotte</strong> at the top of the page in the <strong>Card</strong> visual.</p><p>You should also see all of the divisions and all of the locations in the <strong>Sum of Hours by Division</strong> and <strong>Sum of Hours by Location</strong> visuals, respectively.</p><ul><li>Now that the page is in its proper state, collapse the <strong>Filters</strong> pane and the <strong>Visualizations</strong> pane.</li><li>In the ribbon, select the <strong>View</strong> tab and, in the <strong>Show panes</strong> section of the ribbon, select <strong>Bookmarks</strong>. The <strong>Bookmarks</strong> pane appears between the collapsed <strong>Filters</strong> and <strong>Visualizations</strong> panes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*itAjT25jfqAKtSbWs2VEdA.png" /></figure><ul><li>In the <strong>Bookmarks</strong> pane, click <strong>Add</strong>. <strong>Bookmark 1</strong> appears.</li><li>Rename this bookmark by double-clicking its name, typing Default Details, and then pressing the <strong><em>Enter</em> </strong>key.</li></ul><blockquote>To use this new bookmark, follow these steps:</blockquote><ul><li>First, click on <strong>Page 2</strong> while in the <strong>Report </strong>view.</li><li>Right-click on <strong>3001 Management</strong> in the <strong>Sum of Hours by Division</strong> visual, choose <strong>Drill through</strong>, and then <strong>Details</strong>. Here, we can see <strong>Cleveland</strong> at the top in our <strong>Card</strong> visual and only <strong>3001 Management</strong> in our <strong>Sum of Hours by Division</strong> visual. Also, only <strong>Cleveland</strong> and <strong>Nashville</strong> appear in our <strong>Sum of Hours by Location</strong> visual.</li><li>Click on the <strong>Default Details</strong> bookmark in the <strong>Bookmarks</strong> pane. The page automatically resets to its state when the bookmark was defined, removing the <strong>Drill through</strong> filters.</li><li>Click back onto <strong>Page 2</strong>.</li><li>Click the <strong>Default Details</strong> bookmark again. You are transported to the <strong>Details</strong> page automatically.</li></ul><p>As you can see, bookmarks can be used while on a page, as well as being used as navigational aids between pages.</p><h4><strong>Advanced Bookmarks</strong></h4><blockquote>Explore some more advanced options for bookmarks by following these steps:</blockquote><ul><li>Make sure that you are on the <strong>Details</strong> page with the <strong>Bookmarks</strong> pane visible.</li><li>In the <strong>Bookmarks</strong> pane, click the ellipsis (<strong>…</strong>) next to the <strong>Default Details</strong> bookmark and uncheck <strong>Current page</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*kvCmUk7qoYZZvO9Tm_hsxA.png" /></figure><ul><li>Now, switch to <strong>Page 2</strong> and use drill through in the <strong>Sum of Hours by Division</strong> visualization to the <strong>Details</strong> page from <strong>3001 Management</strong>.</li><li>Click back onto <strong>Page 2</strong> and select the <strong>Default Details</strong> bookmark from the <strong>Bookmarks</strong> pane. You are no longer transported to the <strong>Details</strong> page. However, if you click on the <strong>Details</strong> page, you will see that the page has been reset to remove the <strong>Drill through</strong> filters.</li><li>Click on the ellipsis (<strong>…</strong>) for our <strong>Default Details</strong> bookmark in the <strong>Bookmarks</strong> pane and recheck <strong>Current page</strong>.</li><li>Now, click on the ellipsis (<strong>…</strong>) for the <strong>Sum of Hours by Location</strong> visualization and choose <strong>Spotlight</strong>. Note that the other visualizations fade into the background.</li><li>Add a new bookmark using the <strong>Add</strong> button in the <strong>Bookmarks</strong> pane and call this bookmark <strong>Details Spotlight</strong>.</li><li>Click on the ellipsis (<strong>…</strong>) for the <strong>Details Spotlight</strong> bookmark and uncheck <strong>Data.</strong></li><li>Switch to <strong>Page 2</strong> and <strong>Drill through</strong> to <strong>Details</strong> for <strong>3001 Management</strong> in our <strong>Sum of Hours by Division</strong> visualization once more.</li><li>Keep in mind that the spotlight for the <strong>Sum of Hours by Location</strong> visual is gone.</li><li>Click on the <strong>Details Spotlight</strong> bookmark. Note that the data stays the same; the <strong>Drill through </strong>filters haven’t been removed, but the spotlight returns for our <strong>Sum of Hours by Location </strong>visualization.</li></ul><p>As you can see, the report author has a measure of control over what states a bookmark preserves. Let’s create some additional bookmarks, this time using the <strong>Selection</strong> pane.</p><ul><li>First, reset the <strong>Details</strong> page by clicking on the <strong>Default Details</strong> bookmark.</li><li>To activate the <strong>Selection</strong> pane, click on the <strong>View</strong> tab in the ribbon. Then, in the <strong>Show panes </strong>section, choose <strong>Selection</strong>. The <strong>Selection</strong> pane appears to the left of the <strong>Bookmarks</strong> pane.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*NPyQgGvxqsuxmB9bWZR5pA.png" /></figure><blockquote>The <strong>Selection</strong> pane lists all of the visualizations and shapes on our report page:</blockquote><ul><li><strong>Button</strong> refers to the back button.</li><li><strong>Card</strong> refers to our <strong>Card</strong> visualization at the top right of our page.</li><li><strong>Sum of Hours by Location</strong> and <strong>Sum of Hours by Division</strong> refer to the respective visuals with the same titles.</li><li><strong>Matrix</strong> refers to our <strong>Matrix</strong> visualization.</li></ul><blockquote>To understand how to use the <strong>Selection</strong> pane, do the following:</blockquote><ul><li>In the <strong>Selection</strong> pane, under the word <strong>Hide</strong>, note the eyeball icons. These are a small circle with an arc over the top.</li><li>Click on the eyeball icon for <strong>Sum of Hours by Location</strong>. Note that the <strong>Sum of Hours by Location</strong> visualization disappears from the page and that there is now a slash through its eyeball icon in the <strong>Selection</strong> pane.</li><li>Hide the <strong>Sum of Hours by Division</strong> visual as well.</li><li>Now, use <strong>Add</strong> in the <strong>Bookmarks</strong> pane to add a bookmark called <strong>Default One</strong>.</li><li>Click on the <strong>Default One</strong> bookmark and drag and drop it above <strong>Details Spotlight</strong>, but below <strong>Default Details</strong>.</li><li>Click on the eyeball icon next to <strong>Sum of Hours by Division</strong> to show this visual on the page once more.</li><li>Add another bookmark called <strong>Default Two</strong> and drag and drop this visual underneath <strong>Default One</strong>.</li><li>Now, show the <strong>Sum of Hours by Location</strong> visual by selecting the eyeball icon in the <strong>Selections </strong>pane.</li><li>Create another bookmark called <strong>Default Three</strong> and drag and drop this bookmark below <strong>Default Two</strong>.</li></ul><ol><li>Default Details</li><li>Default One</li><li>Default Two</li><li>Default Three</li><li>Details Spotlight</li></ol><ul><li>In the <strong>Bookmarks</strong> pane, select <strong>View</strong>. Note that, at the bottom of the page, a gray bar appears that replaces the page tabs. The left-hand side of the gray bar reads <strong>Bookmark 1 of 5</strong>, in the middle shows <strong>Default Details</strong>, and on the right are three icons.</li><li>Use the right-pointing <strong>Next</strong> icon to switch to the next bookmark in the list, that is, <strong>Default One</strong>.</li><li>Repeat this procedure to page through all of the bookmarks that we’ve created.</li><li>Click on the <strong>X</strong> icon in the bookmarks bar or <strong>Exit</strong> in the <strong>Bookmarks</strong> pane to exit this slideshow of bookmarks.</li><li>Reset the <strong>Details</strong> page by clicking on the <strong>Default Details</strong> bookmark.</li><li>Close the <strong>Selection</strong> and <strong>Bookmarks</strong> panes by unselecting them in the <strong>View</strong> tab of the ribbon.</li></ul><p>You now have a good understanding of how to use bookmarks in conjunction with the <strong>Selection</strong> pane to structure a conversation about a report.</p><h4>Questions and Answers (Q/A)</h4><p><strong>Q&amp;A</strong> is a powerful tool that has been built into the Power BI service since its inception.</p><p>More recently, Q&amp;A was added to Desktop as well.</p><p>Q&amp;A allows the user to use natural language to ask questions about the data contained within the semantic model.</p><p>The answers received are in the form of visualizations.</p><h4>Best Practices for Q/A</h4><p>There are several best practices to follow to use Q&amp;A effectively:</p><ul><li>First, it is important to start with a good semantic model that has all of the proper relationships between tables.</li><li>Second, naming tables and columns becomes critical when using Q&amp;A. This is because Q&amp;A uses the words that were typed into the question and tries to match the words with the names of tables and columns within the semantic model.</li><li>Third, the columns and measures within the semantic model must be set to the correct <strong>Data type</strong>. This allows Q&amp;A to return the correct results. For example, if a date column is set to text in the semantic model, Q&amp;A can return unexpected results when using that date column.</li><li>Fourth, it is important to configure the <strong>Summarization</strong> and <strong>Data category</strong> properties of the columns correctly. For example, we set the <strong>Year</strong> column in our <strong>Calendar</strong> table to have a default summarization of <strong>Don’t summarize</strong>. This is because <strong>Year</strong> is a numeric column, but we do not wish to ever aggregate <strong>Year</strong>. Data categorization is also important, as this aids Q&amp;A in choosing the correct visual to return as an answer.</li></ul><p>We have followed all of these best practices except for the last one — data categorization.</p><p>Data categorization is mainly used with geographic columns to denote the type of location element represented by data within the column.</p><p>Using data categorization to tag these columns provides Power BI with hints regarding the type of information within the column and how it should be displayed.</p><p>For example, categorizing a column as <strong>Address</strong>, <strong>City</strong>, <strong>State or Province</strong>, <strong>Country</strong>, or <strong>Postal code</strong> provides Power BI with the necessary hints to display this information on a <strong>Map</strong> visualization.</p><blockquote>To understand how to use data categorization, follow these steps:</blockquote><ul><li>While in the <strong>Report</strong> view, expand the <strong>People</strong> table in the <strong>Data</strong> pane.</li><li>Select the <strong>Location</strong> column by clicking anywhere on the name of the column (not the checkbox).</li><li>Now, click on the <strong>Column tools</strong> tab of the ribbon and in the <strong>Properties</strong> section, find the drop-down field next to <strong>Data category</strong>.</li><li>Currently, <strong>Uncategorized</strong> is selected. Change this to <strong>City</strong>.</li></ul><p>Keep in mind that a globe icon is now displayed next to the <strong>Location</strong> column in the <strong>Data</strong> pane, denoting that this column represents information that is geocoded (can be displayed on a map).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*vrCHOozvWXxSzQudZlHdMQ.png" /></figure><h4>Q/A Button</h4><blockquote>Now, understand how to use a Q&amp;A button:</blockquote><ul><li>Switch to the <strong>Buttons</strong> page and click back on the <strong>Blank</strong> button we created earlier, expand the <strong>Action</strong> format card in the <strong>Format button</strong> pane, and change its <strong>Type</strong> to <strong>Q&amp;A</strong>.</li><li>Hold down the <em>Ctrl</em> key and click the button. After a brief wait, the <strong>Q&amp;A</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*qQpoIIK9IIHIwDM4v-7yTQ.png" /></figure><p>Several example questions are displayed, as well as an entry area that says <strong>Ask a question about your data</strong>.</p><ul><li>Click inside the <strong>Ask a question about your data</strong> box, type hours by location, and then press the <strong><em>Enter</em> </strong>key. In the area formally occupied by example questions, a map will be displayed, showing bubbles over Cleveland, OH; Nashville, TN; and Charlotte, NC.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*v62pK03tYpQDs8brv-ZkYg.png" /></figure><p>The size of the bubbles on the map denotes the total relative number of hours worked by employees in each location.</p><p>Keep in mind that you can hover your mouse over the bubbles and receive a tooltip stating the <strong>Location</strong> and <strong>Count of Hours</strong> properties.</p><p><strong>Count of Hours</strong> is probably not what was intended.</p><p>This means that the number is the count of the rows within the <strong>Hours </strong>table that are related to each location instead of the sum of hours for each location.</p><p>Further confirmation that this is using <strong>Count of Hours</strong> can be found at the top of the map, where it says <strong>Showing results for Person location and number of hours</strong>.</p><p>The exact phase may vary. To fix this, note that hours and location are underlined where you entered the text <strong>hours by location</strong>.</p><p>The underlined words indicate that Power BI has found a table or column name in the model.</p><ul><li>Inside the text box where you entered the question, click on the underlined word <strong>hours</strong>. Keep in mind that there are multiple possible suggestions Q&amp;A provides for semantic model entities that could refer to the word hours. Under <strong>You could also try</strong>, click <strong>Show more</strong> and review the options.</li><li>None of these look quite correct, so revise the question to <strong>sum of Hours[Hours] by location</strong>. Here, we are explicitly telling Q&amp;A that we are referring to the <strong>Hours</strong> column in the <strong>Hours</strong> table. Now, click on <strong>location</strong> and note that there is an additional suggestion: <strong>budgets and forecast location</strong>. This is because we have a <strong>Location</strong> column in both the <strong>People</strong> table and the <strong>Budgets and Forecasts</strong> table. Because we have set the data categorization for the <strong>Location</strong> column in our <strong>People</strong> table to <strong>City</strong>, we can remove this ambiguity.</li><li>Click at the end of the question to place the cursor after <strong>location</strong>. Remove <strong>location</strong> and replace it with the word <strong>city</strong> so that our question now reads <strong>sum of Hours[Hours] by city</strong>. Note that the same visualization is displayed, but that the ambiguity has been removed.</li><li>Click the <strong>X</strong> in the top-right corner of the <strong>Q&amp;A</strong> dialog to close the dialog.</li></ul><p>The <strong>Q&amp;A</strong> dialog can be a useful addition to reports as it lets report viewers answer ad hoc questions about the data.</p><h4>Q/A in Reporting Authoring</h4><blockquote>Q&amp;A can also be used for report authoring. To use Q&amp;A in this manner, follow these steps:</blockquote><ul><li>Click on a blank area of the canvas on our <strong>Buttons</strong> page.</li><li>Select the <strong>Insert</strong> tab of the ribbon and, from the <strong>AI visuals</strong> section, choose <strong>Q&amp;A</strong>. A blank visualization will appear on the page, along with a similar dialog to what we received previously, stating <strong>Ask a question about your data</strong>.</li><li>Type the same question as before; that is, <strong>sum of Hours[Hours] by city</strong>. Note that the same <strong>Map</strong> visualization is displayed and that we have the same underlined words in our question.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*hEAlcK6GPW8x0fZ6I4A5VA.png" /></figure><p>Just to the right of the question entry area are two icons.</p><p>The right-most icon is a gear icon, which allows for advanced configuration of Q&amp;A.</p><p>When hovering over the other icon, a tip is displayed that reads <strong>Turn this Q&amp;A result into a standard visual</strong>. Click this icon.</p><p>The Q&amp;A dialog goes away, and a standard <strong>Map</strong> visual is displayed with a title of <strong>Sum of Hours and Count of Hours by Location</strong>.</p><p>We now have a standard <strong>Map</strong> visualization that we can resize and move.</p><p>The Q&amp;A dialog is simply used as a means of creating the visualization.</p><p>The Q&amp;A feature can also be activated by simply double-clicking on a blank area of the canvas.</p><blockquote>To create a visual this way, do the following:</blockquote><ul><li>Double-click on a blank area of the canvas.</li><li>This time, ask the question <strong>sum of Hours[H] by city as bar chart</strong>. Note that Q&amp;A follows the direction to create the visualization as a bar chart instead of a map visual.</li><li>Add this visual to the report, as we did previously.</li></ul><h4>Synonyms</h4><p>Power BI includes another useful feature that can significantly improve the Q&amp;A experience.</p><p>This feature is called <strong>synonyms</strong>. With synonyms, the report author can add additional names for tables, columns, and measures that Q&amp;A will then recognize as referring to those semantic model entities.</p><p>For example, continuing with our example from <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to</em> <em>Plan Projects with Power BI</em></strong></a>, Pam knows that the three cities the company operates in are internally referred to as branches.</p><p>If we double-click on a blank area of the canvas and type <strong>sum of Hours[H] by branch</strong>, Q&amp;A recognizes the word <em>branch</em>, but only in the context of people’s names; that is, Rocco Branch, Ellen Branch, and Gabriela Branch.</p><blockquote>To fix this, do the following:</blockquote><ul><li>Click the gear icon to the right of the question entry box. The <strong>Q&amp;A setup</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/815/1*kwD87HOebswDeUmonY_VFA.png" /></figure><ul><li>On the left-hand side of the dialog, click <strong>Synonyms</strong>.</li><li>Expand the <strong>People</strong> table and scroll down to the <strong>Location</strong> column.</li><li>Click the <strong>Add +</strong> button, type the word branch, and then press the <em>Enter</em> key.</li><li>Click the <strong>X</strong> icon at the top right to close the dialog.</li></ul><p>The Q&amp;A visual updates. Retype your question and Q&amp;A now recognizes <em>branch</em> in the context of locations.</p><p>Keep in mind that the <strong>Q&amp;A Setup</strong> dialog can be accessed from the <strong>Modeling</strong> tab of the ribbon while you are in the <strong>Report</strong> view.</p><p>In addition, synonyms can also be added using the <strong>Properties</strong> pane of the <strong>Model</strong> view.</p><p>Now that you understand the basics of report navigation features, we will next explore some advanced analysis techniques that can aid business users in gaining a deeper understanding of data in a visually appealing way.</p><p>Such analysis adds to the overall utility of visualizations and reports. Save your work before continuing.</p><h3>Explore More:</h3><ul><li><a href="https://medium.com/@info.codetitan/how-to-create-semantic-models-using-power-bi-7fbca194d584">How to Create Semantic Models using Power BI</a></li><li><a href="https://medium.com/@info.codetitan/extensions-and-scripts-in-tableau-782ac3580ef8">Extensions and Scripts in Tableau</a></li><li><a href="https://pub.aimind.so/model-selection-and-evaluation-in-machine-learning-ce25a48d8397">Model Selection and Evaluation in Machine Learning</a></li><li><a href="https://medium.com/@info.codetitan/how-social-media-is-reshaping-the-future-of-seo-311385a7caa4">How Social Media is Reshaping the Future of SEO</a></li><li><a href="https://pub.aimind.so/subtotals-and-data-consolidation-in-excel-8122f8b8049d">Subtotals and Data Consolidation in Excel</a></li><li><a href="https://pub.aimind.so/data-structures-and-algorithms-d4ae774c8225">Data Structures and Algorithms</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daf3367db23d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Create Semantic Models using Power BI]]></title>
            <link>https://medium.com/@info.codetitan/how-to-create-semantic-models-using-power-bi-7fbca194d584?source=rss-5666958f3409------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fbca194d584</guid>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[semantics]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Code Titan]]></dc:creator>
            <pubDate>Mon, 01 Dec 2025 09:51:09 GMT</pubDate>
            <atom:updated>2025-12-01T09:51:09.164Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>Building the foundational layer for smarter analytics</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CXItHqht6vraR6CqX_ci8w.jpeg" /><figcaption>Image by Author</figcaption></figure><p>Even though we have loaded in some data, having raw data loaded into separate tables is not enough to enable analysis and visualization. In order to facilitate analysis and visualization, we must create a semantic model by building relationships between the individual tables, as well as calculations that can aid us in our analysis. Building a semantic model with relationships between tables and required calculations allows us to create insightful reports for a business or organization. In this article, we will learn how to create a semantic model, create <strong>Data Analysis Expressions</strong> so called (<strong>DAX</strong>) calculated columns and measures, and understand the techniques for troubleshooting DAX calculations.</p><h3>Table of Contents</h3><ol><li>Creating a semantic model</li><li>Creating calculations</li><li>Checking and troubleshooting calculations</li></ol><h3>Creating a Semantic Model</h3><p>The concept of a <strong>semantic model, data model</strong>, or <strong>dataset</strong> is fundamental to Power BI.</p><p>In short, a semantic model is defined by the tables that are created from Power Query queries, the metadata (data about data) regarding the columns within the tables, and finally, the relationships that are defined between tables.</p><p>Relationships are needed to connect individual tables to one another.</p><p>In Power BI, the semantic model is stored within an Analysis Services tabular cube.</p><p>It is the creation of this semantic model that enables self-service analytics and reporting.</p><p>In <a href="https://medium.com/datadriveninvestor/how-to-connect-and-transform-data-using-power-bi-d3f254dca4c4"><strong><em>How to Connect and Transform Data using Tableau</em></strong></a>, we connected to various sources of data (three different Excel files) that in turn created seven different queries, which ultimately resulted in four queries that loaded data tables into our semantic model.</p><p>We can now stitch those individual tables, along with our previously created data table, into a cohesive semantic model that is used for further analysis.</p><h4>Touring the Model View</h4><p>So far, we have explored the overall architecture of Power BI Desktop and Power Query Editor.</p><p>We will now explore the <strong>Model</strong> view within Power BI Desktop. To switch to the <strong>Model</strong> view, click the third icon from the top in the <strong>Views</strong> bar of Power BI Desktop.</p><p>The <strong>Model</strong> view is shown in this screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbDoHxfkQMpCdF22D2Qy4w.png" /></figure><p>The <strong>Model</strong> view provides an interface for building our semantic model.</p><p>It does this by creating relationships between tables, as well as defining metadata for tables and columns.</p><p>We can even create multiple layouts for our semantic model. The <strong>Model</strong> view interface is similar to other Desktop views.</p><ul><li><strong>Header</strong>: As shown in the <em>Figure</em>, the <strong>Header</strong> area is identical to what was described in <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>How to Get Started with Power BI Desktop</em></strong></a>.</li><li><strong>Ribbon</strong>: The <strong>Ribbon</strong> is nearly identical to what we described in <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>How to Get Started with Power BI Desktop</em></strong></a>, with the notable exception that only three tabs are available — <strong>File</strong>, <strong>Home</strong>, and <strong>Help</strong>. If third-party extensions are installed, the <strong>External Tools</strong> tab is also present.</li><li><strong>Views</strong>: The <strong>Views</strong> area is identical to what was described in the <em>Touring the desktop</em> section of this <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>article</em></strong></a>.</li><li><strong>Canvas</strong>: As mentioned in the <em>Touring the desktop</em> section of this <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>article</em></strong></a>, when in the <strong>Model</strong> view, this area displays layouts of tables within the semantic model, as well as their relationships to one another. A default <strong>All tables</strong> layout is created automatically.</li><li><strong>Panes</strong>: As described in the <em>Touring the desktop</em> section of this <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>article</em></strong></a>, only two panes are present — the omnipresent <strong>Data</strong> pane and the <strong>Properties</strong> pane. The <strong>Properties</strong> pane is exclusive to the <strong>Model</strong> view and allows us to associate metadata with various fields or columns within the tables of the semantic model. This includes the ability to specify synonyms and descriptions, as well as data types, data categories, and default aggregations or summarizations.</li><li><strong>Layouts</strong>: The <strong>Pages</strong> area from the <strong>Report</strong> view is replaced by <strong>Layouts</strong>. The <strong>Layouts</strong> area allows us to create multiple layouts or views of the data tables within the model, as well as to rename and reorder the layouts.</li><li><strong>Footer</strong>: As described in the <em>Touring the desktop</em> section of this <a href="https://medium.com/datadriveninvestor/how-to-get-started-with-power-bi-desktop-0da108f98004"><strong><em>article</em></strong></a>, in the <strong>Model</strong> view, the <strong>Footer</strong> area provides various viewing controls, such as the ability to zoom in and out, reset the layout, and fit the model to the current display area.</li></ul><p>This completes our tour of the <strong>Model</strong> view.</p><h4>Modifying the Layout</h4><p>In the <strong>Model</strong> view, we have a default <strong>All tables</strong> layout, which was created for us automatically by Power BI.</p><h4>To modify this layout, follow these steps:</h4><ul><li>Click on the tables and drag them closer together. Use the <strong>Fit to screen</strong> icon at the far right of the <strong>Footer</strong> to zoom in on the table layout. You should now be able to clearly see the table names and columns in the tables.</li><li>Move the <strong>Calendar</strong> and <strong>People</strong> tables next to one another in the top center of the <strong>Canvas </strong>by clicking on and then dragging and dropping. Place the <strong>Budgets and Forecasts</strong> and <strong>Hours </strong>tables underneath these two tables. Use the <strong>Fit to screen</strong> icon in the footer to zoom in on the tables. Note that we cannot see all of the columns in the <strong>Hours</strong> table or the <strong>Calendar</strong> table. A right-hand scroll bar is present on both tables.</li><li>Use the sizing handle in the bottom-right corner of the table to adjust the size so that we can see all of the columns in the table. When finished, your <strong>Canvas</strong> should look similar to this.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*w2POT5q4AiEgLBJl-3ArXA.png" /></figure><p>Now that we have modified the layout such that we can easily see all tables on the screen, let’s continue building our semantic model by defining relationships between the individual tables.</p><h4>Creating and Understanding Relationships</h4><p>Now that we can clearly see our tables and columns, we can create relationships between our tables.</p><p>Creating relationships between tables allows calculations and aggregations to work across tables so that multiple columns can be used from separate, related tables.</p><p>For example, once the <strong>People</strong> table and the <strong>Hours</strong> table are related to one another, we can use the <strong>ID </strong>column from the <strong>People</strong> table and the TotalHoursBilled column from the <strong>Hours</strong> table.</p><p>By doing this, TotalHoursBilled aggregates correctly for each user <strong>Identifier</strong> (<strong>ID</strong>) in the <strong>People</strong> table.</p><p>To create this relationship between the <strong>People</strong> table and the <strong>Hours</strong> table, click on the ID column in the <strong>People</strong> table and drag and drop it onto the EmployeeID column in the <strong>Hours</strong> table.</p><p>The <strong>New Relationship</strong> dialog is displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*JEGM78G848nNF-0_wlOj9A.png" /></figure><p>Click the <strong>Save</strong> button and note that a line appears on the canvas that connects the <strong>People</strong> table to the <strong>Hours</strong> table.</p><p>This creates a relationship between the ID column in the <strong>People</strong> table and the EmployeeID column in the <strong>Hours</strong> table.</p><p>You can check the columns that are involved in a relationship by hovering your mouse over the relationship line.</p><p>The line changes slightly and the columns involved in the relationship become shaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*R7KZtPyqHpmseEQZSvGF5w.png" /></figure><p>If you notice that ID and EmployeeID are not columns associated with the relationship, hover over the relationship line, right-click it, and choose <strong>Delete</strong>.</p><p>Then, try again.</p><p>Keep in mind that the line has <strong>1</strong> next to the <strong>People</strong> table and <strong>*</strong> next to the <strong>Hours</strong> table.</p><p>This means that this relationship is <strong>one-to-many</strong> or <strong>many-to-one</strong>.</p><p>In other words, there are unique row values in the <strong>People</strong> table that match multiple rows in the <strong>Hours </strong>table.</p><p>This makes sense since each employee submits an <strong>Hours</strong> report for every day.</p><p>The designation of <strong>1</strong> (unique) or <strong>*</strong> (many) defines the cardinality of the relationship between the tables.</p><h4>There are actually four different cardinalities for relationships in Power BI, as illustrated here:</h4><ul><li><strong>One-to-one</strong>: This means that there are unique values in each table.</li><li><strong>Many-to-one</strong>: This means that there are unique values in one table that match multiple rows in another table.</li><li><strong>One-to-many</strong>: This means that there are unique values in one table that match multiple rows in another table.</li><li><strong>Many-to-many</strong>: This means that neither table has unique values for rows. It is generally good practice to avoid these types of relationships because of their complexity and the amount of processing and resources required.</li></ul><p>The designation of many-to-one versus one-to-many is simply a matter of which table is defined first within a relationship.</p><p>In other words, the relationship between our <strong>People</strong> table and <strong>Hours</strong> table could be either many-to-one or one-to-many, depending on which table we defined first in our relationship.</p><p>Keep in mind that there is also an arrow icon in the middle of the line that points from <strong>People</strong> to <strong>Hours</strong>.</p><p>This indicates that the <strong>People</strong> table filters the <strong>Hours</strong> table, but not vice versa.</p><p>This is known as the cross-filter direction.</p><p>Cross-filter directions can be either <strong>Single</strong> or <strong>Both</strong>, meaning that the filtering occurs only one way or bidirectionally.</p><p>In simple semantic models, you generally don’t have to worry about cross-filter direction, but it can become very important if the complexity of the semantic model increases.</p><p>Finally, note that the line that forms the relationship between the tables is solid.</p><p>A solid line indicates an active relationship.</p><p>Inactive relationships can be created between tables, and these are represented as a dashed line.</p><p>In Power BI, there can only be a single active path between tables.</p><p>As models become more complex, multiple paths from one table to another can be created.</p><p>In those cases, one or more of the relationships or pathways become inactive.</p><p>However, even though the relationship is inactive by default, it can be used within calculations that specify using specific relationships.</p><p>We can view and modify the relationship definition by double-clicking on the relationship line.</p><p>This brings up the <strong>Edit relationship</strong> dialog, which looks nearly identical to the <strong>New relationship</strong> dialog shown in <em>Figure</em>.</p><p>Keep in mind that since the <strong>Hours</strong> table is defined first and the <strong>People</strong> table is defined second, the <strong>Cardinality </strong>value of our relationship is <strong>Many to one (*:1)</strong>.</p><p>Also, note that the relationship is active and that the <strong>Cross filter direction</strong> value is <strong>Single</strong>.</p><p>In many-to-one and one-to-many relationships, a <strong>Cross filter direction</strong> value of <strong>Single</strong> means that the one side of the relationship filters the many side.</p><p>Finally, note that the EmployeeID column in the <strong>Hours</strong> table and the ID column in the <strong>People</strong> table are highlighted in gray.</p><p>This shows us the columns that form a relationship between the two tables.</p><p>Close the <strong>Edit relationship</strong> dialog by clicking the <strong>Cancel</strong> button.</p><p>Now, let’s create another relationship, this time between our <strong>Calendar</strong> table and the <strong>Hours</strong> table.</p><h4>To do this, we can use the <strong>Manage relationships</strong> functionality, as follows:</h4><ul><li>Click on the <strong>Home</strong> tab of the ribbon. Then, in the <strong>Relationships</strong> section, choose the <strong>Manage relationships</strong> button. The <strong>Manage relationships</strong> dialog is displayed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*gN-RP_UPQO53sHuDtlWN3A.png" /></figure><p>Here, we can see our existing <strong>Active</strong> relationship between the <strong>Hours</strong> table and the <strong>People</strong> table, including the columns involved in the relationship in parentheses.</p><p>From this dialog, we can <strong>Edit</strong> or <strong>Delete</strong> the relationship or have Power BI attempt to <strong>Autodetect</strong> relationships between tables.</p><p>Power BI can sometimes autodetect relationships between tables based on the column names and row values.</p><ul><li>Select the <strong>+ New relationship</strong> button. This displays the <strong>New relationship</strong> dialog.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*mSMOkbSCKnJNpHqCDccgoA.png" /></figure><ul><li>In the first drop-down menu, choose the <strong>Hours</strong> table. A preview of the table will be displayed.</li><li>Click the <strong>Date</strong> column.</li><li>Choose <strong>Calendar</strong> in the second drop-down menu. A preview of this table is displayed.</li><li>Choose the <strong>Date</strong> column from this table. Power BI detects the appropriate <strong>Cardinality</strong> and <strong>Cross filter direction</strong> values. Since there are no other relationships between these tables, Power BI checks the <strong>Make this relationship active</strong> checkbox.</li><li>Click the <strong>Save</strong> button to create this relationship. Note that this new relationship now appears in the <strong>Manage relationships</strong> dialog.</li><li>Click the <strong>Close</strong> button to close the <strong>Manage relationships</strong> dialog. In the canvas, there will now be a relationship line linking the <strong>Calendar</strong> table to the <strong>Hours</strong> table.</li></ul><p>Now, you have successfully linked the three separate tables to create a semantic model.</p><p>For now, we won’t link the <strong>Budgets and Forecasts</strong> table within our semantic model.</p><h4>Exploring the Semantic Model</h4><p>Before we move on, let’s do some exploration of our data in order to understand our data, our semantic model, and how this data can ultimately be viewed by end users.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Start by clicking on the <strong>Report</strong> view in the <strong>Views</strong> bar.</li><li>At the bottom of the report canvas, click the plus (<strong>+</strong>) icon next to <strong>Page 1</strong>. This creates a new blank page, <strong>Page 2</strong>. Double-click <strong>Page 2</strong> and rename it <strong>Utilization</strong>, and then press the <em>Enter </em>key. This changes the name of the page to <strong>Utilization</strong>.</li><li>Expand the <strong>People</strong> table in the <strong>Data</strong> pane by clicking the small arrow to the left of the <strong>People </strong>table. Check the box next to the <strong>Name</strong> field. This creates a <strong>Table</strong> visualization on our report canvas with the names of employees. Use the sizing handles for this visualization to resize the table to take up the entire page.</li><li>Expand the <strong>Hours</strong> table. Make sure that the table visual is selected and then check the box next to the <strong>Hours</strong> field. The number of hours reported by each employee is shown next to their name. This occurs because of the relationship between our <strong>People</strong> table and our <strong>Hours </strong>table. Because these tables are joined by a relationship based on the ID of each employee, we can use fields from both tables in visualizations. Due to this, the rows in the <strong>Hours</strong> tables are automatically filtered based on this relationship.</li></ul><p>Keep in mind that when the <strong>Table</strong> visualization is selected, the <strong>Hours</strong> and <strong>People</strong> tables have small checkmarks next to them.</p><p>This indicates that the visualization contains fields from these tables.</p><ul><li>We know that the <strong>Category</strong> field of the hours is important, regardless of whether the hours are billable or not. With the table selected, click on the <strong>Matrix</strong> visualization in the <strong>Visualizations </strong>pane. This icon is to the immediate right of the highlighted <strong>Table</strong> visualization. Keep in mind that the <strong>Build visual</strong> pane changes from just displaying a <strong>Values</strong> field well to now containing field wells for <strong>Rows</strong>, <strong>Columns</strong>, and <strong>Values</strong>. Our <strong>Name</strong> field is now under <strong>Rows</strong>, while our <strong>Hours</strong> field is under <strong>Values </strong>and shows up as <strong>Sum of Hours</strong>.</li><li>From the <strong>Hours</strong> table, click on <strong>Category</strong> and drag and drop this field into the <strong>Columns</strong> field well. We can now see a breakdown of the hours for each employee by category.</li></ul><p>It is now obvious that we can calculate a simple version of our utilization metric by taking the number of <strong>Billable</strong> hours for each employee and dividing them by the <strong>Total</strong> number of hours for each employee. Save your work before continuing.</p><h3>Creating Calculations</h3><p>We now have a workable semantic model that contains all of the raw data we will need to report on utilization.</p><p>Recall that, in the <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, with the rollout of unlimited <strong>Paid Time Off</strong> (<strong>PTO</strong>), it is imperative that employee utilization be tracked closely.</p><p>Utilization in this context is a calculation that involves the ratio of billable time versus the total time (billable and non-billable).</p><p>From experience, the organization knows that, in order to remain profitable, the target utilization must be 80%.</p><p>Therefore, our goal is to create this utilization calculation.</p><h4>Calculated Columns</h4><p>Calculated columns are additional columns that are created in semantic model tables through the use of the <strong>DAX</strong> formula language.</p><p>Calculated columns are computed for each row in a table at the time of the calculated column’s creation, as well as during the refresh process.</p><p>Hence, the data refresh process executes the queries defined in <strong>Power Query Editor</strong>.</p><p>These queries create corresponding tables and/ or refresh the data in the semantic model.</p><p>Then, Power BI recalculates any DAX calculated columns for each row in the table.</p><p>This means that calculated columns are always up to date, based on the latest data that’s loaded into the semantic model.</p><p>This also means that updates to the calculations only occur as part of the data refresh process.</p><p>In other words, user interactivity, such as interacting with slicers or the application of filters, does not change the calculation of a calculated column for a row.</p><h4><strong>Understanding the Context for Calculated Columns</strong></h4><blockquote>Follow these steps to create a calculated column:</blockquote><ul><li>Click on the <strong>Table </strong>view in the <strong>Views</strong> bar.</li><li>Click on the <strong>Hours</strong> table in the <strong>Data</strong> pane. From the ribbon, choose the <strong>Table tools</strong> tab and then <strong>New column</strong> in the <strong>Calculations</strong> section. The formula bar is populated by <strong>Column =</strong>, and a new field called <strong>Column</strong> appears in the <strong>Data</strong> pane.</li></ul><p>Click the formula bar, enter this formula, and press the <strong>Enter </strong>key.</p><pre>Column = SUM([Hours])</pre><p>A quick look at the results shows us that something is clearly not correct.</p><p>The same number appears for every row in the table! We can see that this is the case by clicking on the drop-down arrow in the header for <strong>Column</strong>.</p><p>Keep in mind that only a single value appears in the filter area — that is, <strong>177997.15.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*RkHt98de8NSW00uBn80Yuw.png" /></figure><p>To understand what is going on here, it is important to understand the concept of evaluation context.</p><p>Evaluation context is the context in which a DAX formula evaluates a calculation.</p><p>There are two types of evaluation contexts in DAX — row and filter contexts.</p><p>Calculated columns, by default, evaluate within what is called row context.</p><p>Row context means that when a DAX calculation evaluates, it only considers the current row, and nothing else.</p><p>However, certain functions, such as SUM, override this default context.</p><p>In this case, the SUM function is overriding the row context of the calculated column and imposing a filter context of the entire table.</p><p>Hence, the output for each of the rows is the sum of all of the hours in the entire table.</p><p>All of the standard aggregation functions — that is, SUM, AVERAGE, MAXIMUM, MINIMUM, COUNT, and so on — exhibit this behavior in calculated columns.</p><h4>In order to see row context in action, create another new calculated column and enter this formula:</h4><pre>Column 2 = [Hours] / [TotalHours]</pre><p>In this calculation, the TotalHours column contains the total number of hours that were reported during the entire reporting period specified by the PeriodStartDate and PeriodEndDate columns.</p><p>Because no functions have been used that change the evaluation context from row to filter, only the current row is considered during the evaluation of the formula.</p><p>Hence, this formula simply divides the Hours column in each row by the TotalHours column in each row.</p><p>Now, if we click on the drop-down arrow for <strong>Column 2</strong>, we will see that there are many different values.</p><h4><strong>Creating Calculated Columns for Utilization</strong></h4><p>For the purposes of calculating utilization, we want the total hours billed by an employee divided by the total hours reported by an employee.</p><p>In order to get the first part of this — that is, the total hours billed — we need to create a third calculated column using this formula.</p><pre>Column 3 =<br> VAR __Employee = [EmployeeID]<br> VAR __Table =<br> FILTER(<br> ALL(&#39;Hours&#39;),<br> [Category] = &quot;Billable&quot; &amp;&amp; [EmployeeID] = __Employee<br> )<br> VAR __Result = SUMX( __Table, [Hours] )<br>RETURN<br> __Result</pre><p>Use <em>Shift</em> + <em>Enter</em> and the <em>Tab</em> keys to create the correct formatting. <em>Shift</em> + <em>Enter</em> inserts a new line or break, while <em>Tab</em> indents text that’s entered.</p><p>Keep in mind the use of VAR and RETURN in this formula. VAR and RETURN are paired functions in DAX, which means that once VAR is used, there must be a RETURN statement as well.</p><p>VAR allows the creation of temporary values or variables within a DAX formula.</p><p>These variables can be referenced within the rest of the DAX formula.</p><p>It is a good idea to prefix variable names with a single or double underscore in order to ensure that you do not run afoul of DAX reserved words.</p><p>The first variable, __Employee simply returns the value of the EmployeeID column for the current row using row context.</p><p>The next variable, __Table uses filter context to filter the Hours table to just the rows that have a <strong>Category</strong> of <strong>Billable</strong> and an EmployeeID that equals the __Employee variable.</p><p>The FILTER function takes two parameters.</p><p>The first parameter is the Hours table and the second is the filter clause.</p><p>The ALL function returns an entire table stripped of all of its rows and filters.</p><p>Although technically not required in this context, the ALL function ensures that we are operating against all of the rows in the table.</p><p>The second parameter is the applied filter.</p><p>This filter actually contains two parts joined by logical AND criteria, &amp;&amp;.</p><p>In DAX, &amp;&amp; is a logical AND operator, while || is a logical OR operator.</p><p>Hence, the first part ensures that the table that’s returned by the FILTER function only contains rows that have a <strong>Category</strong> value of <strong>Billable</strong>.</p><p>The second part ensures that the table that’s returned by the FILTER function also only contains rows for the employee in the current row.</p><p>The final variable, __Result uses the SUMX function.</p><p>The SUMX function takes two parameters: a table and a numeric column.</p><p>These parameters are separated by a comma (,). The SUMX function iterates over the specified table and sums the specified column.</p><p>Hence, in the preceding formula, the first parameter is the __Table variable, while the second parameter is simply the Hours column.</p><h4>Therefore, the <strong>Column 3</strong> formula can be read in the following way:</h4><ul><li>Save the current row’s EmployeeID value into a variable called __Employee.</li><li>Take the entire table (ALL) and filter this table down so that it only has rows where the <strong>Category </strong>column has a value of <strong>Billable</strong> and rows where the EmployeeID column matches the current row value for EmployeeID.</li><li>Sum the Hours column for this filtered table and store it in the variable __Result.</li><li>Use a RETURN statement to return the value of the __Result variable. Each row for an employee should return the exact same numeric value, which is the total hours that were reported by that employee that were <strong>Billable</strong> hours.</li></ul><p>For the second part — that is, the total number of hours reported by an employee — we simply need to create another new column with a slight modification to remove the filter for only billable hours.</p><blockquote>This column can be written with this formula:</blockquote><pre>Column 4 =<br> VAR __Employee = [EmployeeID]<br> VAR __Table =<br> FILTER(<br> ALL(&#39;Hours&#39;),<br> [EmployeeID] = __Employee<br> )<br> VAR __Result = SUMX( __Table, [Hours])<br>RETURN<br> __Result</pre><p>Finally, to create our utilization calculation, create a new calculated column that utilizes row context.</p><pre>Column 5 = DIVIDE([Column 3], [Column 4], 0)</pre><p>While the preceding formula could have been written as Column 5 = [Column 3] / [Column 4], it is a good idea to use the DIVIDE function instead of the divide (/) operator.</p><p>The DIVIDE function takes a third parameter, which allows for the return of an alternate number or blank value instead of an error in the event of an attempt to divide by zero.</p><p>We can now select <strong>Column 5</strong> by clicking on its header and change its formatting to be a percentage.</p><p>To change the column to a percentage, we need to go to the <strong>Formatting</strong> section of the <strong>Column tools </strong>tab in the ribbon.</p><p>From here, select the <strong>%</strong> icon. Now that we have the desired calculation for utilization in <strong>Column 5</strong>, we can clean up some of our previously created columns.</p><blockquote>To perform this cleanup, execute the following step:</blockquote><ul><li>Right-click the header for <strong>Column</strong> and choose <strong>Delete</strong>.</li><li>Confirm the deletion of this column in the <strong>Delete column</strong> dialog box by clicking <strong>Yes</strong>.</li><li>Repeat this procedure for <strong>Column 2</strong>.</li><li>Double-click the TotalHours column and rename this column TotalHoursInPeriod.</li><li>Rename <strong>Column 3 </strong>TotalBillableHours, <strong>Column 4 </strong>TotalHours, and <strong>Column 5 </strong>% Utilization.</li></ul><p>We are now ready to use these new calculated columns in visualizations.</p><blockquote>To use these columns in visuals, do the following:</blockquote><ul><li>Click on the <strong>Report</strong> view in the <strong>Views</strong> bar.</li><li>Shrink the existing matrix visualization horizontally to create space on the report canvas.</li><li>Click on an empty portion of the report canvas to deselect the existing matrix visual. Click <strong>Name </strong>from the <strong>People</strong> table to create a new table visualization in the blank area of the report canvas.</li><li>With this new table selected, click on <strong>TotalBillableHours</strong>, <strong>TotalHours</strong>, and <strong>% Utilization</strong> from the <strong>Hours</strong> table to add these to this second table visualization.</li></ul><p>Keep in mind that the values that are returned in this second table are really large.</p><p>This is because the default aggregation for numeric fields is <strong>Sum</strong>.</p><p>Since all of the rows for each employee contain our desired number, summing these values doesn’t make sense.</p><h4>To correct this, do the following:</h4><ul><li>In the <strong>Values</strong> field well of the <strong>Visualizations</strong> pane, select the drop-down arrow next to <strong>Sum of TotalBillableHours</strong> and choose <strong>Average</strong> instead of <strong>Sum</strong> as the aggregation.</li><li>Repeat this procedure for <strong>Sum of TotalHours</strong> and <strong>Sum of % Utilization</strong>.</li></ul><p>Continuing with the scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Planning Projects with Power BI</em></strong></a>, Pam is initially happy with the utilization calculation that she has created and decides to share her progress with her colleague, Mike, who is also in the finance department.</p><p>Mike is impressed by the work so far, but as they start to talk through the utilization calculation, they start to identify some potential problems.</p><p>First, the utilization calculation is only taking into account the hours reported, not the potential billable hours.</p><p>For example, if a user only reports 30 total hours within a particular week when there are really 40 potential billable hours for that week, then the current utilization calculation will be incorrect.</p><p>Furthermore, managers will likely want to view utilization by particular weeks, months, or a range of dates.</p><p>The current utilization calculation is essentially static and based on all of the data within the <strong>Hours </strong>table.</p><p>Since calculated columns are only calculated at the time of their creation and during data refresh, it is not possible to have the calculations be dynamically based on user interaction with the report.</p><p>Clearly, calculated columns are not the way to go.</p><p>Pam needs to rethink how the utilization calculation occurs within Power BI.</p><h4><strong>Using Calculated Columns to Resolve Data Granularity Issue</strong></h4><p>While calculated columns may not be a fit for Pam’s utilization calculation, calculated columns are useful in other ways.</p><p>Recall that we did not create a relationship for the <strong>Budgets and Forecasts</strong> table.</p><p>The main issue here is that the <strong>Budgets and Forecasts</strong> table has a data <strong>granularity</strong> of month while our <strong>Hours</strong> and <strong>Calendar</strong> tables have a data granularity of day.</p><p>However, we can resolve this data granularity issue through the use of calculated columns as well as a calculated table.</p><p>To resolve the data granularity issue, start by creating the following calculated column in the <strong>Budgets and Forecasts</strong> table.</p><pre>MonthYear = [Month] &amp; &quot;2019</pre><p>We use DAX’s &amp; concatenation operator to concatenate each row’s Month column value with the text value 2019 since the <strong>Budgets and Forecasts</strong> data is for the year <strong>2019</strong>.</p><p>Similarly, we can create a calculated column in the <strong>Calendar</strong> table using the following formula.</p><pre>MonthYear = LEFT([Month], 3) &amp; [Year]</pre><p>We used the LEFT function to get the first three letters of the Month column since the <strong>Calendar </strong>table uses the full name of the month versus an abbreviation, as with the <strong>Budgets and Forecasts</strong> table.</p><p>In addition, we can simply concatenate this with the <strong>Year</strong> column for each row.</p><p>We can now use the MonthYear columns in the <strong>Budgets and Forecasts</strong> table and the <strong>Calendar</strong> table to create a relationship between the tables.</p><p>However, if we do that, we receive a warning when creating the relationship.</p><p><strong>This relationship has cardinality Many-Many. This should only be used if it is expected that neither column (MonthYear and MonthYear) contains unique values, and that the significantly different behavior of Many-many relationships is understood.</strong></p><p>Since the <strong>Budgets and Forecasts</strong> table contains a budget for each city for each month, there are multiple rows with duplicate MonthYear values.</p><p>The same is true for the <strong>Calendar</strong> table.</p><p>Relationships with <strong>Many-Many</strong> cardinality are allowed in Power BI since the July 2018 release of Power BI Desktop.</p><p>They can be more complex than other relationship cardinalities, but with caution are acceptable to use.</p><p>Click <strong>Save</strong> to create the relationship. Keep in mind that the relationship has a <strong>Cardinality</strong> value of <strong>Many-to-many (*:*)</strong> and a filter direction of <strong>Both</strong>.</p><p>Now is a good time to save your work before continuing with an exploration of Measures.</p><h4>Measures</h4><p>Pam needs to rethink her utilization calculation because calculated columns are static once data is loaded or refreshed.</p><p>Luckily, there are DAX calculations that are dynamically calculated based on user interaction. These calculations are called <strong>measures</strong>.</p><p>Measures can be either implicit or explicit.</p><p>Implicit measures are created automatically by Power BI whenever a numeric field is used within a visualization and are sometimes created for text fields as well, within certain visualizations in certain circumstances.</p><p>These implicit measures include the standard aggregations — such as sum, average, maximum, minimum, distinct count, count, standard deviation, variance, and median for numeric fields, and first, last, distinct count, and count for text fields.</p><p>We observed implicit measures when we created our table visualizations in the previous section, <em>Calculated columns</em>.</p><p>When we placed the TotalBillableHours, TotalHours, and % Utilization columns in our table, the values were calculated via an implicit Sum measure that we changed to Average.</p><p>However, measures can also be explicitly defined by a user to have very specific, and potentially quite complex, calculations.</p><p>As with calculated columns, writing explicit measures involves DAX code.</p><p>However, unlike calculated columns, measures are dynamic in their calculation so that measures are calculated just in time, every time there is an interaction with the end user.</p><p>Measures are not recalculated during data refresh but rather every time a user views or interacts with a report.</p><p>This makes measures truly dynamic, and hence they are perfect for a scenario where end users may change the evaluation context on the fly.</p><h4><strong>Understanding the Context for Measurements</strong></h4><blockquote>To demonstrate how measures are different compared to calculated columns, execute the following steps:</blockquote><ul><li>In the <strong>Report</strong> view, create a new page by right-clicking the <strong>Utilization</strong> page tab and selecting <strong>Duplicate</strong>. A new page called <strong>Duplicate of Utilization</strong> is created.</li><li>Remove the matrix visualization on the left by selecting the matrix and then clicking the <em>Delete </em>or <em>Del</em> key. This deletes the matrix visual from the canvas. Use the sizing handles to expand the remaining table visualization so that the table visual takes up the entire page.</li><li>Right-click the <strong>Hours</strong> table in the <strong>Data</strong> pane and choose <strong>New measure</strong>. The formula bar is activated. In the formula bar, enter the following formula.</li></ul><pre>Measure =<br> VAR __Table =<br> FILTER(<br> &#39;Hours&#39;,<br> &#39;Hours&#39;[Category] = &quot;Billable&quot;<br> )<br> VAR __Result = SUMX( __Table, [Hours] )<br>RETURN<br> __Result</pre><p>Keep in mind that the formula for our Measure is extremely similar to the formula for our TotalBillableHours column from the <em>Creating calculated columns for utilization</em> section.</p><p>The main difference is that we removed the EmployeeId filter clause.</p><p>While not strictly required in all circumstances, since measures can exist in any table, it is a good practice to refer to any column within a measure using both the table name and column name.</p><p>If no table name is specified for a column, the measure assumes the current table, and this can cause problems when moving measures between tables when duplicate column names exist in multiple tables.</p><p>It is important to understand that, unlike calculated columns, measures have no implicit row context, only filter context.</p><p>This means that when measures refer to a column in a table, multiple rows are being referenced.</p><p>Since there are multiple rows involved when referencing columns in a measure, we must use an explicit aggregation function such as SUM, AVERAGE, MAX, MIN, and so on.</p><p>This also means that while measures can be used within a calculated column formula, the row context for that calculated column simply becomes the initial filter context for the measure calculation.</p><h4>We can now use this measure in our visualization by performing the following steps:</h4><ul><li>Place this <strong>Measure</strong> into the table visualization on the <strong>Duplicate of Utilization</strong> page and note that the results displayed are exactly the same numbers that we have for the average of our calculated column, Average of TotalBillableHours.</li><li>Shrink this table visualization horizontally.</li><li>Click on a blank area on the canvas and then select the <strong>Slicer</strong> visualization from the <strong>Visualizations</strong> pane.</li><li>Place <strong>Month</strong> from our <strong>Calendar</strong> table into the field well for our slicer.</li><li>Select <strong>March</strong> from within the slicer.</li></ul><p>By doing this, we can see how calculated columns and measures are different.</p><p>Observe that the value for the average of TotalBillableHours did not change, but the value for <strong>Measure</strong> is now much lower.</p><p>If we select <strong>February</strong> or <strong>January</strong> in our slicer, again, the calculated column values do not change, while the values for <strong>Measure</strong> do.</p><p>To understand what is happening, it is important to recognize that, while the slicer filters the rows in the <strong>Hours</strong> table for both the calculated column and the measure, since the calculated column has the same value for every row per employee, the average of those values never changes.</p><p>With the measure, the summation calculation specified in the formula is performed within the combined context of the visualizations and the DAX formula to create a truly dynamic evaluation context.</p><h4>This evaluation context actually comes from three different sources, as follows:</h4><ul><li>The first source is the table visualization itself. Because we have the <strong>Name</strong> value of the employee in our table, this creates a filter context where <strong>Measure</strong> only considers rows within the <strong>Hours</strong> table that are related to the <strong>Name</strong> value of the employee from the <strong>People</strong> table for each row in the table visualization.</li><li>The second source is the <strong>Slicer</strong> visualization. By selecting a particular <strong>Month</strong> value in the slicer, because of the relationship between the <strong>Calendar</strong> table and the <strong>Hours</strong> table, this adds extra filter context where the measure also only considers rows within the <strong>Hours</strong> table that are related to the <strong>Month</strong> value that’s selected from our <strong>Calendar</strong> table in the slicer.</li><li>Finally, our explicit definition of the measure adds a final filter context where the measure only considers rows in the <strong>Hours</strong> table that have a <strong>Category</strong> value of <strong>Billable</strong>.</li></ul><h4>Creating Measures for Utilization</h4><p>Measures can exist in any table, it is often considered good practice to place measures in their own table for ease of reference and use.</p><blockquote>To create such a table, follow these steps:</blockquote><ul><li>Select the <strong>Home</strong> tab in the ribbon. Then, in the <strong>Data</strong> section, choose <strong>Get data</strong> and then <strong>Blank query</strong>. This opens <strong>Power Query Editor</strong>.</li><li>Rename <strong>Query1</strong> to <strong>Calculations</strong> in the <strong>Query Settings</strong> pane by editing the <strong>Name</strong> property.</li><li>Right-click the <strong>Calculations</strong> query in the <strong>Queries</strong> pane and uncheck <strong>Include in report refresh</strong>, as there is no reason to refresh a blank query.</li><li>From the ribbon, choose <strong>Close &amp; Apply</strong>. Note that a new table, <strong>Calculations</strong>, appears below the <strong>Budgets and Forecasts</strong> table in the <strong>Data</strong> pane.</li><li>Back in <strong>Power BI Desktop</strong>, in either the <strong>Report</strong> or the <strong>Table </strong>view, select <strong>Measure</strong> in the <strong>Hours </strong>table by clicking on the name <strong>Measure</strong> (not the checkbox).</li><li>From the <strong>Measure tools</strong> tab of the ribbon, locate the <strong>Home table</strong> field in the <strong>Structure</strong> section of the ribbon. Then, from the drop-down menu, choose <strong>Calculations</strong>. <strong>Measure</strong> disappears from the <strong>Hours</strong> table and now appears in the <strong>Calculations</strong> table, along with a column called <strong>Calculations</strong>.</li><li>Right-click the <strong>Calculations</strong> column (not the table) and choose <strong>Hide</strong>. Note that the icon for the <strong>Calculations</strong> table changes and the <strong>Calculations</strong> table now appears at the top of the <strong>Data</strong> pane.</li><li>Right-click <strong>Measure</strong> in the <strong>Calculations</strong> table and <strong>Rename</strong> this measure <strong>Total Billable Hours</strong>.</li></ul><p>Because measures can exist in any table, the name of a measure should not be the same as the name of any table, column, or any other measure within a semantic model.</p><p>There are many different schemes for helping to ensure uniqueness.</p><p>A common practice is to prefix the names of measures with something such as an underscore (_), m, or #, in order to help guarantee uniqueness and denote that this is a measure.</p><p>Some users utilize multiple measure prefixes, such as # to denote numeric measures, $ to denote measures formatted as currency, % for percentages, and @ for text.</p><p>Prefixing measure names with special characters also has the benefit of keeping these measures at the top of tables.</p><p>However, there are other schools of thought that specify that measure names should be intuitive to the end user, and this is the approach we use here.</p><p>The <strong>Total Billable Hours</strong> measure contains the calculation that we need for the numerator in our utilization calculation.</p><p>Now, we need to create a measure for the denominator of our utilization calculation — that is, the total potential billable hours available within a period.</p><p>We know that we cannot simply use the total hours reported, though, and that we must calculate the number of potential billable hours for any period of time in a different way.</p><p>To do this, we must have an independent way of calculating the number of hours and thus utilization within any arbitrary period of days.</p><blockquote>Follow these steps to do so:</blockquote><ul><li>While in the <strong>Report</strong> or <strong>Table </strong>view, right-click the <strong>Calendar</strong> table in the <strong>Data</strong> pane and choose <strong>New column</strong>. In the formula bar, enter the following formula.</li></ul><pre>WorkHours = IF( [IsWorkDay], 8, 0 )</pre><p>Recall that we previously created a calculated column called IsWorkDay that returned <strong>1</strong> for Monday, Tuesday, Wednesday, Thursday, and Friday and <strong>0</strong> for Saturday and Sunday.</p><p>Hence, this calculated column uses row context to return either <strong>8</strong> or <strong>0</strong> for each row in the <strong>Calendar</strong> table.</p><ul><li>Right-click the <strong>Calculations</strong> table, choose <strong>New measure</strong>, and enter the following formula in the formula bar.</li></ul><pre>Total Hours = SUM( &#39;Calendar&#39;[WorkHours] )</pre><p>As mentioned in the <em>Understanding the context for measures</em> section, any reference to a column within a measure formula must be done within the explicit context of an aggregating function.</p><p>In this case, we use the SUM function since we want the total potential number of billable hours within a period of days.</p><ul><li>Right-click the <strong>Calculations</strong> table again, select <strong>New measure</strong>, and enter the following formula in the formula bar.</li></ul><pre>% Utilization =<br> DIVIDE(<br> [Total Billable Hours],<br> [Total Hours],<br> 0<br> )</pre><p>Keep in mind that, when referencing other measures within a measure formula, we don’t need to use any kind of aggregation function because measures, by definition, must include an aggregation.</p><ul><li>While in the <strong>Report</strong> view, uncheck any selected values in the <strong>Month</strong> slicer.</li><li>Select the <strong>% Utilization</strong> measure in the <strong>Data</strong> pane (not the checkmark box).</li><li>From the <strong>Measure tools</strong> tab in the ribbon, select the <strong>%</strong> button from the <strong>Formatting</strong> section to format the <strong>% Utilization</strong> measure as a percentage.</li><li>Select the table visualization and add the <strong>Total Hours</strong> and <strong>% Utilization</strong> measures to the table. Observe that the table visualization exhibits some strange behavior. Many additional rows are displayed in the table; <strong>Total Hours</strong> for every row is very large and the same for each row — that is, 6,256. Considering that there are generally only about 2,080 working hours in a year, something is definitely wrong.</li></ul><p>The issue here comes back to the filter context for our <strong>Total Hours</strong> measure. Our measure formula only takes into account the WorkHours column in our <strong>Calendar</strong> table.</p><p>However, because the relationship between our <strong>Calendar</strong> table and our <strong>Hours</strong> table is unidirectional from <strong>Calendar</strong> to <strong>Hours</strong>, the <strong>Calendar</strong> table is not being filtered based on the employee.</p><p>Hence, all of the rows within the <strong>Calendar </strong>table are being included in the calculation for <strong>Total Hours</strong>, and hence, we are returning a result even when the employee is a past employee who has not reported hours within our <strong>Hours</strong> table.</p><p>In addition, even for employees who do have reported hours within the <strong>Hours</strong> table, all of the rows within the <strong>Calendar</strong> table are being included, versus just those dates that are being included in our <strong>Hours </strong>table for each employee.</p><blockquote>Luckily, there is a simple fix for this. Follow these steps:</blockquote><ul><li>While in the <strong>Report</strong> view, select the <strong>Modeling</strong> tab of the ribbon and then choose <strong>Manage Relationships</strong> in the <strong>Relationships</strong> section.</li><li>Select the <strong>Hours (Date)</strong> to <strong>Calendar (Date)</strong> relationship by clicking the checkbox.</li><li>Locate the <strong>Cross-filter direction</strong> option in the <strong>Edit relationship</strong> dialog and change this from <strong>Single</strong> to <strong>Both</strong>.</li><li>Finally, click the <strong>Save</strong> button and then the <strong>Close</strong> button.</li></ul><p>The table visualization refreshes and any past employees disappear from the visualization.</p><p>The <strong>Total Hours</strong> measure is now much closer to the values found in the Average of TotalHours column, although there are differences, and those differences are expected.</p><p>Finally, <strong>% Utilization</strong> also generally looks correct, with most values being 104% or lower.</p><p>By changing the <strong>Cross filter direction</strong> setting to <strong>Both</strong> in our relationship, we added context to the calculation of our <strong>Total Hours</strong> measure so that, within the context of our table visual, the <strong>Calendar </strong>table becomes filtered based on the rows in the <strong>Hours</strong> table for each employee.</p><p>Looking more closely at our table visualization, we can see that the <strong>Total</strong> line for the table has a massive number for utilization — <strong>2389.55%</strong>.</p><p>Obviously, this is not correct — well, yes and no.</p><p>The calculation is correct, but not what is expected or desired.</p><p>Keep in mind that the <strong>Total</strong> value for <strong>Total Billable Hours</strong> is <strong>149,490.15</strong>, and that the <strong>Total</strong> value for <strong>Total Hours</strong> is <strong>6256</strong>.</p><p>Dividing these two numbers does indeed return <strong>2389.55%</strong>.</p><p>However, what we would expect is that the number for <strong>Total Billable Hours</strong> and <strong>Total Hours</strong> would simply be the sum of all of the numbers in our table.</p><p>Unfortunately, the <strong>Total</strong> lines in the table and matrix visualizations do not work that way. The problem, again, is the filter context.</p><p>The <strong>Total</strong> line in any table or matrix visualization is always evaluated in the context of ALL, and this results in what is commonly called the <strong>measure totals problem</strong>.</p><p>In the case of the <strong>Total Hours</strong> measure, the ALL context simply returns the sum of the WorkHours column from all of the rows from our <strong>Calendar</strong> table, resulting in <strong>6256</strong>.</p><p>However, we actually need this number to be the sum of all of the available work hours, iterating over the available work hours of every employee.</p><p>This problem does not exist in the other core visuals within Power BI, and despite repeated and concerted attempts by the community to provide a toggle or other easy means to change total behavior in table and matrix visuals, Microsoft has thus far refused to address the issue in any meaningful way.</p><p>Luckily, there is a standard technique for solving the measure totals problem, although it does add some complexity to our DAX code.</p><h4>To implement this technique, follow these steps:</h4><ul><li>Rename the <strong>Total Hours</strong> measure to <strong>Total Hours by Employee</strong>.</li><li>Create a new <strong>Total Hours</strong> measure using the following formula.</li></ul><pre>Total Hours =<br> VAR __Table =<br> SUMMARIZE(<br> &#39;People&#39;, &#39;People&#39;[Name],<br> &quot;__Hours&quot;, [Total Hours by Employee]<br> )<br> VAR __Result = SUMX( __Table, [__Hours] )<br>RETURN<br> __Result</pre><ul><li>Since we renamed our original <strong>Total Hours</strong> measure to <strong>Total Hours by Employee</strong>, Power BI also modified the <strong>% Utilization</strong> measure to reflect this name change. Therefore, edit the <strong>% Utilization</strong> measure to again be the original formula.</li></ul><pre>% Utilization =<br> DIVIDE(<br> [Total Billable Hours],<br> [Total Hours],<br> 0<br> )</pre><ul><li>Add the new <strong>Total Hours</strong> measure to the table visualization.</li></ul><p>The formula creates a calculated table variable (__Table) within the DAX formula using SUMMARIZE, which emulates exactly how our information is displayed within our table visual.</p><p>The SUMMARIZE function takes the name of a table, which in this case is <strong>People</strong>, the name of one or more columns within that table, which in this case is People[Name], and then allows for the creation of additional columns, in this case, __Hours, with some kind of aggregation being performed, which in this case is simply a reference to our <strong>Total Hours by Employee</strong> measure.</p><p>You can think of the SUMMARIZE function as a way to group rows within a table and apply aggregations to those groups of rows.</p><p>This calculated table is then used as input to the SUMX function.</p><p>By using this, we simply sum the hours in our __Hours column.</p><p>It is considered good practice to prefix things such as calculated tables, column names, and variables created within DAX formulas with something such as an underscore, a double underscore, or other identifying character or characters.</p><p>This assists with readability and can reduce confusion when referring to objects within DAX formulas.</p><p>The net effect of this calculation is that for individual employee rows, the SUMMARIZE function returns a single row, the current row of the table visual.</p><p>However, for the <strong>Total</strong> row, the SUMMARIZE function returns all of the rows of the table visual with their summarized <strong>Total Hours by Employee</strong> measure.</p><p>We can now observe that our <strong>Total</strong> line in our table visualization now appears to be correct, with a value for <strong>Total Hours</strong> of <strong>178344</strong> and a total value for <strong>% Utilization</strong> of <strong>83.82%</strong>.</p><p>It should be noted that the <strong>Total Billable Hours</strong> measure does not exhibit the measure totals problem, while <strong>Total Hours by Employee</strong> does.</p><p>Hence, you may be curious about what determines whether a measure will exhibit this problem or not.</p><p>Unfortunately, there is no straightforward answer to this question.</p><p>The basic issue is that the measures in the <strong>Total</strong> rows get evaluated in the context of all the rows in the current context.</p><p>In other words, the measure is being aggregated for all of the rows in the current context for the total lines, not for each row individually in the current context, and then being aggregated.</p><p>Regardless, it is safe to assume that any measure could potentially exhibit the measure totals problem, and so you should always be diligent in checking the <strong>Total</strong> line when dealing with measures in table and matrix visualizations.</p><p>Looking more closely at our table visualization, we can observe that <strong>% Utilization</strong> is blank for some employees.</p><p>The easiest way to see this is to click twice on the <strong>% Utilization</strong> column header in the table visualization in order to sort the table in an ascending fashion.</p><p>This can also be done by selecting the table visualization and then clicking on the ellipses (<strong>…</strong>) in the upper-right or lower-right of the table visualization and choosing <strong>Sort ascending</strong>.</p><p>Blank values for <strong>% Utilization</strong> occur for employees who have no billable hours.</p><p>We don’t want <strong>% Utilization</strong> to be blank, but rather to display <strong>0.00%</strong> in such cases. Again, there is an easy fix for this.</p><p>In the <strong>Data</strong> pane, select the <strong>% Utilization</strong> measure in the <strong>Calculations</strong> table by clicking anywhere on the measure name except the checkbox.</p><p>The formula bar is displayed and lists the formula for the measure.</p><blockquote>Edit this formula to the following</blockquote><pre>% Utilization =<br> VAR __Utilization =<br> DIVIDE(<br> [Total Billable Hours],<br> [Total Hours],<br> 0<br> )<br> VAR __Result = __Utilization + 0<br>RETURN<br> __Result</pre><p>This edit to our <strong>% Utilization</strong> measure solves the issue of having blanks shown for % Utilization for employee rows.</p><p>Unfortunately, this has also reintroduced the issue of having past employees show up in our table visualization.</p><p>One final tweak to our % Utilization measure fixes this, as illustrated in the following code snippet.</p><pre>% Utilization =<br> VAR __Utilization =<br> DIVIDE(<br> [Total Billable Hours],<br> [Total Hours],<br> 0<br> )<br> VAR __Days = COUNTROWS( &#39;Hours&#39; )<br> VAR __Result =<br> IF(<br> ISBLANK( __Days ),<br> BLANK(),<br> __Utilization + 0<br> )<br>RETURN<br> __Result</pre><p>Our % Utilization measure now adds an additional variable, __Days.</p><p>The calculation for the __Days variable simply calculates the number of rows in the <strong>Hours</strong> table.</p><p>Hence, for employees with no rows in the <strong>Hours</strong> table, the value for __Days is nothing (BLANK).</p><p>The RETURN statement, therefore, checks whether __Days is blank (ISBLANK), and if so, returns nothing (BLANK). Otherwise, the __Utilization variable is returned, plus <strong>0</strong>.</p><p>Now that we have our calculations, we need to check our calculations and troubleshoot any issues we find.</p><h4>Visual Calculation</h4><p>Visual calculations are a recent feature introduced into Power BI Desktop that attempts to make certain types of calculations easier for end users.</p><blockquote>To see how visual calculations work, perform the following steps:</blockquote><ul><li>Save your work.</li><li>Go to <strong>File</strong> | <strong>Options and settings</strong> | <strong>Options</strong>.</li><li>Click on <strong>Preview features</strong>.</li><li>Scroll down, click the box next to <strong>Visual calculations</strong>, and then click the <strong>OK</strong> button.</li><li>Restarting Power BI Desktop is required to activate preview features. Close Power BI Desktop and then reopen Power BI Desktop with your file.</li><li>On the <strong>Duplicate of Utilization</strong> page, select the table visual and then, in the ribbon of the <strong>Home </strong>tab, in the <strong>Calculations</strong> section, choose <strong>New visual calculation</strong>.</li><li>In the formula bar, create the following formula.</li></ul><pre>Calculation = EXPANDALL( SUM( [Total Hours by Employee] ), ROWS )</pre><p>You can see in the preview for the table visual that the <strong>Total</strong> row for <strong>Calculation</strong> displays the correct value of <strong>177,665.00</strong> instead of the incorrect value for <strong>Total Hours by Employee</strong> of <strong>472</strong>.</p><p>Thus, in theory, instead of adding additional DAX to the <strong>Total Hours</strong> measure that corrected the <strong>Total </strong>row, we could instead have used the original version and then added a similar visual calculation to arrive at the correct value.</p><p>However, at that point, all subsequent calculations involving the <strong>Total Hours </strong>measure would instead need to be additional visual calculations based upon the visual calculation for <strong>Total Hours</strong>.</p><p>In addition, there are other drawbacks to visual calculations. One, the original columns that visual calculations are based on must remain in the visual.</p><p>You can hide these columns, but they must be present in the visual in order for visual calculations to work.</p><p>In addition, visual calculations are not reusable between visualizations, as is the case with measures, and instead must be recreated.</p><p>Finally, visual calculations are still in preview and thus cannot be recommended for production reports.</p><p>Even if visual calculations become generally available, there is much debate within the Power BI community regarding the efficacy of visual calculations, governance, maintainability, and other concerns.</p><p>Use the <strong>Back to report</strong> button in the upper-left corner to return to the <strong>Report</strong> view before proceeding to the next section, where we will do some checking and troubleshooting.</p><h3>Checking and Troubleshooting</h3><p>Now that we have our calculations seemingly correct, it is important to take a closer look so that we can discover any anomalies or instances that might throw off the calculations.</p><h4>Boundary Cases</h4><p>A common method of performing checks is to look at boundary cases, or the maximums and minimums of our calculations.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Start by clicking on the <strong>% Utilization</strong> column header in our table visualization. This sorts the table in descending fashion, where our highest <strong>% Utilization</strong> number is at the top of the list. We can see what some anomalies of very high utilization might be, such as <strong>% Utilization</strong> at the top, which is <strong>175.00%</strong> for <strong>Cole, Camille</strong>.</li><li>To check this number, click on the <strong>Table </strong>view in the <strong>Views</strong> bar.</li><li>Click on the <strong>Hours</strong> table in the <strong>Data</strong> pane.</li><li>Find the EmployeeID field in the <strong>Hours</strong> table and click on the drop-down arrow in the column header.</li><li>Uncheck the <strong>(Select all)</strong> checkbox to unselect all of the values, and then scroll down and check the box next to <strong>CCOLE</strong>. You could also search for the value.</li><li>Click the <strong>OK</strong> button. We can see that <strong>4</strong> hours were billed on a <strong>Sunday</strong> and another <strong>10</strong> hours on a <strong>Friday</strong>. Therefore, this calculation is correct since there are only 8 potential billable hours between the two days, since Sundays are considered non-working days.</li><li>We can check the next highest case, which is for <strong>Perkins, Caitlen</strong>, by using the same process and deselecting <strong>CCOLE</strong> and selecting <strong>CPERKINS</strong>. Again, we can see multiple billable hours on Saturdays and Sundays. Hence, it appears that the maximums for our <strong>% Utilization</strong> calculation are actually correct.</li><li>Clicking back on the <strong>Report</strong> view, notice that while we have filtered the table in the <strong>Table </strong>view,</li><li>we can still see all of the data in the <strong>Report</strong> view. This is because filtering data in the <strong>Table </strong>view does not impact the <strong>Report</strong> view in any way. The filtering and sorting capabilities that are provided in the <strong>Table </strong>view are solely for the report author to use when verifying the data.</li><li>Now, click the header for <strong>% Utilization</strong> in the <strong>Table</strong> visualization again. The data is now sorted in ascending order, with the lowest values for <strong>% Utilization</strong> shown at the top.</li><li>There are numerous instances of <strong>0.00%</strong> values for cases where <strong>Total Billable Hours</strong> is blank.</li><li>However, there is one case for <strong>Irwin, Rachelle</strong> that shows <strong>0.00%</strong> for <strong>% Utilization</strong> but <strong>Total Billable Hours</strong> as <strong>6.00</strong>. We can filter for <strong>RIRWIN</strong> in the <strong>Table </strong>view of the <strong>Hours</strong> table by using the <strong>Search</strong> box just above the list of values that can be filtered.</li><li>We can see that the <strong>6</strong> hours were billed on a <strong>Sunday</strong>. Hence, our calculation is technically correct, and it is a good thing that we used the DIVIDE function with its ability to return a value in the case of a divide-by-zero.</li><li>Back in the <strong>Report</strong> view and continuing down the list of rows in the table visualization, the next potential anomaly is <strong>Beasley, Joni</strong>, who has only <strong>2 Total Billable Hours</strong> entries but <strong>368 Total Hours</strong> entries and thus a <strong>0.54%</strong> utilization. Again, by checking the <strong>Table </strong>view for <strong>JBEASLEY</strong>, we can see in the footer that there are <strong>71</strong> rows of reported hours, but that all of these rows except one are to a <strong>Category</strong> value other than <strong>Billable</strong>. A similar circumstance exists for <strong>BMACDONALD</strong> and <strong>SHESTER</strong>.</li></ul><p>With these checks now complete, we can reasonably conclude that, overall, our calculation is returning valid results.</p><h4>Slicing</h4><p>Another common technique that’s used for troubleshooting calculations is slicing.</p><p>To use this technique, you need to create multiple slicers to slice the data based on different criteria and then check the results and boundary cases for the sliced data.</p><blockquote>To employ this technique, follow these steps:</blockquote><ul><li>In the <strong>Report</strong> view, click <strong>March</strong> on the <strong>Month</strong> slicer. Here, we can see the curious case of <strong>Wagner, Letitia</strong>. This employee has an <strong>Average of TotalBillableHours</strong> entry of <strong>224</strong>, but a <strong>% Utilization</strong> entry of <strong>0.00%</strong>.</li><li>Check the data in the <strong>Table </strong>view by filtering the <strong>Hours</strong> table for <strong>LWAGNER</strong> and then right-clicking and sorting the <strong>Date</strong> column by <strong>Sort descending</strong>. We can see that <strong>LWAGNER</strong> had no billable hours in <strong>March</strong> but did have billable hours in <strong>February</strong> and <strong>January</strong>, hence explaining what we are seeing.</li><li>With <strong>March</strong> still selected, sort <strong>% Utilization</strong> by descending and observe <strong>Cox, Rex</strong> at the top of the list with <strong>151.17%</strong> for <strong>% Utilization</strong>. Checking the data for <strong>RCOX</strong>, we can see that this individual was regularly billing more than 8 hours per day in March and even billed on a Saturday, hence explaining the high utilization.</li><li>Back on the <strong>Report</strong> view, resize the <strong>Month</strong> slicer if necessary to free up space on the canvas.</li><li>Click on a blank area of the canvas, select the <strong>Slicer</strong> visualization, and this time, place the EmployeeType column from the <strong>People</strong> table into the slicer. This displays a slicer that includes <strong>ADMINISTRATION</strong>, <strong>ASSOCIATE</strong>, <strong>CONSULTANT</strong>, <strong>HOURLY</strong>, <strong>SALARY</strong>, and <strong>SUB-CONTRACTOR</strong>.</li></ul><p>Continuing with the scenario we introduced in <a href="https://medium.com/@info.codetitan/how-to-plan-projects-with-power-bi-7150bcfb5d21"><strong><em>How to Plan Projects with Power BI</em></strong></a>, Pam immediately notices a problem. <strong>ADMINISTRATION</strong>, <strong>ASSOCIATE</strong>, and <strong>CONSULTANT</strong> should not appear in the list.</p><p><strong>ADMINISTRATION</strong> is a designation for internal employees such as herself who never bill, while <strong>ASSOCIATE</strong> and <strong>CONSULTANT</strong> are old designations for employees that have not been used in years.</p><p>Pam doesn’t want these employees to be considered on any of the pages of the report.</p><blockquote>To fix this, follow these steps:</blockquote><ul><li>In the <strong>Report</strong> view, expand the <strong>Filters</strong> pane.</li><li>Drag EmployeeType from the <strong>People</strong> table to the <strong>Filters on all pages</strong> area of the report. An EmployeeType filter will be created.</li><li>In this filter, select only <strong>HOURLY</strong>, <strong>SALARY</strong>, and <strong>SUB-CONTRACTOR</strong>.</li><li>Now, select <strong>HOURLY</strong> in the slicer. Again, Pam notices an immediate issue. Some of the values for <strong>% Utilization</strong> displayed are not <strong>100.00%</strong>. Because <strong>HOURLY</strong> and <strong>SUB-CONTRACTOR</strong> employees are paid hourly, their <strong>% Utilization</strong> values should always be <strong>100.00%</strong> unless they have not billed any hours. This is because <strong>HOURLY</strong> and <strong>SUB-CONTRACTOR</strong> employees are only paid for the time they work. This can be fixed by tweaking our <strong>Total Hours</strong> measure.</li></ul><pre>Total Hours =<br> VAR __Table =<br> SUMMARIZE(<br> &#39;People&#39;, &#39;People&#39;[Name],<br> &quot;__Hours&quot;, [Total Hours by Employee]<br> )<br> VAR __Result =<br> SWITCH( MAX( &#39;People&#39;[EmployeeType] ),<br> &quot;HOURLY&quot;, [Total Billable Hours],<br> &quot;SUB-CONTRACTOR&quot;, [Total Billable Hours],<br> &quot;SALARY&quot;, SUMX( __Table, [__Hours] )<br> )<br>RETURN<br> __Result</pre><p>Here, we have used the SWITCH function to modify the calculation of the __Result variable.</p><p>The first parameter in a basic SWITCH function is an expression that returns a value.</p><p>The SWITCH statement can then have as many conditions and return value pairs as necessary before ending in a return value that is essentially none of the aforementioned.</p><p>To see how this works, take a look at the first parameter, MAX(‘People’[EmployeeType]).</p><p>This returns the EmployeeType value of the current row of the visualization.</p><p>Remember that, within measures, we must use an aggregation function when referring to columns.</p><p>Hence, we could have also used MIN instead of MAX since our expectation is that each employee is listed individually on a row of our visualization.</p><p>The next line checks to see whether the value that’s returned by this expression is <strong>HOURLY </strong>and, if so, simply returns the measure for <strong>Total Billable Hours</strong>.</p><p>The next line checks whether the value that’s returned is <strong>SUB-CONTRACTOR</strong> and, if so, also returns <strong>Total Billable Hours</strong>.</p><p>The next line under that checks to see whether the value that’s returned is <strong>SALARY</strong>; if so, our original code is used.</p><p>Finally, the last condition is the default condition if no other conditions are met.</p><p>In our case, we did not specify a default condition, and thus the implicit default condition returns nothing (<strong>BLANK</strong>) in the event that none of the other conditions are met.</p><p>Now, when we select either <strong>HOURLY</strong> or <strong>SUB-CONTRACTOR</strong> in our EmployeeType slicer and sort our table visualization in either direction according to <strong>% Utilization</strong>, we can see that all of the rows are <strong>100.00%</strong> except for a few <strong>HOURLY</strong> employees that display <strong>0.00%</strong>.</p><p>These <strong>HOURLY</strong> employees are essentially unutilized, which is useful information to know.</p><p>In addition, we can see that our <strong>Total</strong> line is also <strong>100.00%</strong> for both <strong>HOURLY</strong> and <strong>SUB-CONTRACTOR</strong> employees, which is as expected.</p><h4>Grouping</h4><p>As a final check, Pam wants to make sure that the <strong>% Utilization</strong> values roll up by <strong>Division</strong>.</p><blockquote>To do this, follow these steps:</blockquote><ul><li>Clear all slicer selections.</li><li>Select a blank area of the canvas and then, from the <strong>Hours</strong> table, select <strong>Division</strong>. This creates a new table with the different divisions listed, such as <strong>1001 Technology</strong>, <strong>2001 Accounting</strong>, and so on.</li><li>With this new table visual selected, add <strong>% Utilization</strong> to the <strong>Columns </strong>field well. Again, it is easy to see that there is some kind of issue. <strong>% Utilization</strong> for each <strong>Division</strong> is either <strong>100.00%</strong> or <strong>0.00%</strong>, and the <strong>Total</strong> value is <strong>100.00%</strong>. Worse, now that we are looking more closely, when we don’t have any EmployeeType column selected in our slicer, the total in our original employee table visualization is also <strong>100.00%</strong>, which is also not correct. Clearly, we have introduced the measure totals problem into our <strong>% Utilization</strong> measure as a result of the change we made to the <strong>Total Hours</strong> measure.</li><li>A change to our <strong>% Utilization</strong> measure is required.</li></ul><pre>% Utilization =<br> VAR __Utilization =<br>   DIVIDE(<br>   [Total Billable Hours], [Total Hours], 0 )<br> VAR __Days = COUNTROWS( &#39;Hours&#39; )<br> VAR __Result =<br>   SWITCH( TRUE(),<br>   ISINSCOPE( &#39;People&#39;[Name] ) &amp;&amp; ISBLANK( __Days ),<br> BLANK(),<br> ISINSCOPE( &#39;People&#39;[Name]), __Utilization + 0,<br> //otherwise<br> VAR __Table =<br> SUMMARIZE(<br> &#39;People&#39;,<br> &#39;People&#39;[Name],<br> &quot;__billedHours&quot;, [Total Billable Hours],<br> &quot;__totalHours&quot;, [Total Hours]<br> )<br> VAR __billedHours = SUMX( __Table, [__billedHours] )<br> VAR __hours = SUMX( __Table, [__totalHours] )<br> RETURN<br> DIVIDE( __billedHours, __hours )<br> )<br>RETURN<br> __Result</pre><p>In the preceding formula for <strong>% Utilization</strong>, we have taken the last iteration of our <strong>% Utilization </strong>measure and added the measure totals problem logic to return the correct aggregated value whenever our visualization does not display data based on individual employee rows.</p><p>In this case, we have added a SWITCH statement to our __Result variable.</p><p>This is a special version of the SWITCH statement that uses the TRUE function as the first argument or parameter.</p><p>When using this version of the SWITCH statement, we can construct logical TRUE/FALSE statements as the conditions that are evaluated instead of individual values, as is the case in the current <strong>Total Hours</strong> measure.</p><p>The first two condition/value pairs use the ISINSCOPE function for ‘People’[Name]. ISINSCOPE is a fairly recent function and was specifically designed to aid in measure calculations for instances of matrix hierarchies, as well as the measure totals problem.</p><p>The ISINSCOPE function returns TRUE when the specified column is the current level in a hierarchy of levels.</p><p>Hence, ‘People’[Name] is not in scope for <strong>Total</strong> lines within table and matrix visuals, but is in scope for the individual rows of our table visualization that list <strong>% Utilization</strong> by employee.</p><p>The first condition checks if ‘People’[Name] is in scope, as well as checking if the __Days variable is blank.</p><p>If both of these conditions are TRUE, then BLANK is returned.</p><p>The next condition only checks if ‘People’[Name] is in scope and, if so, returns our standard <strong>% Utilization </strong>calculation using the __Utilization variable plus 0.</p><p>The rest of the SWITCH statement covers the case when ‘People’[Name] is not in scope.</p><p>This uses the “otherwise” clause of the SWITCH statement, which has no condition and is simply the result returned when no other condition has been met.</p><p>In this case, we are in a <strong>Total</strong> line or some other aggregation/grouping, such as <strong>Division</strong>.</p><p>When this is the case, we first create a table using SUMMARIZE and assign this to a variable called __Table.</p><p>This table contains a summary of our table by employee <strong>Name</strong> and calculates the values of <strong>Total Billable Hours</strong> and <strong>Total Hours</strong> for each row in this table, assigning these values to columns named <strong>__billedHours</strong> and <strong>__totalHours</strong>, respectively.</p><p>We then use SUMX to calculate the sum of both the <strong>__billedHours</strong> and <strong>__totalHours</strong> columns within <strong>__Table</strong> and assign the result to the __billedHours and __hours variables.</p><p>Finally, we return the value from dividing __billedHours by __hours.</p><ul><li>With this change made to our <strong>% Utilization</strong> measure, and by looking at both table visualizations, we can see that the <strong>Total</strong> lines now agree with one another and that we have correct <strong>% Utilization</strong> results by Division as well as by employee Name.</li></ul><p>As demonstrated in the final calculation for <strong>% Utilization</strong>, VAR/RETURN pairs can be nested infinitely — well, as close to infinitely as you will likely ever need.</p><h3>Explore More:</h3><ul><li><a href="https://medium.datadriveninvestor.com/exploring-power-bi-eco-system-23644a56446e">Exploring Power BI Eco-System</a></li><li><a href="https://medium.com/@info.codetitan/learn-ai-assisted-analysis-in-tableau-015a4a58779b">Learn AI-Assisted Analysis in Tableau</a></li><li><a href="https://medium.com/@info.codetitan/linear-algebra-non-parametric-statistics-time-series-analysis-1cc9fb469943">Linear Algebra, Non-Parametric, Statistics, Time Series Analysis</a></li><li><a href="https://blog.venturemagazine.net/learn-web-analytics-from-scratch-c42ef716f3e3">Learn Web Analytics from Scratch</a></li><li><a href="https://pub.aimind.so/how-to-sort-database-in-excel-4e135bd13aa3">How to Sort Database in Excel</a></li></ul><h4>Connect with us:</h4><ul><li>Follow us on <a href="https://medium.com/@info.codetitan"><strong><em>Medium</em></strong></a><strong><em> </em></strong>for<strong><em> </em></strong>more in-depth tutorials.</li><li>Connect with the writer on <a href="https://www.linkedin.com/in/yashvaantlakham/"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></li></ul><h3>Thanks For Reading</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fbca194d584" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>