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
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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