DAX query to Power BI

In this example, a DAX query is passed from an Excel data connection to a dataset in the Power BI Service to support an Excel map visual of Year-to-Date sales by US State:

  1. Open Excel and from the Power BI Publisher for Excel tab; click on Connect to Data.
  2. Select the dataset and click on Connect as per the previous example for cube formulas. A blank pivot table will be created by default with the dataset fields list on the right.
  3. Create a simple pivot table report with one measure and one attribute such as Sales by Product Category.
Excel Pivot Table Based on Power BI Service Dataset
  1. Double-click on one the measure ...

Get Microsoft Power BI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.