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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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 Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.