Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        The Work Gym / Playgrounds

        Power BI playground: practice DAX

        A report canvas that works like Power BI Desktop, with a sample sales model and three measures to start from. Write a new measure, drop it into a visual and see the result. You don't need an account, and there is nothing to install.

        Opening the workspace

        Independent training simulationNot affiliated with Microsoft CorporationDetails

        Independent training simulation

        This is an independently developed educational simulator by The Work Gym, designed for practising Microsoft Power BI-related workflows. It is not the official Microsoft Power BI application.

        The Work Gym is not affiliated with, sponsored by, endorsed by or certified by Microsoft Corporation.

        Power BI is a trademark of the Microsoft group of companies.

        Embed this playground on your site

        What you can try

        1. Add a measure: Average Order = DIVIDE([Total Sales], [Order Count]).
        2. Count customers: Customers = DISTINCTCOUNT(Sales[CustomerKey]).
        3. Change the filter context: West Sales = CALCULATE([Total Sales], Store[Region] = "West").
        4. Share of total: % of Sales = DIVIDE([Total Sales], CALCULATE([Total Sales], ALL(Store))).
        5. Time intelligence: Sales LY = CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date])).
        6. Put Product[Category] in the table, add a slicer, and watch every measure follow the filters.

        The sample data

        A sales model in a star schema: a Sales fact table with amount, cost, quantity and dates, related to Date, Product, Customer and Store tables. Three measures are ready: Total Sales, Order Count and Total Quantity, and a table visual shows sales by region.

        Learn it step by step

        The playground checks nothing. In the course, lessons come in order and every exercise is checked the moment you finish it, with a hint that names the mistake. The first unit is free.

        Course: Power BILesson 1: Your first visual: from fields to a chartLesson 18: Your first DAX measuresLesson 24: CALCULATE: change the filter contextLesson 25: ALL and percent of totalLesson 29: Date tables and time intelligenceTest your level

        Questions about the playground

        Is this Microsoft Power BI?

        No. It is an independent practice simulator built by The Work Gym to look and behave like Power BI Desktop, so what you practice carries over. It is not made, endorsed or supported by Microsoft.

        Which DAX functions work?

        The ones most reports use: aggregations, COUNTROWS and DISTINCTCOUNT, DIVIDE, IF and SWITCH, CALCULATE with filters, ALL and ALLEXCEPT, SUMX and other iterators, RELATED, and the common time intelligence functions. A function the simulator does not know shows an error, as Power BI would.

        Is the Power BI playground free?

        Yes. You don't need an account or a card, and it runs in your browser, so there is nothing to install.

        Is my work saved?

        Only in this browser. The playground keeps your last session on this device so it is there when you come back, and sends nothing to an account. Start again puts the sample data back.

        Other playgrounds

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.