Forum Discussion

Luchy_688's avatar
Luchy_688
New Member
3 years ago

Data series graph in Power bi

Is it possible to create a 3 series data line graph in Power-bi as we can do in Excel?

For example:

I want to graph "x-value 1" in the x-axis with "y value 1" as Series 1 in my visual;

another line with "x-value 2" in x-axis and  "y-value 2 in y-axis, and same with the third line (series 3) which is made of "x-value 3" in x-axis and  "y-value 3" in the y-axis?

 

The graph is excel will look like this

As far as I know, the line graph in Power bi will only allow 1 x-axis value that is shared with all y-axis values. Would it be possible to assign x-values to its respective y-values for each line?

 

Thanks in advance.

 

3 Replies

  • Model NameX-value 1Y- value 1X-value 2Y- value 2X-value 3Y value 3
    Model 1000000
    Model 10.040.110.040.110.10.1
    Model 10.120.250.110.280.20.2
    Model 10.20.250.20.430.30.3
    Model 10.30.450.30.560.40.4
    Model 10.40.50.40.680.50.5
    Model 10.510.550.510.80.60.6
    Model 10.620.680.620.90.70.7
    Model 10.730.850.730.910.80.8
    Model 10.840.90.830.960.90.9
    Model 10.940.990.940.9911
    Model 2000000
    Model 20.000700.00050.00310.10.1
    Model 20.002100.00160.00530.20.2
    Model 20.003600.00280.01440.30.3
    Model 20.005200.00440.02530.40.4
    Model 20.00730.01720.00640.04340.50.5
    Model 20.01050.01810.00950.08440.60.6
    Model 20.01560.08790.01420.12290.70.7
    Model 20.02460.1090.02120.1640.80.8
    Model 20.04440.1320.04510.26760.90.9
    Model 20.20740.3710.19910.557711
  • Thanks for the reply. Is this what you are looking for? 

    x-value 1 and y-value 1 make up series 1 in the line graph.

    x-value 2 and y-value 2 make up series 2 and so forth. 

    The graph in Excel will look like

    In Power BI the graph will display one model at a time. I have created a slicer for the user to choose the model they want to see.