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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jnaugle
Helper I
Helper I

Newbie needs Help with aging

Hello my name is Jamie. I am pretty new to power bi and data modeling in general. I would like to have a dax formula that will look at a colum name remaining balance, if the colum has data then sort it in one of three colums 30,60,90. That way I can see if a client has a balance and how far past due it is.

Thanks in advance for any help you can give.

Jamie

1 ACCEPTED SOLUTION

Thanks Everyone I have figured out a solution to this issue

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @jnaugle ,

Could you please provide some sample data(exclude sensitive data) and your expected result? What 30, 60 and 90 means? They are the duration between xxDate and current date?

Best Regards

Rena

Thanks Everyone I have figured out a solution to this issue

Anonymous
Not applicable

Hi @jnaugle ,

Glad to hear that you have gotten the solution for your problem. Could you please marked it as answered since the problem has been solved?

Best Regards

Rena

nandukrishnavs
Community Champion
Community Champion

@jnaugle 

 

Assume your table is similar to below.

CompanySalesDate
A10001-04-2020
B15001-03-2020
C20001-02-2020
D25001-01-2020
E30001-12-2019

 

Create a calculated column

 

Aging = 
var _days=DATEDIFF(TableSale[Date],TODAY(),DAY)
var _result= IF(_days<=30,"30",IF(_days<=60,"60","90"))
return _result

 

Capture.JPG



Did I answer your question? Mark my post as a solution!
Appreciate with a kudos
🙂


Regards,
Nandu Krishna

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