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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

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