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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.