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.

1 hours
0 lessons
0 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

Free

Your

Instructor
Empty image or helper icon

Sam McKay

CEO & Founder

Sam McKay

CEO & Founder, Enterprise DNA

Sam is the Founder of Enterprise DNA and a leading voice in data and AI transformation. He helps professionals and organizations become ‘Full Stack AI Professionals’ capable of mastering data, building intelligent tools, and driving innovation at scale.

Through platforms like EDNA Learn, Data Mentor, AI Builders, and KnowCode, Sam empowers teams to thrive in the AI-driven future. His mission: to democratize advanced analytics and make real-world AI application accessible to all.

He’s a strong advocate for practical, hands-on learning and believes AI is unlocking a wave of opportunity for builders, creators, and problem-solvers worldwide.

Frequently Asked

Questions

Recommended

Courses
beginner
Course Cover: Mastering Automation with Power Automate
Total points: 1433 XP 12 hours

Mastering Automation with Power Automate

Automate tasks, integrate with Microsoft 365, and enhance operational efficiency through no-code solutions!
Tools
Other Tools
Skills
Process Automation
Data Science
Artificial Intelligence
Henry Habib
Henry Habib
See details
beginner
Course Cover: Building and Deploying AI-Driven Apps
Total points: 295 XP 2 hours

Building and Deploying AI-Driven Apps

Quickly build and deploy an AI‑powered web application from scratch—without heavy coding—using Lovable, Supabase, and OpenAI.
Tools
ChatGPT
Other Tools
Skills
App Development
Artificial Intelligence
No Code
Sam McKay
Sam McKay
See details
beginner
Course Cover: AI App Development Beginners Guide
Total points: 247 XP 1 hours

AI App Development Beginners Guide

Learn everything from brainstorming app ideas to fully deploying your AI-powered applications.
Tools
ChatGPT
Other Tools
Skills
App Development
Artificial Intelligence
No Code
AI Agents
Productivity
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

FOR BUSINESS

Enterprise DNA

For Business

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

Learn More
power-bi-custom-visuals