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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Need to calculate opening balance for below data

I need to calculate opening balance for below data, please help

https://docs.google.com/spreadsheets/d/1Z-g2Zl9vqWQtCiT-fItjOx0YASMVZqF7/edit?usp=sharing&ouid=11403... 

DATA     
CREATED DATERELEASED DATECOMPLETION DATEQUANTITY  
01-01-2021  15  
02-01-202102-01-202102-01-202110  
03-01-202104-01-202106-01-202120  
04-01-202106-01-2021 40  
05-01-202105-01-202106-01-202150  
06-01-202106-01-2021 60  
      
OUTPUT   CONDITION 
CREATED  DATEOPENING BAL  OPENING BAL = RELEASED DATE <  REPORT DATE 
01-01-20210  AND 
02-01-20210  COMPLETION DATE > REPORT DATE 
03-01-20210    
04-01-20210    
05-01-202120    
06-01-202170    
07-01-2021100    
      
3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

I still have some doubt. Where is the report date?  The data sample seems to be  missing date. Please check. And how to calculate to get 100?

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Fowmy
Super User
Super User

@Anonymous 

Few questions, where is the Release Date in your model? Can you show how the calculation for the Opening balance? The condition you mentioned isn't enough to understand the logic. You make do in Excel, save in OneDrive or any other location and share the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

@Fowmy  creation date, released and completion dates are available in fact table. Also created date is linked with calendar table in model.

https://docs.google.com/spreadsheets/d/1Z-g2Zl9vqWQtCiT-fItjOx0YASMVZqF7/edit?usp=sharing&ouid=11403... 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors