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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Super User
Super User

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!:
Power BI Cookbook Third Edition (Color)

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!:
Power BI Cookbook Third Edition (Color)

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.