2024 Week 37 | Power BI: Create a Report with Light and Dark Mode

Introduction

In honor of the Power BI Desktop dark mode being scheduled for public preview this month, we are making a report that allows you to switch between light mode and dark mode. 

Requirements

  1. Get the data from Data.World
  2. Filter the report to the year 2024.
  3. Create a card that shows current year sales.
  4. Create a card that shows the year-over-year percent change. 
  5. Create a bar chart that shows current vs prior year sales by category. Prior year should be represented by error bar markers. 
  6. Create a column chart that shows current vs prior year sales by month. Prior year should be represented by error bar markers. 
  7. Add a slicer that allows users to select a region. 
  8. Use conditional formatting to create a light version of the report page and a dark version of the report page (hint: add a table to hold your colors for each version). 
  9. Do your best to ensure your text and visual colors have sufficient contrast (4.5:1 for text, 3:1 for graphical objects). 
  10. Optional bonus: Create a legend that explains the current and prior year symbols and colors. It should change to the correct colors as you switch from light to dark mode. (I used the HTML Lite visual for this, but you can do this however you’d like.)

Dataset

This week’s workout uses Superstore 2024 data. You can access the data at https://data.world/mlongoria/pbiwow2024w37.

Share

After you finish your workout, share on Twitter or LinkedIn using the hashtags #WOW2024 and #PowerBI, and tag @MMarie, @shan_gsd, @KerryKolosko

Also make sure to fill out the Submission Tracker so that we can count you as a participant this week in order to track our participation throughout the year.

Solution

Solution File available for download from the data stories gallery.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top