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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Employee
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors