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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
NPinto
Frequent Visitor

Divide Line Chart by phases

Hi all! This is my first post here, thanks for welcoming me, I'm looking for some help.


The goal is to analyze the behavior of a variable Speed(rpm) in a line graph.


Is it possible to divide the graph into phases? I have a column with the number of the phase of each timestamp record. I want to achieve somethink like this example: 

 

linePhases.png


Thanks!

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@NPinto , if you have phase and the numbers available, Put them on axis and sort of these two and then disable concatenate the label

Concat 1.pngConcat Label Off.pngConcat2.png

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

NPinto
Frequent Visitor

@amitchandak  I was missing the final step:

- Sort the visual by the axis. 

NPinto_0-1619077089778.png
Thanks!

 

View solution in original post

4 REPLIES 4
GDUb
Advocate I
Advocate I

Hi, @NPinto . Here is a solution that I think meets your requirments. Create a simple line chart with time on the X axis, and your sample value on the Y axis, like so:

GDUb_0-1692731494874.png

Next, in the visualizations pane, drop your phase ID column into the "Legend" field, like this:

GDUb_1-1692731581899.png

That should result in your line chart looking like this:

GDUb_3-1692731642223.png

Finally, on the format tab, under Visual>Lines, format the lines to the same color:

GDUb_4-1692731817859.png

Result:


GDUb_6-1692731858023.png

 

Does that meet your needs? 

 

 

amitchandak
Super User
Super User

@NPinto , if you have phase and the numbers available, Put them on axis and sort of these two and then disable concatenate the label

Concat 1.pngConcat Label Off.pngConcat2.png

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

@amitchandak I'm really thankful for your quick reply! 
 I couldn't do it. I've tried to create some hierarchy with phase and time as well. Any help ?
1.jpg

NPinto
Frequent Visitor

@amitchandak  I was missing the final step:

- Sort the visual by the axis. 

NPinto_0-1619077089778.png
Thanks!

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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