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

October 28 & 29: Experts share their secrets on how to pass the Fabric Analytics Engineer certification exam—live. Learn more

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

October NL Carousel

Fabric Community Update - October 2024

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