Reply
GAPER
Post Patron
Post Patron
Partially syndicated - Outbound

Altering X axis Ticks

Currently my x axis is the exact date, is there a way i can turn the ticker into showing Year only? 

 

From this

GAPER_0-1697521396971.png

 

To this

GAPER_1-1697521430031.png

 

Also how do I shrink everything into the graph area - I don't to scroll it. 

GAPER_2-1697521456559.png

 

1 ACCEPTED SOLUTION

Syndicated - Outbound

Hello @GAPER ,

There is no direct way to get this working as per your ask. But you can do a workaround to get a similar view. But it has few downsides like when you open it in focus mode the axis might not be visible.

 

Below is the screenshot

Thejeswar_0-1697626247315.png

 

What I did is

1. I am having two visuals placed one above the other

2. Top visual shows the data points and Y-axis

3. The Bottom visual shows only the x-axis only the Year value

4. The X-axis in the top chart is given a font color of white. Hide the x-axis title

5. The Y-axis in the bottom visual is made to font white. The Line color is also made to white

6. The Two visuals are grouped together to make it feel like one visual

 

If this helps, mark it as a solution! Appreciate your kudos!

 

Regards,

View solution in original post

6 REPLIES 6
Ritaf1983
Super User
Super User

Syndicated - Outbound

Hi @GAPER 

If you aren't using the dates table, just add the year column to your fact table and put this column on the graph.

Ritaf1983_2-1697522086843.png

 

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Syndicated - Outbound

Then all the data point is going to be either on 2021,2022,2023

 

This is not my goal....I just don't want the ticker showing every day. 

Syndicated - Outbound

@GAPER  Then unfortunately this is not available in the way that you described.
As an alternative to save the place you can instead of date some workaround like 2 digits of year and the number of days in the year, it will take much less place :
something like : 20_1, 20_2....20_365 etc...
                           21_1 ,....

                           22_1... 
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Syndicated - Outbound

So power BI don't even know how not to show all of the ticks? This is stupid. Even Microsoft Excel can do that

Syndicated - Outbound

Hello @GAPER ,

There is no direct way to get this working as per your ask. But you can do a workaround to get a similar view. But it has few downsides like when you open it in focus mode the axis might not be visible.

 

Below is the screenshot

Thejeswar_0-1697626247315.png

 

What I did is

1. I am having two visuals placed one above the other

2. Top visual shows the data points and Y-axis

3. The Bottom visual shows only the x-axis only the Year value

4. The X-axis in the top chart is given a font color of white. Hide the x-axis title

5. The Y-axis in the bottom visual is made to font white. The Line color is also made to white

6. The Two visuals are grouped together to make it feel like one visual

 

If this helps, mark it as a solution! Appreciate your kudos!

 

Regards,

Syndicated - Outbound

Hi @GAPER 

Power BI is not a competitor to Excel, and it is true that there are gaps in functionality for some visualizations. Currently, you can try visualizations like DENEB which are more flexible, but require the use of code.

More information :

https://www.youtube.com/watch?v=_fuPqyuaBnQ

Additionally, any missing feature/option can be proposed as an improvement suggestion here:

https://ideas.fabric.microsoft.com/

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)