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

Current Month vs Last Month - Based on weekdays

Hi Guys,

I was trying to create a comparison between current month & last month sales based on the same weekdays.
For Eg:

When we use Dateadd with month we are comparing  01-02-2022 with 01-01-2022 . 
In my scenario i want to compare,
If 01-02-2022 is a tuesday, i want to compare it with the first tuesday of previous month. ie 04-01-2022.

Any idea?


Super User
Super User

@sangeethray , The best you can do is 28 days behind 


week month behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-28,DAY))

@amitchandak I already tried this. But in that case the comparison not accurate when i compare any dates after 29th. It will compare the same month in that scenario. 

Helpful resources

Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors