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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MrBenn
Helper II
Helper II

Calculating measures over a non-standard week

I need to be able to calculate measures where the week is defined as Friday to Thursday.  I have a calendar in which I'd like to concatenate the start and end dates for these periods as a filter also. Can anyone help?

 

e.g. "28th February to 5th March"

 

Thanks for any help

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi!, you can do this. In order to build calculations in date you need a Calendar Table to accomplish Time Intelligence. You can check how to do one here:

https://blog.ladataweb.com.ar/post/185012464051/data-modeling-como-hago-una-tabla-fecha

 

In your Date table (with power query) you can use something like this:

Date.WeekOfYear([DateColumn], Day.Friday)

 You can also add this week with dax using WEEKNUM

 

Regards, hope this helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi!, you can do this. In order to build calculations in date you need a Calendar Table to accomplish Time Intelligence. You can check how to do one here:

https://blog.ladataweb.com.ar/post/185012464051/data-modeling-como-hago-una-tabla-fecha

 

In your Date table (with power query) you can use something like this:

Date.WeekOfYear([DateColumn], Day.Friday)

 You can also add this week with dax using WEEKNUM

 

Regards, hope this helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.