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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.