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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors