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 plot line graphs in Power BI

I have a table with KPIs and I would like to create a line graph in order to spot a trend thought timeline.

The table is conformed by KPIs on the axis and Quarter data in the rest of the columns. Here is an example:

 

KPI           Q1    Q2    Q3    Q4    Q5    Q6

Revenue 100   200   300  400    500   600

 

Right now, what I've done is create a slicer just to filter every KPI. When I try to create the line graph I only get 1 dot per Q and I don't understand why.

Could someone please support?

Thanks

4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

What is your data model? Could please you describe your scene in more detail?

According to the data model you provide, it is not a dot in the line chart.

Vlianlmsft_0-1636095191567.png

 

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlexisOlson
Super User
Super User

If your data is shaped like that, it's going to be hard to work with since columns are mostly independent objects in Power BI.

 

Shaped like this will be much easier to work with:

AlexisOlson_0-1635865008513.png

I have 20 years of data each with 1000 lines so it is not practical to put the years in a column. I have been unable to chart this in Power BI and similarly just get a dot. I have been successful in charting this data in Excel using a pivot table and changing rows and columns in the graph. This is a fatal flaw in Power BI and means that I cannot use it unless someone has a workaround 

It's not practical to not reshape the data if you want to work with it easily. It's a simple unpivot operation in Power Query.

 

https://learn.microsoft.com/en-us/power-query/unpivot-column

 

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.