Forum Discussion
Date Format Quarter/Year
- 5 years ago
You need to use the "Sort by column" feature in Power BI to sort your "Year Quarter" column by another one.
Create another column containing your year and quarter in the format YYYYQ (e.g. 20203 for the third quarter of 2020) as a number data type. This column can, later on, be hidden in the model and will only be used to sort the "Year Quarter" column
When selecting the column you want to sort, the Column tools tab appears in the ribbon.
Click on Sort by column and select the numeric column you created in the format YYYYQ.
Hope that helps. Let us know.
David
You need to use the "Sort by column" feature in Power BI to sort your "Year Quarter" column by another one.
Create another column containing your year and quarter in the format YYYYQ (e.g. 20203 for the third quarter of 2020) as a number data type. This column can, later on, be hidden in the model and will only be used to sort the "Year Quarter" column
When selecting the column you want to sort, the Column tools tab appears in the ribbon.
Click on Sort by column and select the numeric column you created in the format YYYYQ.
Hope that helps. Let us know.
David