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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
interg
New Member

Split a column into multiple series in visualisation

 Hi, I'm very new to PowerBI so my apologies if this is something simple or "the wrong way".

 

I have data in the following format:

 

TIMESTAMP    SERVER  SPEED
<timestamp>  A       30
<timestamp>  A       34
<timestamp>  A       37
<timestamp>  B       18
<timestamp>  B       22
<timestamp>  B       20

And I want to produce a line chart that shows SPEED over TIME, with one individual line per SERVER. How would I accomplish that?

 

For context, I got my data in this manner by taking two separate queries (one for server A, one for server B) and appending them to each other so I can work with them in a single visualisation/chart. If there is a better method than this to get both series on a single chart than please let me know!

 

Thanks

2 ACCEPTED SOLUTIONS
himanshu56
Resolver II
Resolver II

@interg

 

Choose line chart from the visual.

 

Drag Timestamp to AXIS, Serverto LEGEND and Speed to VALUES.

 

sol1.PNG

 

Thanks,

Himanshu

 

View solution in original post

GilbertQ
Super User
Super User

Hi there you can configure the Line Chart Visual with the following below.

 

Power BI - DELETE.png

 

And this is what the chart would look like

 

Power BI - DELETE.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

3 REPLIES 3
GilbertQ
Super User
Super User

Hi there you can configure the Line Chart Visual with the following below.

 

Power BI - DELETE.png

 

And this is what the chart would look like

 

Power BI - DELETE.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Doh - I didn't realise the LEGEND bit is to create additional series. Thanks @GilbertQ and @himanshu56!

himanshu56
Resolver II
Resolver II

@interg

 

Choose line chart from the visual.

 

Drag Timestamp to AXIS, Serverto LEGEND and Speed to VALUES.

 

sol1.PNG

 

Thanks,

Himanshu

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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