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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
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
Greg_Deckler
Community Champion
Community Champion

Use a Bubble Chart.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

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

Thank you. But I need to build a line graph

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

 

 

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

 

Attached PBIX

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

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

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

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.