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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
chq
Helper II
Helper II

Year Over Year Comparison Skipping 2020

My data looks like this....

Date

 

Ticket A

 

Ticket B

 

Ticket C

 

Ticket D

 

Ticket E

 

Ticket F

01/01/2020

 

0

 

0

 

0

 

0

 

0

 

0

01/01/2019

 

18

 

14

 

1

 

15

 

150

 

490

01/01/2018

 

14

 

14

 

1

 

12

 

154

 

500

01/01/2021

 

3

 

0

 

0

 

5

 

75

 

600

01/02/2020

 

0

 

0

 

0

 

0

 

0

 

0

01/02/2019

 

19

 

15

 

1

 

15

 

150

 

490

01/02/2021

 

3

 

0

 

1

 

5

 

76

 

604

01/02/2018

 

15

 

15

 

1

 

14

 

155

 

505

 

 

and my desired output is something like this....

Date

 

2018

 

Difference

 

% Diff

 

2019

 

Difference

 

% Dif 

 

2021

01/01

 

695

 

-7

 

-1.07%

 

688

 

-4

 

-0.73%

 

683

01/02

 

705

 

-15

 

-2.13%

 

690

 

-1

 

-0.14%

 

689

 

The data goes back to 2005 and I would need to compare them by date going back year over year (exlcluding 2020 from the data set) Are there a set of measures that can be used to get this kind of result? So far my formulas have not worked, but I have a feeling it is my inexperience with DAX.

Thanks in advance

1 ACCEPTED SOLUTION
1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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