cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Remove Horizontal Scroll Bars?

Is it possible to prevent Power BI adding horizontal scroll bars to a chart?  I really hate the scroll bars.  I want to put the items on the X axis and have them all visible - just like in Excel.



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
1 ACCEPTED SOLUTION

Thanks for your reply.  What threw me was I was watching this video from @sqldusty and at 29:40 min/sec into the video, I saw a chart that fit everything on the axis without a scroll bar.  I had never seen that before as all of mine are always impacted by a scroll bar.  https://www.youtube.com/watch?v=0TF4Hu-uaMg

 

What I now understand is that when you select continuous axis, it DOES fit everything.  When you select categorical it adds a scroll bar (when there are "too many" data points).

 

My problem is I am using Labels for my week dates in the format YYWW.  Now I know what I am looking for, I have swaped these labels to the week ending date and changed the chart to continuous - and now it works as I would like. 🙂

 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

11 REPLIES 11
kranthi82
Helper I
Helper I

@MattAllington Hi Matt, have you found the way to fit the data in line chart just like in excel despite the resolution or using other methods? Please share if you have found a way, thanks.

8Vanessa8
New Member

Hi all, 

 

I am facing a similar problem as I would like all my data to be visible without having to use the scroll bar. Unfortunately, in my case I am not using dates on the X-axis but I am using a categorical variable which lists locations. Does anybody have another idea how to solve this issue when you can't transform the variable into a continous variable?

 

Thanks in advance for your help

 

bidgeir
MVP

Hi Matt

 

As I understand it the Power BI canvas is fixed depending on the resolution of your screen so a scroll bar will appear if the data cannot fit unto you screen. Some elements will allow you to resize the font giving you the opportunity to fit it on the screen but not all and if they don't you cannot remove the scroll bars. 

 

I might be wrong but that is how I understand it.

 

Ásgeir

Thanks for your reply.  What threw me was I was watching this video from @sqldusty and at 29:40 min/sec into the video, I saw a chart that fit everything on the axis without a scroll bar.  I had never seen that before as all of mine are always impacted by a scroll bar.  https://www.youtube.com/watch?v=0TF4Hu-uaMg

 

What I now understand is that when you select continuous axis, it DOES fit everything.  When you select categorical it adds a scroll bar (when there are "too many" data points).

 

My problem is I am using Labels for my week dates in the format YYWW.  Now I know what I am looking for, I have swaped these labels to the week ending date and changed the chart to continuous - and now it works as I would like. 🙂

 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

View solution in original post

I have this graph that displaying 12 month rolling average from 2009 to current (2019 Jan).

 

Left graph:

If I choose Calendar[Year] and Calendar[Month] in x axis, then the last month is current month (Jan 2019), however then it has scroll bar and can't fit into the small region where I wanted it to be. And in the format--x-axis, there is no selection on continuous or categorical to choose.

 

Right Graph:

If I choose Calendar[Date] in x axis, and hierarchy year and month, yes I can choose continuous and make it without scrollbar, however my problem is then the x axis will show extra month beyond today's date. It has these extra invalid datapoints for 2019 Feb, 2019 March etc.

x axis.JPG

 

I just want have something like ont he right graph, but not showing the invalid rolling average datapoints after current month.

Any suggestion? Thanks.

atpbi10
Frequent Visitor

Hey, have you found solution for this?

I have a Bunch of time series data, in line chart i want to remove the scroll bar, I cannot able to, set continuos state from categorial. It automatically comes back to categorial. Please help me to solve this.

 

Thanks

Please,

 

have you find a soluttion?

Tks

I was also facing the same issue. When I checked the data type of my time column in Power BI, it was text type. When I changed the data type to Date/Time and saved it, Now I am able to change the type to continuous.

 

Steps to change data type:

Go to Data tab on the left ribbon -> select time column in the table -> Go to the Modelling tab on the menu bar -> change datatype to Date/Time

If I use MonthNumber, finally I could see the "Type" option for X axis, however i run into the same problem that it doesn't allow me to change it to continuous. It always go back to categorical. Thus I still have the scroll bar problem.

Just want to say "Thank you" to Matt. This was driving me NUTS. I had one line chart that I simply could not get it to display all x axis data without a scroll bar.

It was a pain, but I ended up changing my column of "Week 1, Week 2, Week 3, etc, data points to actual dates. Re-uploaded the data, changed the X-axis to continuous and WALAH!  This really should not be this complicated to adjust. 

 

Thanks again

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are You Ready?

Test your skills now with the Cloud Skills Challenge.

Top Solution Authors