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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
foodd
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors