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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Top Solution Authors