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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Remove Blank Records in Line charts from X Axis data series

Hi Team,

 

Ihave a line chart and a measure is used in Values. The X axis is a date range for last 12 months from the current day.When ever the measure is returing a Blank() i.e no values exists for few dates in the data series, the line is shown as a slant line for these blank() values. How can we avoid these slant lines. I mean can we remove dates in teh series when no values exists for those days..

 

Regards

Amar

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , You can make blank as 0 in that case

 

Measure = sum(Table[Value])+0

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Thankyou Amit for quick response.

 

I tried to replace the calculated measure value with 0 when ever we got a blank(), but this is creating all other legends which are not eixisting previously when we had a blank() value. Becaus for all the legends which are not existing previously are now calculated as 0 and showing in the chart..

harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

You can try changing the the values to Categorical.

 

1.jpg

 

Regards,

Harsh Nathani

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

Anonymous
Not applicable

Thank you Harsh,

 

When i change it will create a Horizontal Scroll bar and the customer does'nt wants the scroll bar.

Because the line chart is for last 12 months, the customer has to scorll very long to see the pattern(value) changes day by day

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.