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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
KashSam22
New Member

Opening Balance I am not getting the result..

I am working on a GL Table in which I am displaying Total Amount transaction wise or Account wise based on the Date Slicer and all transactions falling in the selected Date Range.. I also need to show Opening Balance which is sum of Total Amount before the Start date of the Slicer. 

 

I have created a measure as Opening Balance and following DAX but it is not giving me the desired output

 

Opening_Bal = Var OpenDate = [SelStartDate]
RETURN          
CALCULATE (SUM ('BCIA - APIGLEntry'[Total Amount]),
           REMOVEFILTERS('Calendar_BC'[Date]), REMOVEFILTERS('BCIA - APIGLEntry'[postingDate]),
           FILTER('BCIA - APIGLEntry', 'BCIA - APIGLEntry'[postingDate]<OpenDate))
 
Filter Statement is not working... If I remove Filter statement the Sum of all the transactions are coming correctly.. Can someone Help... SelStartDate is the first date of the Date Slicer
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @KashSam22,

It seems like a common date range (defined by multiple date fields) analysis requirements. Perhaps you can take a look at the following link start date, end date analysis part if these helps:

Before You Post, Read This: start, end date 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @KashSam22,

It seems like a common date range (defined by multiple date fields) analysis requirements. Perhaps you can take a look at the following link start date, end date analysis part if these helps:

Before You Post, Read This: start, end date 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.