Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
dkao
Frequent Visitor

How to convert date to Quarter-Year format on X axis while maintaining its date formate?

Hi all, 

 

I am trying to generate line charts over time by quarters with labels like "2021-Q1" OR "2021 Q1" on my X-axis.

Here is my current label by default in Power BI using group by 3 months:

dkao_0-1641478595787.png

 

I have tried to use something like 

Column = Table1[Date Received].[Quarter] &" " & Table1[Date Received].[Year]

But It does not help since the column will be "categorical" and my cumulative chart will act weird.

Can anyone help me with this, would be super appreciated!

3 REPLIES 3
amitchandak
Super User
Super User

@dkao , If you want a continuous axis, you have to use the date hierarchy

@amitchandak  Yes I used the hierarchy but I am not able to "Relabel" my date label.

@dkao , I doubt you can change the format

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.