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
sebasjun
Helper I
Helper I

Time Intelligence - Comparing Day of Week of Previous Month

Hello

 

I need to compare my sales this month eit previous motnh, but in the comparaison i need the same day of the week. Because now Im comparing a sunday (the office is closed) with a wednesday 

 

p1.png

 

Now my Meausure BookingLines PM (Previous Month) is

 

Booking Lines PM = CALCULATE(sum(Data[Booking Lines]);DATEADD('Calendar'[Day];-1;MONTH))

 

Calendar is my Master Date Table

 

Have you got any idea?

 

Best Regards 

 

 

1 ACCEPTED SOLUTION

Hi,

 

You may refer to my solution this file.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

Does this work?

=CALCULATE(sum(Data[Booking Lines]);EDATE(Calendar[Day];-1))

 

If it doe not work, then share the link fro where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi!

 

Thanks for you reply.! Not run 

 

I attach a simple file

 

File

 

Thanks

Hi,

 

You may refer to my solution this file.

 

Hope this helps.

 

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.

Top Solution Authors
Top Kudoed Authors