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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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