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
Anonymous
Not applicable

Can I Make a Line in a Line Chart Disappear?

LineChart.JPG

Hello,

I have this Line Chart visual. I was asked to make the red one disappear after today's date. Is it possible?

 

thank you!

 

 

2 ACCEPTED SOLUTIONS
ibarrau
Super User
Super User

Hi!. I don't think you can solve something like that in formatting options. You can make a line invisible in formatting options. What you can do is change your data. You can create a measure of the red line with a condition that if it is this year it should return a BLANK value else the regular value.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

@Anonymous, instead of 0 make it blank after today's day. That should make it disappear.

 

View solution in original post

4 REPLIES 4
ibarrau
Super User
Super User

Hi!. I don't think you can solve something like that in formatting options. You can make a line invisible in formatting options. What you can do is change your data. You can create a measure of the red line with a condition that if it is this year it should return a BLANK value else the regular value.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

@ibarrau 

Hi! Thank you for your reply!

I tried putting zeros into all the data fields after today's date. Then the line just drops. is there a way to just cut it off "mid air"?

@Anonymous, instead of 0 make it blank after today's day. That should make it disappear.

 

Changing data should work too. I would recommend the measure to keep data and avoid it just for that chart.

 

I'm sorry, but as I have mentioned before I don't think there is a way to just cut it whenever you want with clicks or formatting options. 

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.