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
homboy27
Helper III
Helper III

Invoice Oustanding days formula

Please see below. I am trying to do formula for days outstanding for invoice but it keeps giving me 92 days. What formula do I do to give me 23 days. 

 

Invoice #Invoice AmountDate InvoicedDate PaidDays Oustanding
123456                 100,0001/1/20251/24/202523
123456                 100,0001/1/20251/24/202523
123456                 100,0001/1/20251/24/202523
123456                 100,0001/1/20251/24/202523
    92
1 ACCEPTED SOLUTION

Hi @homboy27 ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

 

Regards,

Dinesh

View solution in original post

4 REPLIES 4
v-dineshya
Community Support
Community Support

Hi @homboy27 ,

Thank you for reaching out to the Microsoft Community Forum.

 

Please refer below output snap and attached PBIX file.

 

vdineshya_0-1754908987413.png

 

I hope this information helps. Please do let us know if you have any further queries.

 

Regards,

Dinesh

 

Hi @homboy27 ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. And, if you have any further query do let us know.

 

Regards,

Dinesh

Ashish_Mathur
Super User
Super User

Hi,

Assuming Days outstanding is a column in your data table, drag this measure to a card visual

Avg = average(Data[Days outstanding])

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Greg_Deckler
Community Champion
Community Champion

@homboy27 Try:

Days Outstanding Measure = 
  VAR __Min = MIN( 'Table'[Date Invoice] )
  VAR __Max = MIN( 'Table'[Date Paid] )
  VAR __Result = ( __Max - __Min ) * 1.
RETURN
  __Result


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

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.