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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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