The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Solved! Go to Solution.
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
Happy to help!
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
Happy to help!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
97 | |
80 | |
62 | |
57 |
User | Count |
---|---|
246 | |
119 | |
114 | |
86 | |
70 |