This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello Experts,
I have a table SalesFact and I need to join 2 Dates, i,e, ShipDate and OrderDate.
What is the better approach to handle this? And why is the approach is better?
1. Duplicate the Date Dimension in power Query Editor for OrderDate..
2. Create reference of Date Dimension in Power Query Editor for OrderDate.
3. In the modeling Tab, Use the "New table" option like below
NewTable = DimOrderDate
Thanks,
Anilesh
Hi @anileshknpowerb ,
In conclusion, Duplicate is generally used when you would like to create a similar query and you do not want to type the same code. Reference in Query means you would like to use that Query results in some other queries where your original query remains as a base Query and it can be used in other queries for the further processing.
In addition, this viedo and article explain the difference between Duplicate and Reference in details that you can refer:
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
use the same date dimension for both dates but one will be inactive and other active, and then you need to use the userelationship() function
https://www.youtube.com/watch?v=sONvctPlplY this video explains well
so just as you would use a role playing dimension in tradition kimball star schema (dont know if that makes sense), you can do the same in power bi, you just need to utilise the above function.
Proud to be a Super User!
I want to show OderDate and ShipDate as separate dates so that users can do adhoc analysis on both dates. In that case, which one I should go with?
Hi @anileshknpowerb ,
If you just want to show it as separate dates, you can use Duplicate to try. To do some analysis, you may use some relationships like @ vanessafvg mentioned previously.
Best Regards,
Yingjie Li
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 23 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 53 | |
| 46 | |
| 19 | |
| 19 | |
| 18 |