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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.