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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Year - Month Name Slicer Not filtering 1 Table

Hi guys,

 

I just brought in a crm_customers table to my report and joined it to 3 tables: users, date dimension, space mapping. The only table that does not seem to have joined properly is the date dimension. 

 

crm_customers.date -> date dimension.date.

 

For some reason, my month_year_name slicer is not filtering the data. The month_year_name column (categorized as a text) is sorted by [year & month number] (categorized as a whole number). For example: 2019-February provides me with 0 results. However, when unselected, I see the sum value. My custom time intelligence functions do not work. Hopefully someone can help, thanks in advance.

 

Measures: 

 

TDY: 

 

TDY Signup = CALCULATE([Nbr SignUps Retail], 'Date Dimension'[Date] = TODAY() -1) + 0
 
MTD; 
 
MTD Signups =
IF (
HASONEVALUE ( 'Date Dimension'[Year] )
&& HASONEVALUE ('Date Dimension'[Month No] ),
CALCULATE (
[Nbr SignUps Retail],
FILTER (
ALL ( 'Date Dimension' ),
'Date Dimension'[Year] = VALUES ( 'Date Dimension'[Year] )
&& 'Date Dimension'[Month No] = VALUES ( 'Date Dimension'[Month No] )
&& 'Date Dimension'[Date] < TODAY()
)
),
BLANK ()
) + 0
 
YTD:
 
YTD Signups =
IF (
HASONEVALUE ( 'Date Dimension'[Year] ),
CALCULATE (
[Nbr SignUps Retail],
FILTER (
ALL( 'Date Dimension'),
'Date Dimension'[Year] = VALUES ( 'Date Dimension'[Year] )
&& 'Date Dimension'[Date] < TODAY()
)
),
BLANK ()
)
 

 

PIc1.JPG

 

Pic2.JPG

 

Pic3.JPG

 

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

 

Please provide some dummy data and show desired result with examples.

How to Get Your Question Answered Quickly

 

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.

View solution in original post

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous ,

 

Please provide some dummy data and show desired result with examples.

How to Get Your Question Answered Quickly

 

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.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.