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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Create year-over-year calculation per month

I've been tasked with creating the below table within PBI, showing how many requests (jobs) have been completed per customer year over year, but by month (spanning all 12 months). I've found similar solutions online for either year-over-year OR month-over-month, but so far nothing I've found fits my needs and I can't work out how to adapt it accordingly. 

 

 January  February  March  
 20222023Diff (2023-2022)20222023Diff (2023-2022)20222023Diff (2023-2022)

Customer1

36376-1142-12

Customer2

110981244108
Customer328680-830-3
Customer483-552-3055

 

My data is stored on the same view as [customer name], [completed_date] and [requests] - multiple lines per customer, per date. The date is stored in date format, and the values in the table are a distinctcount of the requests (these are reference numbers). 

 

Any help would be greatly appreciated!

 

(Apologies the table isn't the easiest to read, I've tried multiple times to format it so that the values align in the centre of each column heading, but each time it complains about invalid HTML and removes it before I can post, even when I use the built-in table formatting!)

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

Can you give us a sample data table, so that we can help you solve the problem quickly, thank you.

Best Regards,

Xianda Tang

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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