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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.