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
datastrategy
Frequent Visitor

All Dates on x-axis showing for Date Table - can't filter

I can't filter the dates on my x-axis... my Date Table has all dates from 1/1/2019 to 12/31/2019.  I have data for sales this year, but December keeps showing up in my x-axis, even when filtering by "relative last 12 months."  The only way to get rid of December is draggin Date - Month to the filter and taking off December.  Know why this could be the case?  The data filters if I change the date, but the actual axis still shows the full year dates for the x-axis.

7 REPLIES 7
VasTg
Memorable Member
Memorable Member

@datastrategy 

 

Do you have a relationship defined between date and sales table? If so, try the filtering to both direction.

 

If this helps,accept it as a solution.

Kudos are good too.

Connect on LinkedIn

That still didn't work.  See screenshots below.

Anonymous
Not applicable

Hi @Anonymous can you upload a snapshot of your chart or data model?

See attached.  creating a "both" filter didn't work. 

 

Annotation 2019-11-19 072747-21.jpgAnnotation 2019-11-19 072747.jpgAnnotation 2019-11-19 072725.jpg

@datastrategy 

 

I tested this and it works as expected for me.

 

I created a Date table with DAX.

 

Date = CALENDAR(DATE(2019,01,01),DATE(2019,12,31))
 
I created a mockup fact table with this data.
TransDateValue
01/31/2019100
02/28/2019200
03/31/2019300
04/30/2019400
05/31/2019500
06/30/2019600
07/31/2019700
08/30/2019800
09/30/2019900
10/30/20191000
6/26/2019-800
10/1/2019-400
1/31/2019150
 
Defined a relationship between Date and fact(Single direction filter ; 1 to many) and i don't see November and December in the bar chart.
 
What are the other metrics you use in that chart? Share a sample dataset to better answer your question.
 
It this helps, mark it as a solution.
Kudos are good too.

 

 

Connect on LinkedIn

I figured out my problem.  On one of the measures if there were no costs (to calc profit) it said If blank, then 0, or "value" .... the 0 was making a placeholder in the date axis.  so I changed that to if blank then blank otherwise the value!  

 

Sorry for confusion.  The zero value was adding the other months!

How do I just share a sample of the data?  I have measures that might be affecting this probably?

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