Skip to content

Instantly share code, notes, and snippets.

@mayrund
Created April 27, 2015 10:48
Show Gist options
  • Save mayrund/4c8af40d3a7fc863916b to your computer and use it in GitHub Desktop.
Save mayrund/4c8af40d3a7fc863916b to your computer and use it in GitHub Desktop.
SSAS Snippets
#SSAS snippet
=dateadd("q",datepart("q",today())-1,CDate("1/1/" & today().year))
#SSAS
=dateadd("d",-1,dateadd("q",datepart("q",today()),CDate("1/1/" & today().year)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment