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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Accounts recieviable ageing - Dynamic date

Hi, would be really happy if someone would be able to help me. I am trying to create a report where you are able to see the aging of accounts recievable historically. So if you select a certain date you will be able to see the status on that date. 

 

I used the solution here https://community.powerbi.com/t5/Desktop/Accounts-Receivable-Aging-Report/td-p/106367 as a help and the end result is supposed to look something like it, just that when I change date it will use the date from the slicer as "today" and then filter based on if it is paid or not on that day.

 

The invoices and payment files are in different queries so I merged them (Into "Invoice") so that I could get due date and payment date on every row.

 

I created a table (Calender) to use as a slicer, and then I started creating the measures:

Age = INT ( MAX ( Calendar[Date] ) -  MAX ( Invoice[DueDate]) )

Age 1 - 30 = CALCULATE ( Sum(Invoice[Amount]),  FILTER ( Invoice, [Age] >= 1 && [Age] < 31 ) )

 

Age  31 - 60 =  CALCULATE (Sum(Invoice[Amount]), FILTER ( Invoice, [Age] > 30 && [Age] < 61 ) )

 

Age  61-90 = CALCULATE (Sum(Invoice[Amount]), FILTER ( Invoice, [Age] > 60 && [Age] < 91 ) )

 

Age  over 90 = CALCULATE (Sum(Invoice[Amount]), FILTER ( Invoice [Age] > 90))

 

Then when i am trying to include the payment date I am not able to make it dynamic, if I filter based on it I only get Invoices that are still not paid today.

 

I might be in the totally wrong direction, and would greatly appriciate if someone was able to help me

 

 

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

Could you share more details about your requirement and post some sample data?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

I can try, but don't know if I am allowed to post the data all considering

 

The requirment is two fold

 

1) Create a table that will show accounts recievable ageing on a spesific date. So that the company can go back and see how much money that where overdue at a certain date (They want to see if there is any effect from changes in invoice routines)

2) Create graphs that show the historical development of the same data, so that they graphically over time can see if there are any effect.

 

The data is in 2 tables in general:

 

1) Invoice data, including due date, amount, invoice number, customer name, customer number etc

2) Payment data, including amount, invoice number and payment date

 

The result will be a table overview like this:

 

Customer name - 1-30 days - 31-60 days - 61-90 days - 90+ days - Total

           A                  5000                                                       2500          7500

           B                                        4500                                                   4500

           C                  1000                                                                         1000

Total                        6000              4500                                 2500         13000

 

Then if I change date the data should be as it was that date

 

Then Graphs based on the totals, going for x months

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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