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
Selwynster
Helper II
Helper II

Ageing Debtor Count

Hi all

I am trying to count the number of distinct debtors who have an invoice date > 12 months ago, from today.
This needs to be rolling figure on a bar chart

Source data could look something like:

Debtor NoInvoice DateItem No
12022/03/012
12022/02/203
22022/12/241
32021/04/211

 

End visual hoping for something like (just a guide):

Selwynster_0-1659307228968.png

 

 

7 REPLIES 7
v-rongtiep-msft
Community Support
Community Support

Hi @Selwynster ,

What is your desired output? Could you please provide you pbix file without privacy information and desired output with more details?

 

How to Get Your Question Answered Quickly 

 

Best Regards

Community Support Team _ Polly

 

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

Ashish_Mathur
Super User
Super User

Hi,

In this PBI file, i have tried to derive at the debtors per month with the condition that you have specified.  Plug in your actual data and see if for each month you get the correct figure or not.  Once you are OK with that result, then we will get the running total.

Untitled.png


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

Thank you so much @Ashish_Mathur , but the results dont seem correct. Seems maybe its only summing for the month and not for all periods going back? 

You are welcome.  Share some data and clearly show the xpected result on the data that you share.


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

https://1drv.ms/u/s!AhNtTaweU4MzmDzD6JFUAXy0sqfk?e=cXfzOy
Please see above link. I should be getting 1076 (as seen by total on the right table) for July on the left graph; 
And 691 for June. 

That is a dead link.


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

Will do.
Just a quick note on your end result table...the date should be August 2022 (today's month)

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.