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
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
Super User
Super User

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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