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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
msprog
Advocate II
Advocate II

PowerBI Model Filtering: Less Than or Equal TO Condition

Hello,
I have 2 tables : DimDate and ServiceProviders.

DimDate is the date table and CalendarDate field is the date.

ServiceProviders table stores the enrolled providers and stores among other things, ProviderID, Name and Enrolled Date.
In the model, CalendarDate has a 1 to Many relationship to EnrolledDate.

 

Now in PowerBI report, I have a date filter and a Table.

The table shows ProvideID, ProviderName and other attributes from the ServiceProviders table.

Now the requirement for PowerBI report is , when i select a date range filter, I want to show all the providers whose enrolleddate falls in the date range or earlier. Basically, we want to show all the Providers who were active in the selected date. For e.g. i might select the month of February in the date range, then the table should show all the Providers enrolled on or before the last date of Feb. Remember, PRoviders were enrolled in Jan as well who are active currently,

 

I understand the one-to -many relationship in the model is a equal one. i.e where EnrolledDate=CalendarDateDate

What i really need here is the relationship to be lessthan or equal to. i.e. EnrolledDate<=CalendarDate.

Please how to achieve this in PowerBI, (Model configuration, measures etc??

Thanks

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @msprog ,

 

You can refer to this post, which will help you solve the problem.

 

Best Regards,

Liang 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @msprog ,

 

You can refer to this post, which will help you solve the problem.

 

Best Regards,

Liang 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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