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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
BIswajit_Das
Super User
Super User

Line Chart

Hello,

I have a table like

x             y                 z

2023       23              22

2022       33              10

2021       20              30

and i want to visualize this data using line chart

Any Ideas
Thanks & Regards

 

1 ACCEPTED SOLUTION

Hi @BIswajit_Das ,

Which field you are applying on Y-axis field of visual? What's the data type of them? Please change the data type as Number. Then you can choose the proper aggregation for that field when create line chart...

Change data type as NumberChange data type as Number

Create line chartCreate line chart

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
johnyip
Solution Sage
Solution Sage

@BIswajit_Das ,

since you have edited your questions to include "z", please find my asnwer as below.

johnyip_0-1699622650657.png

 

I don't recommend using secondary y-axis as the scale of y and z would then be different, thus possibly causing confusion when you aim to compare y and z.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Capture.PNG

But when i'm using line chart there's no option for MAX() or anything else

here it's just count and distinct count

Hi @BIswajit_Das ,

Which field you are applying on Y-axis field of visual? What's the data type of them? Please change the data type as Number. Then you can choose the proper aggregation for that field when create line chart...

Change data type as NumberChange data type as Number

Create line chartCreate line chart

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Uzi2019
Super User
Super User

Hi @BIswajit_Das 
You can visualize using line chart like below.

Uzi2019_0-1699603374374.png

 

I have taken your X value on x axis and Y & Z value on y axis.

I hope I answered your question!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
johnyip
Solution Sage
Solution Sage

johnyip_0-1699603370820.png

 



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors