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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
daytripper
Frequent Visitor

Chart not being sliced by date

Hi all...

 

Hopefully a simple one, but I'm a new user and really stumped...

 

I have a date slider and a histogram beneath it. When I move the data-start date on the slider, the data disappears from the chart as expected - but the X-axis doesn't 'shorten' to the new date. The result is that I'm left with a yawning gap with no data on my axis. How can I get rid of this gap..?

date slider.JPG

I've got  the following options activated which may affect the dates:

- Page-level filter to show dates from 2015 onwards (Date table goes back to 2006

- 'Show items with no data' is toggled on, as this is log data and inactive periods in the log need to be illustrated

 

any thoughts?

thanks!

6 REPLIES 6
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @daytripper,

 

Based on my test, for date hierarchy displayed on X-axis, items with no data won't disappear when you change data range on slicer. However, if you change date hierarchy to dates, the gap on X-axis will be invisible automatically. I think this is a by design behavior, currently, it might not able to change it.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I agree to @danextian.

 

Maybe you could try and built an additional measure.

Measure2:=If([Measure]=0,Blank(),[Measure]), so you can supress 0-Values. Maybe this works.

will give this a try - thank for the help..!

danextian
Super User
Super User

hI @daytripper,

 

Is the date column in your slicer the same as the date column in your chart? I'm thinking they're two different but related columns with a single direction filter. 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian

 

Thanks for the reply - they are the same Date table in both the slicer & the histogram... 

Hi @daytripper

 

The measures in the chart are probably returning zero for some months. Please go to Show Data to check. 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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.

Top Solution Authors