DAX for Power BI Part 6.4 - Opening and Closing Balance Calculations

By Andrew Gould

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
https://www.youtube.com/channel/UCbi5G5PjWBaQUFy7XU_O7yw/join

Or you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!

Download files here https://www.wiseowl.co.uk/power-bi/videos/dax-powerbi/dax-opening-closing-balance/

This video shows you how to use time intelligence functions in DAX to return values from the start and end of a period. You'll learn how to use the FirstDate and LastDate functions as filter arguments for the Calculate function. You'll also see a range of functions used to return the start and end dates of yearly, quarterly and monthly intervals. The video also explains the ClosingBalance and OpeningBalance functions and explains how OpeningBalance is different to using the StartOf interval functions. You'll also learn how to work with incomplete date ranges and how to use the FirstNonBlank and LastNonBlank functions to return values even when your data model doesn't contain values for the start or end of standard intervals.

Chapters
00:00 Topic list
00:45 Importing Data and Creating a Basic Report
04:27 Calculating the First and Last Date of Intervals
07:13 Returning the Opening and Closing Balance
09:26 Calculating Growth
11:34 Calculating the Start and End of Different Intervals
13:51 The Closing Balance Functions
16:06 The Opening Balance Functions
18:36 Working with Incomplete Date Ranges
20:57 Returning the Value for the Last Date
22:45 End of Month vs Closing Balance
25:03 Start of Month vs Opening Balance
27:27 Calculating Change for Month
30:27 Working with Irregular Start and End Dates
31:44 Using the Last Date Function
33:37 Using the LastNonBlank Function
36:00 Using the FirstNonBlank Function
37:03 The Non Blank Value Functions
39:01 Getting the First Non Blank of All Dates
41:11 Getting the First Non Blank Date in each Year
43:21 Tidying Up

Visit https://www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Power BI, DAX, VBA, Python, Visual C#, Microsoft SQL Server, SQL Server Reporting Services SSRS, SQL Server Integration Services SSIS, Microsoft Access and more! Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to DAX for Power BI Part 6.4 - Opening and Closing Balance Calculations

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.