March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
All,
I have this Date Hierarchy for Year,QTR,Month & Day.
I want to display a line chart with Month and Year.
So it will look like this
NOV 2021 DEC 2021 JAN 2022
However for some reason I can not configure this. Any suggestions?
Solved! Go to Solution.
Hi @aishak12 ,
In the fields pane when a visual is selected, remove Quarter and Day and then Expand to the next level in the hierarchy.
If you want a custom period, create a calculated column for that using FORMAT
Month and Year =
FORMAT ( Data[Date], "MMM-YY" )
The above formula creates calculated column containing text strings so it will be sorted alphabetically with Aug as the first in the row. Create another calculated column to sort the custom period column by
YYYYMM =
FORMAT ( Data[Date], "YYYYMM" )
Here's a tutorial on how to custom sort a column - https://radacad.com/sort-a-column-with-a-custom-order-in-power-bi
Use the custom period in your visual instead of the actual dates column.
Proud to be a Super User!
Hi @aishak12 ,
In the fields pane when a visual is selected, remove Quarter and Day and then Expand to the next level in the hierarchy.
If you want a custom period, create a calculated column for that using FORMAT
Month and Year =
FORMAT ( Data[Date], "MMM-YY" )
The above formula creates calculated column containing text strings so it will be sorted alphabetically with Aug as the first in the row. Create another calculated column to sort the custom period column by
YYYYMM =
FORMAT ( Data[Date], "YYYYMM" )
Here's a tutorial on how to custom sort a column - https://radacad.com/sort-a-column-with-a-custom-order-in-power-bi
Use the custom period in your visual instead of the actual dates column.
Proud to be a Super User!
User | Count |
---|---|
120 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |