cancel
Showing results for
Did you mean:
Anonymous
Not applicable

## how to build line graph, using 10 separate points(values)? I also have to show legend on the graph

I don't have graph function(measure) that i can use to put in values field, just points. Is it possible to create a graph? or perhaps can you please help me to write a measure(function)? I have x1,x2,x3,x4..x10; y1,y2,y3,y4,y5...y10. x in one table, y in another table. Thanks a lot in advance!

6 REPLIES 6
Super User

Use a Bubble Chart.

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you. But I need to build a line graph

Community Support

Hi , @Anonymous

As mentioned by @Greg_Deckler ,if you must  need to build a line graph ,the only way  is to change the line width to 0.

But I'm still curious why you must use a line chart.Other visuals may render better and more convenient than a line chart.

Best Regards,
Community Support Team _ Eason

Super User

Oh, OK, @Anonymous , if you must... 🙂

Attached PBIX

1. Set x-axis to Categorical
2. Shapes - Stroke Width = 0
3. Shapes - Marker on

Become an expert!: Enterprise DNA
External Tools: MSHGQM
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you Greg,

the problem is that I have opposite situation.I don't have x in the table. In the table I have x1,x2,x3,x4....x10.And using them I need to build a regular line graph.

Thank you!

Ethel

Community Support

Hi , @Anonymous

Not very clear what your said “don't have x in the table”.

Can you explain bit more  ?

Sample data for two tables   and expected result  will make it easier for us to understand and  solve your problem.

Best Regards,
Community Support Team _ Eason

Announcements

#### Power BI Community Changes

Check out the changes to the Power BI Community announced at Build.

#### Power BI May 2023 Update

Find out more about the May 2023 update.