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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Moody__01
Helper I
Helper I

Get start date of open item

Hi, i work with items in progress and calendar date where i define the outstanding amount based on the selected date. In example : 

__Outstanding =
var _analysisdate = MAX('Calendar Table'[Date])
RETURN ABS(CALCULATE(SUM(Source[TransactionAmount]),
               Source[StartDate] <= _analysisdate,
              Source[EndDate]  >_analysisdate))
 
I would like to catch the min startdate for the items where outstanding is not equal to 0 in a card but it doesnt work. 
it will either send me back the min start date for the all the items in scope, or the min date of the items i do selct manually.
 Moody__01_1-1727941385859.png

 

 

is there a way to calculate the min start date for items where the measure [__Outstanding] is not 0 ? i tried several things but im running out of idea..

thanks for your help,Olivier

 

1 ACCEPTED SOLUTION
Kedar_Pande
Super User
Super User

DAX Measure

MinStartDateWithOutstanding =
CALCULATE(
MIN(Source[StartDate]),
FILTER(
Source,
ABS(SUM(Source[TransactionAmount])) > 0
)
)


it will display the minimum start date where the outstanding amount is not zero based on the selected date in your slicer.

View solution in original post

2 REPLIES 2
Moody__01
Helper I
Helper I

Hi Kedar, thanks for your prompt feedback. I have replace the below with the measure instead and it works well.

best, Olivier

Kedar_Pande
Super User
Super User

DAX Measure

MinStartDateWithOutstanding =
CALCULATE(
MIN(Source[StartDate]),
FILTER(
Source,
ABS(SUM(Source[TransactionAmount])) > 0
)
)


it will display the minimum start date where the outstanding amount is not zero based on the selected date in your slicer.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors