I'm trying to use a variable in power query to save on adding same fuction twice but can't get it to work;

What i'm trying to replace is ; Date.QuarterOfYear (

Please Login or Register  to view this content.
Which works

And I'd like to add Date.Quarter as a step and then use it; I've tried



Please Login or Register  to view this content.
Not sure which part is wrong or if I need to declare the Quarter in a different way.


Richard