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
adhumal2
Helper III
Helper III

How to compress a line graph to show everything at one place without scrolling?

Hi All,

 

I am trying to create a condensed view of below line chart. Is it possible to compress this line chart to show all values at same time instead of scrolling to right side. I am OK with crowded markers in the line chart.

 

Image 1 - Current Output

 

Image 2 - Desired OutputScreenshot 2023-06-21 104230.pngTemporalLineCharts-08 (1).png

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

@adhumal2 

 

Thanks for the data.

 

I took your example and created 6000 rows using the same 4 column format.

 

Plotting a line graph with Emp ID on the x-axis, and Ratio, LCL and UCL on the y-axis I get this

 

ratlc.png

 

Is this what you are after?

 

Here's my PBIX file and the Excel file I used as source.

 

regards

 

Phil

 

 

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

10 REPLIES 10
PhilipTreacy
Super User
Super User

@adhumal2 

 

Thanks for the data.

 

I took your example and created 6000 rows using the same 4 column format.

 

Plotting a line graph with Emp ID on the x-axis, and Ratio, LCL and UCL on the y-axis I get this

 

ratlc.png

 

Is this what you are after?

 

Here's my PBIX file and the Excel file I used as source.

 

regards

 

Phil

 

 

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy Thanks a lot for your help. It worked. 🙂

PhilipTreacy
Super User
Super User

@adhumal2 

 

Please supply some sample data.  It's really hard to understand what's going on just by looking at screenshots.

 

Regards

 

Phil

 



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @adhumal2 

 

In that case are the values on your x-axis actually numbers/dates?  Or are they text? 

 

If text, that's why you are only getting the option to plot them as categorical data.

 

You need to change them to numbers/dates to get a continuous x-axis.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi @PhilipTreacy 

 

Here is a sample data of 15 employees with their Employee IDs. I want to plot Employee ID vs Ratio as shown in the graph and check who falls above UCL (Upper control line) and below LCL (Lower control line). Hope this makes it clear. In actuals file I have 5000+ employee IDs. The desired output expected is attached in the original question above (ignore the date axis there)

 

adhumal2_0-1687339846406.png

 

 

Emp ID    Ratio      UCL        LCL

116112575
213912575
316812575
422912575
57012575
613012575
728612575
824312575
912812575
1026212575
116812575
1225512575
1311612575
1425212575
1522812575

 

 

Hi @PhilipTreacy 

 

You are right. Those are actually employee IDs. I changed them to 'whole numbers' but now getting this strange chart

adhumal2_0-1687331871931.png

 

PhilipTreacy
Super User
Super User

Hi @adhumal2 

 

You've got the x-axis set to Categorical.  Set it to Continuous.

 

catg.png

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


I dont see the 'type' option. Its 'values' directly.

adhumal2_0-1687331103086.png

 

PhilipTreacy
Super User
Super User

Hi @adhumal2 

 

It visual should show all data.  Where are you seeing a scroll bar?

 

regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy  I have too many numbers on column X. In this image you can see scroll bar.Screenshot 2023-06-21 122301.png

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors