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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
nichanallseg
Frequent Visitor

Line and Stacked Column Chart - Line doesn't show all the way

Hi,

 

I'm building a Line and Stacked Column Chart, in which the X-Axis represents months in 2022. Whereas the Line Y-Axis represents Total Employee Capacity (i.e. Work hours x Number of working days in each month), and the Column Y-Axis represents the Actual Timesheet Hours reported.

 

At first, when I added just the Capacity Line, everything looks fine:

nichanallseg_1-1651562338457.png

 

Then, after I added the Actual Timesheet Hours reported, the Capacity line shows up just to March. (Because we only have Actuals data just up to March).

nichanallseg_0-1651562304902.png

 

 

I want to keep the Capacity line showing all the way until December.

Please kindly advice how to enable this. Thank you very much.

 

Regards,

Nichanal

1 ACCEPTED SOLUTION

Yes I do have a separate table that contains just month number and month name.

Then the Capacity table and the Actuals table both relate to this month table.

 

But I just got it solved now! I need to click the arrow next to the X Axis field and click "Show items with no data"

nichanallseg_0-1651566794132.png

 

Thank you for your help Allurean.

 

Regards,

Nichanal

View solution in original post

5 REPLIES 5
Mayank_Yavda
Resolver II
Resolver II

Hi @nichanallseg ,

here is Stacked Column chart with Non Continuous Line Chart which will help you to get the stacked chart with all the values of line chart

Stacked Column Chart with Non-Continuous Line Chart, PBIVizEdit.comStacked Column Chart with Non-Continuous Line Chart, PBIVizEdit.comStacked Column Chart with Non-Continuous Line Chart, PBIVizEdit.comStacked Column Chart with Non-Continuous Line Chart, PBIVizEdit.com

 

 

 

 

 

 

 

 

 

 

Download link for the custom visual file in this page,

https://pbivizedit.com/gallery/stacked-column-chart-with-non-continuous-lines 

 

This was made with our Custom Visual creator tool PBIVizEdit.com. With this tool,

  • anyone, irrespective of technical skills, can create their own visuals
  • 15 minutes to create a visual from scratch
  • opens up many additional attributes to edit (for e.g. labels, tooltips, legends position, etc)

Give this a shot and let us know if you face any problem/errors.
You can use the editor to modify your visual further (some modifications cannot be done in Power BI window and have to be in editor).

Thanks,
Team PBIVizEdit

ALLUREAN
Solution Sage
Solution Sage

Hi, @nichanallseg 

 

Is Capacity coming from different table than Actuals? You can check this if you use common date dimension (calendar table) i.e. your X-Axis for start / end dates there and extend Max date to come from Capacity table.




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




Yes I do have a separate table that contains just month number and month name.

Then the Capacity table and the Actuals table both relate to this month table.

 

But I just got it solved now! I need to click the arrow next to the X Axis field and click "Show items with no data"

nichanallseg_0-1651566794132.png

 

Thank you for your help Allurean.

 

Regards,

Nichanal

amitchandak
Super User
Super User

@nichanallseg , do have capacity data available till Dec?

 

if not how you want to extend the same ?

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes I have the Capacity data up until December. You can see the first image I attached that it showed all the way. 

 

Regards,

Nichanal

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