Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Saes
Helper I
Helper I

Calculate Opening, Movement and Closing Balances

Hello all,

 

I've got some repairs data and I'm trying to calculate the following for each month of the year, but every method I have tried is not returning the expected results:

  • Number of jobs open at start of the month
  • Number of jobs logged in-month
  • Number of jobs closed in-month
  • Closing balance at the end of the month

 

The data set looks like this:

 

Job ID

Date Logged

Completion Date

JOB00001

12-Oct-23

03-Jan-24

JOB00002

14-Nov-23

NULL

JOB00003

12-Dec-23

23-Dec-23

JOB00004

15-Jan-24

20-Jan-24

JOB00005

16-Jan-24

NULL

JOB00006

20-Jan-24

NULL

etc.

etc.

etc.

 

And we would like to present it like this:

 

 

Open Jobs at Start of Month

Jobs Logged In-Month

No of Jobs Complete In-Month

C/B

April

5,407

8,676

(8,760)

5,323

May

5,323

7,989

(8,325)

4,987

June

4,987

7,896

(8,464)

4,422

 

Can anyone help?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @Saes,

According to your description, it seems like a common date range analysis requirement, you can take a look at the following blog (start/end date part) which provided some common scenarios if it helps:

Before You Post, Read This: start, end date 

In addition, you can also try to create a expand table to expand the detail date range of records that mapping with raw table row date ranges.

Solved: Spread revenue across period based on start and en... - Microsoft Fabric Community
Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @Saes,

According to your description, it seems like a common date range analysis requirement, you can take a look at the following blog (start/end date part) which provided some common scenarios if it helps:

Before You Post, Read This: start, end date 

In addition, you can also try to create a expand table to expand the detail date range of records that mapping with raw table row date ranges.

Solved: Spread revenue across period based on start and en... - Microsoft Fabric Community
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.