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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.