DATESINPERIOD

In this video, I will show you how on any single day, you can isolate two dates and count up the amount sold between those two dates. This is ultimately how you calculate running totals in Power BI.

schedule1 hours
play_circle1 videos
unfold_more2 exercises
trending_up30 xp

Let’s create your free account

OR

By continuing, you accept our Enterprise DNA Terms & Conditions , our Privacy & Cookie Policy and that your data is stored.

If you have an account Login here

Trusted by 220,000+ people worldwide.

coca-cola-logouniliver-logonhs-logonestle-logoatt-logoanglo-logomackinsey-logoalbemarle-logojonson-logopanasonic-logo

I hope that with this tutorial, you become familiar with the DATESBETWEEN function in Power BI because there are a lot of really great applications for it.

What we’re doing in DATESBETWEEN is creating a context between any two dates we specify. There are a variety of different applications of any calculation that we might want to do between two dates.

This is a great way to identify trends in your data or showcase outliers occurring in real-time in your datasets.

There are lots of techniques to extract from this one tutorial, as well as plenty to learn about the DAX formula and how to implement it successfully. Jump in and learn as much as you can. Try to implement this in your own models ASAP to really get the most benefit out of it.

What our

Students Say
Curriculum
1

Calculate Amounts Sold Between Two Dates In Power BI w/ DAX


Your

Instructor
Empty image or helper icon

Sam McKay

CEO & Founder

  • Sam is Enterprise DNA's CEO & Founder. He helps individuals and organizations develop data-driven cultures and create enterprise value by delivering business intelligence training and education on Microsoft’s Power BI platform
  • He partners with business decision-makers and analysts across all industries and business functions.

Frequently Asked

Questions

Recommended

Labs
Cover: Budgeting in Power BI
intermediate
Total points: 40 XP clock-blue 1 hours

Budgeting in Power BI

Analyze seasonal budget trends in Power BI by utilizing variables to manipulate data and represent the relationships between data tables.

Tools
Power BI
Skills
Data Analysis
Sam McKay
Sam McKay
See details
Cover: Visual Interactions
beginner
Total points: 37 XP clock-blue 1 hours

Visual Interactions

Using Power BI visual interactions allows you to showcase data in a way that’s both compelling and easy to digest.

Tools
Power BI
Skills
Data Analysis
Business Analytics
Sam McKay
Sam McKay
See details
Cover: Virtual Relationships using TREATAS
beginner
Total points: 75 XP clock-blue 1 hours

Virtual Relationships using TREATAS

The TREATAS function in DAX is one of the most interesting DAX formulas that you can utilise inside your Power BI models.

Tools
Power BI
Skills
Data Analysis
Business Analytics
Sam McKay
Sam McKay
See details

Get full access to unparalleled

training & skill-building resources
power-bi-custom-visuals

FOR INDIVIDUALS

Enterprise DNA

For Individuals

Empowering the most valuable data analysts to expand their analytical thinking and insight generation possibilities.

Learn More chevron_right

FOR BUSINESS

Enterprise DNA

For Business

Training, tools, and guidance to unify and upskill the data analysts in your workplace.

Learn More chevron_right
power-bi-custom-visuals