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
DataSundowner
Helper II
Helper II

Filter Issue

Hello everyone. I'm wondering why the "MonthsAgo" filter wouldn't work in this model? If I change it to >0 and <=3, it works. If I change it to =3, it works. If I replace the filter and apply a filter on date, it works. Only when I set it to >=0 and <=3, it doesn't work. Looks like it's treating null value as 0? Thank you in advance. 

 

DataSundowner_0-1662062558808.png

 

DataSundowner_1-1662062602296.png

 

DataSundowner_2-1662062650798.png

 

DataSundowner_3-1662062699924.png

 

1 REPLY 1
AlexisOlson
Super User
Super User

I think the main problem here is that your date dimension table, Dim, doesn't contain all of the dates in your Fact table (specifically Jan 1, 2019). This makes for an invalid relationship where you've lost referential integrity and you'll run into all sorts of issues.

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.