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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
hvchuatico
New Member

Line (in line and clustered column chart) shown as one dot instead of a complete line

Hi, I'm trying to show a complete line of the different values of Mortality Rate in this chart but for some reason it shows the summation and not the different values. Is there something I'm doing wrong?

 

Screen Shot 2020-01-19 at 14.54.41.png

 

As you can see the blue dot there it just shows the sum of mortality rate. I need it to be a complete line so the person may be able to see the relationship between the y-axis values and the x-axis values. Thank you!

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

 
Unfortunately, your needs cannot be fully met.
constant——line.PNG
You can refer to the following steps:
1.Put "country" in "shared axis".
2.Enter start and end values to match the primary axis or turn off the "show secondary"
3. Use measure to set the data color for each country
fx_data_colors.PNG
Measure = SWITCH(MAX(Sheet4[Country]),"Sweden","#FF9F33","Denmark","#FF4F33","Norway","#33DAFF")
 
For more details,you can refer to the pbix.
 
Best Regards,
Liang
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

7 REPLIES 7
V-lianl-msft
Community Support
Community Support

 
Is this problem sloved?
If not, please let me know.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
V-lianl-msft
Community Support
Community Support

 
Unfortunately, your needs cannot be fully met.
constant——line.PNG
You can refer to the following steps:
1.Put "country" in "shared axis".
2.Enter start and end values to match the primary axis or turn off the "show secondary"
3. Use measure to set the data color for each country
fx_data_colors.PNG
Measure = SWITCH(MAX(Sheet4[Country]),"Sweden","#FF9F33","Denmark","#FF4F33","Norway","#33DAFF")
 
For more details,you can refer to the pbix.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
Super User

Check this. How to display analytics lines

https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for replying! But the analytics line just is the average. I have different values for the line chart, not just the average. It used to work in my past Power BIs but for some reason it isn't working here.

@hvchuatico 

can you provide some sample data?

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Sure! Like for example: 

CountryWomen in National Parliament (%)Mortality Rate

Sweden

447
Denmark349
Norway326

 

I want the women in national parliament to be a bar chart, then a line chart for the mortality rate so that they'll be able to see the relationship between the two. I hope that's fine. 

@hvchuatico 

Evening,

Not sure what may be the problem. I just imported the data, created sum measures (works the same with averages), placed a "Line and stacked column chart" on the page, added the SUM of Women in Parliament to the "Column Values", the SUM of Mortality Rate to the "Line Values" and country as x-axis and got this:

MR visual.JPG

 

EDIT: Actually, seeing the title of your post, the problem might be that you are using a "Line and clustered column chart"?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.