Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

DAX Measure comparing Day of Year to same Day LY

How do i compare sales $ for the same day last year?

I want to compare Sales $ for Day 1 2022 (1/29/2022) vs Day 1 2023 (2/4/2023).

Currently it is being compared to Day 8 2022 (2/5/2022)

I'd also like it to be on going in order to capture WTD, MTD & YTD.

Below are 2 different visuals in order to capture the data i would like to compare so far this year.


Day of the year.PNG




Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors