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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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