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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
nsaray
Helper II
Helper II

Remove X axis dates with no data values

Hi - is there a way to hide the months that don't have values? My graph ends up being too long and  don't want users to scroll 

Thanks

2021-02-04_0-24-47.png

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @nsaray ,

 

Did you have a date table in your model and use the date column from the date table? And please check if you select show item with no data(uncheck it).

 

1.PNG

 

Would you please show us sample pbix if the issue is still existing? And you can also refer to the similiar post: https://community.powerbi.com/t5/Desktop/Remove-dates-with-no-data/m-p/561214#:~:text=On%20the%20X%2....

 

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

 

Best Regards,

Dedmon Dai

 

 

 

 

View solution in original post

4 REPLIES 4
PaulShlapa
Helper I
Helper I

Does anyone know if it would be possible to achieve the same result using a slicer instead? I would like to be able to switch between month with the data and without. Thanks

v-deddai1-msft
Community Support
Community Support

Hi @nsaray ,

 

Did you have a date table in your model and use the date column from the date table? And please check if you select show item with no data(uncheck it).

 

1.PNG

 

Would you please show us sample pbix if the issue is still existing? And you can also refer to the similiar post: https://community.powerbi.com/t5/Desktop/Remove-dates-with-no-data/m-p/561214#:~:text=On%20the%20X%2....

 

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

 

Best Regards,

Dedmon Dai

 

 

 

 

santiagomur
Resolver II
Resolver II

Hi, 

 

try using the filter pannel and filter the Y axis value greater than 0. 

Thanks, tried that but still didn't work

image.png

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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