- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Time intelligence functionality with imported calendar?
Hello, first time posting. I started working with Power BI in my organization to advance our capabilities but I am teaching myself as I go so I keep hitting roadblocks. Hoping someone here can help me out with my latest problem. I have a client that has a unique fiscal period layout (4-5-4) and I have a DAX made calendar that has all the correct offsets and whatnot but I cannot figure out how to make a formula that works with their strange fiscal periods. So I created a calendar table in excel with contiguous dates and hardcoded the periods into that, the only problem I am facing now is that I can't figure out how to set "today" as a variable in the imported sheet so that I can write the correct formulas to get week, period, month, quarter and yearly offsets for my time intelligence functions to work. If someone could please help me figure out either how to get the period structure into the DAX calendar table I have, OR how to get the "today" and offsets to work in my imported excel calendar that would be GREATLY appreciated! THANK YOU!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Form the description, you have fiscal period layout (4-5-4), which seems to be related to the special ISO week-numbering year.
You may refer to the article to learn more about the related DAX calculations:
https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/,
https://fbro.wordpress.com/2013/02/07/powerpivot-excel2013-table-temps-universelle-pour-vos-pocs/.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thank you! Sorry about not responding earlier, just working through the solution and got deep into it. Got the 4-5-4 periodized calendar sorted and now having an issue figuring out LY (year over year) calculations for the WM periods and getting that to work with my drills and whatnot. I think I may have a solution but will post if again (with examples) if I can't figure it out.
Thanks again for your help and sorry for the tardy reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @Anonymous ,
Form the description, you have fiscal period layout (4-5-4), which seems to be related to the special ISO week-numbering year.
You may refer to the article to learn more about the related DAX calculations:
https://www.sqlbi.com/articles/week-based-time-intelligence-in-dax/,
https://fbro.wordpress.com/2013/02/07/powerpivot-excel2013-table-temps-universelle-pour-vos-pocs/.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Not fully following this around "today". I would think that TODAY() is today in any calendar with dates in it.
But, See if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!: Power BI Cookbook Third Edition (Color)
DAX is easy, CALCULATE makes DAX hard...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

@Greg_Deckler Ok, that makes sense about TODAY([date]), I guess what I am having trouble with then is how to insert a column into my imported calendar that gives me, for example, the offset for each day counting backward from 0 for past dates, and forwards from 0 for future dates with today being 0. Once I get that I should be able to figure it out for Period, month, quarter, and year offset by tweaking the formula. Hopefully, that makes more sense. Again, I am very new to this so if there is something simple I am missing please just point it out.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 11-30-2023 02:59 PM | ||
10-12-2024 04:35 AM | |||
Anonymous
| 04-30-2022 10:24 AM | ||
06-04-2019 08:54 AM | |||
07-25-2022 07:29 AM |
User | Count |
---|---|
122 | |
104 | |
83 | |
52 | |
45 |