Hello, I’ve started using offset columns in all of my date tables (days, weeks, months, quarters and years). I’ve found offsets to be a great addition to time intelligence measures.
I’ve found several sources online where I can download M-Code for date tables with the offset columns incorporated into the date table. However, I’m curious if anyone knows how to write DAX for offset columns (days, weeks, months, quarters and years).
Often times I take on clients who have a data model in place and they need me to fix up parts of a report that need maintenance. In these cases there’s a date table already in place and I’d prefer not to wipe it and start over with a new date table with the M-Code.
I’d love to be able to take any existing date table and apply some dax to add offset columns, rather than start from scratch with a new date table.
Does anyone have some sample DAX they can share and perhaps a pbix file with the date table that I can have a look at?
Thanks for your help!
@BrianJ any ideas?
Pete