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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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 ?

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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