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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
LuisCG
New Member

Line chart showing up 2 lines coming from the same column

Hello everyone!

 

Can anyone tell me how to draw a line chart that have 2 lines coming from the same column?

 

I have a column that contains visibility data (numbers) and one date column. I need to draw a line chart with the date in the "X" axis and 2 "Y" axis, the first one counting the number of rows with visibility >= 5000 meters, and the other one counting the number of rows with visibility >= 1000 meters. This means that both lines come from the same data source (column)!

 

I'm not able to draw this I tried everything possible. Any help will be greatly appreciated!!

8 REPLIES 8
SolomonovAnton
Super User
Super User

hello ! 

I think you hould create 2 measures ( visibility >= 5000 meters,  visibility >= 1000 meters) and might be use second X axis 

Thank you!

 

This is what I'm trying to do, but it does not draw it well for some reason.

 

Could anyone please tell me what specific steps should I follow?

 

Thanks in advance!

could you show some part of data ?

Sure! Here it is:

LuisCG_1-1660213812061.png

 

Thanks!

 

Here you can see a day with low visibility conditions:

 

LuisCG_2-1660213906837.png

 

which column from are you want show in graph ( visibility >= 5000 meters,  visibility >= 1000 meters) ?

From the column vis 2 (m). 

 

By the way,  I actually want to draw visibility <= 1000 m and <= 5000 m. Sorry, I wrote it wrong before.

in column [vis 2 (m)] you have value '>=1000' it is text, so you have to change it to integer and change column type to integer. After it you are able to create measure based on column [vis 2 (m)]

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors