Forum Discussion
Convert date to Quarter year
- Anonymous7 years ago
Hi
Try this
Column = Table1[Date Received].[Quarter] &" " & Table1[Date Received].[Year]
Thanks
Raj
Hi
Try this
Column = Table1[Date Received].[Quarter] &" " & Table1[Date Received].[Year]
Thanks
Raj
- Anonymous7 years agoNot applicable
Hi Rajendra,
Thank you for the prompt reply. I cannot seem to write the code in my column. the formula box is greyed out(marked in red)
- v-juanli-msft7 years agoCommunity Support
Hi Anonymous
Click on the "New Column", then you could create a new column by inputing formula in.
Best regards
maggie
- Anonymous6 years agoNot applicable
How do you get it to sort the quarters by time order? Tableau just did it. All I seem to be able to get PowerBI to do is sort on the associated measure.
- ThaoNguyen_183 years agoNew Member
Hi Raj,
I have tried
Column = Table1[Date Received].[Quarter] &" " & Table1[Date Received].[Year]As
Quarter Year = 'Calendar Table'[Date].[Quarter] &" " & 'Calendar Table'[Date].[Year]But it didn't work
Please correct my mistake if anyMany thanks- krishanw3 years agoHelper II
This is worked for my, only issue I'm having is need to change fiscal year Q1 start month as April
- Vathsala1 year agoNew Member
Column = switch (true(),
month(Table1[Date Received])>=4 && month(Table1[Date Received])<=6,"QTR I",month(Table1[Date Received])>=7 && month(Table1[Date Received])<=9,"QTR II",month(Table1[Date Received])>=10 && month(Table1[Date Received])<=12,"QTR III","QTR IV") &" "& year(Table1[Date Received]