Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I want Date Field to be the relationship between tables
i dont have a primary key or unique field
how can i do that?
Solved! Go to Solution.
Hi gautik92,
According to your description, you want to create a relationship from two table with have the delicate data, right?
If as I said, you can follow below methods:
a. Use a temp table to link above tables’ column which has the dispute date.
SalesRecords:
StockIn:
Customer:
‘SalesRecords’ and ‘stockIn’ contain ‘customer’, use customer to link two table.
b. Search for a field which contain in two tables and has the unique data, use it to create the relationship.
‘SalesRecords’ and ‘stockIn’ contain ‘Date’ and it has unique data, use date to create relationship.
c. Use LookupValue function to get the value currently.
Lookupvalue(SalesRecords[Amount],SalesRecords[CustomerID],Values(StockIn[CustomerID]))
Reference:
Regards,
Xiaoxin Sheng
@gautik92 You can simply create relationship between date fields from two tables provided field that you're creating relationship FROM doesn't have any duplicates.
Having Duplicate date fields
Hi gautik92,
According to your description, you want to create a relationship from two table with have the delicate data, right?
If as I said, you can follow below methods:
a. Use a temp table to link above tables’ column which has the dispute date.
SalesRecords:
StockIn:
Customer:
‘SalesRecords’ and ‘stockIn’ contain ‘customer’, use customer to link two table.
b. Search for a field which contain in two tables and has the unique data, use it to create the relationship.
‘SalesRecords’ and ‘stockIn’ contain ‘Date’ and it has unique data, use date to create relationship.
c. Use LookupValue function to get the value currently.
Lookupvalue(SalesRecords[Amount],SalesRecords[CustomerID],Values(StockIn[CustomerID]))
Reference:
Regards,
Xiaoxin Sheng
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |