Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
My Fact1 and Fact2 have datetime column, I need to join fact2 datetime with fact1 datetime.
fact1=01/01/2020 12:14 need to join with fact 2= 01/01/2020 12:12 and 01/01/2020 12:15
that means +3 or -3 mins from fact 2
Solved! Go to Solution.
The best way is two dimension tables One Date and One time.
Others do the cartesian of date and time and create a table join that.
time table
https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/
The best way is two dimension tables One Date and One time.
Others do the cartesian of date and time and create a table join that.
time table
https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/
Use a joint Dimension table instead.
I've never seen a model yet, where joining fact-tables that way made sense.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
User | Count |
---|---|
125 | |
106 | |
99 | |
63 | |
60 |
User | Count |
---|---|
135 | |
116 | |
101 | |
71 | |
61 |