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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Trudgeon
Helper III
Helper III

Percentage change of an average month-to-month?

Hello... I've created a measure that calculates the average number of days it takes customer to pay us.  When I put that into a matrix, I can see it by customer and month (image below).  Note: each customer can have multiple invoices per month with difference days to payment, so it needs to be an average measure.

 

Now, I'm looking to calculate the percentage change between months.  In the example below, the top row would show -2.38% for October...the reduction from 63 days to 61.50 (-1.5/63).  The end goal being to show any large anomalies in payment behavior.

 

Any help would be appreciated.  Thanks! 

 

Average Days to Payment.PNG

3 REPLIES 3
gabbyvb
New Member

Hi, were you ever able to find a solution to this problem?

Hello @gabbyvb .  Unfortunately, I was never able to find an adequate solution.  

mahoneypat
Microsoft Employee
Microsoft Employee

You can try this approach

 

New Measure = AVERAGEX(VALUES(Table[Invoice ID]), [Your Avg Measure])

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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