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
kala2
Helper III
Helper III

Stacked Line Chart, how to stop line from continuous

I have a Stacked Line Chart which displays data by month

kala2_0-1645196918898.png


DAX Red Line Measure is: 

MeasureRedLine = SUM(Costs[value]) + 0

I want to remove the empty gap between months and stop the red/orange line to continuous until a new value.

Expected Result:
kala2_1-1645197455315.png


Or even Better if we prevent line to continuous when bars end like:

kala2_0-1645198551212.png


Any ideas how to achieve that?





 

4 REPLIES 4
Mayank_Yavda
Resolver II
Resolver II

Hi @kala2  ,

here is Stacked Column chart with Non Continuous Line Chart which will help you to get the non-continuous line for parts where there is no data or values.

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

jaipal
Resolver III
Resolver III

@kala2  in your filters tab,  unselect Blank like as follows

jaipal_0-1645413797402.png

@jaipal 

My Shared axis is 

kala2_0-1645428438928.png


And i dont have blank values in Year or Month 

@kala2 do you have date table? if yes, change cross filter direction to Single. 

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.