- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Analyze Sales Trends Over Time in Power BI
In this lab, you’ll practice analyzing sales trends over time in Microsoft Power BI. When you’re finished, you’ll have an executive trend report that compares current and prior-period sales by using DAX time intelligence functions.
Lab Info
Table of Contents
-
Challenge
Prepare a Date Table for Time-Based Analysis
In this first challenge of a series, you’ll inspect the preloaded sales model and create the date table that the rest of the lab depends on. Time intelligence in DAX requires a dedicated date table, and this model does not have one yet.
-
Challenge
Write Measures that Compare Performance Across Time Periods
With the date table in place, you’ll write the core time-intelligence measures an executive trend report needs: year-to-date, quarter-to-date, same period last year, and a custom-interval shift.
-
Challenge
Calculate Rolling and Variance Metrics
YTD and prior-year values are useful, but executives also want a smoothed trend and a clear view of whether performance is up or down. In this challenge you’ll build a rolling 12-month average and variance measures, including safe handling of blanks and divide-by-zero.
-
Challenge
Present Trends in a Report Visual
You’ll turn the measures into an executive-friendly trend view: a combo visual of current vs. prior period, plus a slicer that changes the reporting period so the measures respond.
-
Challenge
The Last Challenge
Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.