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
Anonymous
Not applicable

Line chart - X axis formatting

Hi there!

 

I want to replicate the below attached excel chart in power BI

 

Excel.PNG

as you can see the X axis is continous but has label at interval of 6 months (its 5 year data in monthly frequency). Is there a way out to do the same in power BI charts? 

This is what I have created in power BI

PowerBI.PNG

This is the output when I am expanded the data to my date heirarchy (Year & month). I need to have 7 such charts on a single page hence need them to be compact.

 

Regards,

Saket

 

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can set categorical for the X-axis as the picture below.

Capture.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

We can set categorical for the X-axis as the picture below.

Capture.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi Saket_Casper

 

You can try modify the format in the table source, in the column specific or create another column with format customize.

 

Regards

Fernando

 

Anonymous
Not applicable

Hey Fernando,

 

Thanks for this, is there a way that I can fix the size of chart?

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.