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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pbi1908
Helper III
Helper III

Running Aging Calculation

Hi guys, i have a problem. 

 

In my Accounts Receivable report i have in the Allocation Table the Payment Dates, The expiry dates and the Balances of my invoices so i am able and i already calculated the Age of each invoice. 

 

 So i created a measure that correctly calculate the running age based on a slicer that i have inside the Date from the dimension table 'Calendar'.

 

My problem is that i want to create a slicer with the following values which willl be able to filter the running aging, so for example if an invoice is expires at 01/10/20 and today is 30/10/20 and my slicer has max date today i want to see this invoice under 15-30 option, but if i change my slicer to 02/10/20 i want to see it under to 0-15 option. 

If i use my measure to create a calculated column i receive a circular dependency error as is normal . 

 

"-15>= DUE","-15< DUE <=0","0< DUE <=15","15< DUE <=30","30< DUE <=60","60< DUE <=120","120< DUE".

 

 

Does anyone has an idea on this ?

2 REPLIES 2
Anonymous
Not applicable

Hi @pbi1908,

Any update for this? Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

foodd
Community Champion
Community Champion

Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors