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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
JrBIAnalyst
Frequent Visitor

Best practice for models using "between" relationships

What is the best practice for compensating for Power BI's lack of a "between" style relationship?

 

I'm working with tables in source systems that are intended to be joined based on a value in the fact table falling between two values in the dimension table. As designed, these tables are supposed be related by "Fact_Table JOIN Dimension_Table on Fact_Table.Date between Dimension_Table.Valid_From and Dimension_Table.Valid_To

 

Other than joining these to create one table in Power Query, what is the best practice for creating a relationship like this in the data model? 

2 REPLIES 2
pratyashasamal
Memorable Member
Memorable Member

Hi  ,
You can read these links :-
https://blog.enterprisedna.co/data-modelling-in-power-bi-tips-best-practices/

https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-relationships-understand

https://www.powerbitutorial.org/tutorials/how-to-implement-date-tables/

Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thanks, @pratyashasamal. Unfortunately those don't really cover my question. They do a great job covering best practices of data modelling within the kind of relationships that Power BI was designed to accomodate. Unfortunately, Power BI wasn't designed to accomodate these range-based relationships, so this exiosting documentation doesn't address how to immitate that behavior.

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.